actually complain about invalid -[no-]{sql|imageformat}-* options

Change-Id: I0530d7dcdeb944db76bc708512c57e537f2c95c8
Reviewed-by: Vladimir Minenko <vminenko@rim.com>
Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Oswald Buddenhagen 2013-11-21 19:35:13 +01:00 committed by The Qt Project
parent 484d6ce776
commit 40290b06d3

9
configure vendored
View File

@ -1927,7 +1927,11 @@ while [ "$#" -gt 0 ]; do
break
fi
done
[ "$found" = yes ] || ERROR=yes
if [ "$found" != "yes" ]; then
echo "$CURRENT_OPT: unknown argument"
ERROR=yes
continue
fi
if [ "$VAR" = "sql" ]; then
# set the CFG_SQL_driver
@ -1951,9 +1955,6 @@ while [ "$#" -gt 0 ]; do
QMakeVar del "${IN_VAR}s" "$VAL"
QMakeVar del "${PLUG_VAR}s" "$VAL"
fi
if [ "$ERROR" = "yes" ]; then
echo "$CURRENT_OPT: unknown argument"
fi
;;
v|verbose)
if [ "$VAL" = "yes" ]; then