From 7f1559c644a8a44391cf10c7700a1ece4106a7f7 Mon Sep 17 00:00:00 2001 From: balrog Date: Sat, 17 Nov 2007 10:24:32 +0000 Subject: 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 --- configure | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3-55-g7522