summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index 821cc5cd69..d0b0ed8ae2 100755
--- a/configure
+++ b/configure
@@ -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