aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-17 10:24:32 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-17 10:24:32 +0000
commit7f1559c644a8a44391cf10c7700a1ece4106a7f7 (patch)
tree46783255f64ae64a725c65e99a889f95474d33a6 /configure
parent7221fa98d381a19b8809979934554644381fb88c (diff)
Show usage and abort if an unknown option is passed to configure (Carlo Marcelo Arenas Belon).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3666 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 7a74c60132..205eee8cac 100755
--- a/configure
+++ b/configure
@@ -316,6 +316,8 @@ for opt do
;;
--disable-werror) werror="no"
;;
+ *) echo "ERROR: unknown option $opt"; show_help="yes"
+ ;;
esac
done