Commit 7f1559c644a8a44391cf10c7700a1ece4106a7f7

Authored by balrog
1 parent 7221fa98

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
Showing 1 changed file with 2 additions and 0 deletions
configure
... ... @@ -316,6 +316,8 @@ for opt do
316 316 ;;
317 317 --disable-werror) werror="no"
318 318 ;;
  319 + *) echo "ERROR: unknown option $opt"; show_help="yes"
  320 + ;;
319 321 esac
320 322 done
321 323  
... ...