configure: print error when user selects invalid advanced options.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2010-07-31 14:52:56 +00:00
parent 76f4c02dc5
commit 1aaaa9e757

9
tools/configure vendored
View file

@ -491,12 +491,11 @@ whichadvanced () {
echo "Enabling Windows 32 cross-compiling"
win32crosscompile="yes"
;;
"") # Match enter press when finished with advanced options
cont=0
;;
*)
if [ "$interact" ]; then
cont=0
else
echo "[ERROR] Option $option unsupported"
fi
echo "[ERROR] Option $option unsupported"
;;
esac
if [ "$interact" ]; then