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 7a74c6013262f8f415babfbff9373f98dbaef8e3..205eee8cacfd6962ad04a1351cb71fa840dfe664 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