Show usage and abort if an unknown option is passed to configure (Carlo Marcelo Arena...
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 Nov 2007 10:24:32 +0000 (10:24 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 17 Nov 2007 10:24:32 +0000 (10:24 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3666 c046a42c-6fe2-441c-8c8c-71466251a162

configure

index 7a74c60..205eee8 100755 (executable)
--- 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