From: balrog Date: Sat, 17 Nov 2007 10:24:32 +0000 (+0000) Subject: Show usage and abort if an unknown option is passed to configure (Carlo Marcelo Arena... X-Git-Tag: qemu-xen-4.2.0~10736 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7f1559c644a8a44391cf10c7700a1ece4106a7f7;p=qemu-xen.git 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 --- 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