diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2016-03-18 21:56:58 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@theqtcompany.com> | 2016-03-23 15:56:41 +0000 |
commit | 6f03daa597346fdfaa9d19a210928daaa41173d2 (patch) | |
tree | e66e88fab7684754be808108f9eeadd3c0250b84 /configure | |
parent | f212af6c9a61cc1c1de8219ccb7e3ef4f7d6f1aa (diff) |
Remove some dead code
Change-Id: I3414527a0bc8217c083c42695ce2fbddf2112e54
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -2135,18 +2135,9 @@ while [ "$#" -gt 0 ]; do VAL="`echo $VAL |tr a-z A-Z`" eval "CFG_$VAL=$OPT" continue - fi - - if [ "$OPT" = "plugin" ] || [ "$OPT" = "qt" ]; then - if [ "$OPT" = "plugin" ]; then - VAR="${VAR}-${OPT}" - fi - QMakeVar add "${VAR}s" "${VAL}" - elif [ "$OPT" = "no" ]; then - PLUG_VAR="${VAR}-plugin" - IN_VAR="${VAR}" - QMakeVar del "${IN_VAR}s" "$VAL" - QMakeVar del "${PLUG_VAR}s" "$VAL" + else + echo "Internal error resolving command line arguments." + exit 1 fi ;; v|verbose) |