From 00b7679d7a4f1d4c173ad9ad68875c22ebe76d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Tue, 3 Aug 2021 14:56:35 +0200 Subject: [PATCH] Remove unsupported, host-related options from configure shell script This amends commit d9a9eca54d. Pick-to: 6.2 Change-Id: I762090ac9c7ea15a176efe4eb6d39d5c4b653726 Reviewed-by: Kai Koehne --- configure | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/configure b/configure index a0c07ded489..d4b391b243e 100755 --- a/configure +++ b/configure @@ -159,8 +159,6 @@ while [ "$#" -gt 0 ]; do -examplesdir| \ -testsdir| \ -hostdatadir| \ - -hostbindir| \ - -hostlibdir| \ -extprefix| \ -sysroot| \ -make| \ @@ -174,7 +172,6 @@ while [ "$#" -gt 0 ]; do -android-sdk| \ -android-ndk| \ -android-ndk-platform| \ - -android-ndk-host| \ -android-arch) VAR=`echo $1 | sed 's,^-\(.*\),\1,'` shift @@ -190,17 +187,6 @@ while [ "$#" -gt 0 ]; do VAR=`echo $1 | sed 's,^-[^-]*-\(.*\),\1,'` VAL=`echo $1 | sed 's,^-\([^-]*\)-.*,\1,'` ;; - #Options that cannot be generalized - -hostprefix) - VAR=`echo $1 | sed 's,^-\(.*\),\1,'` - # this option may or may not be followed by an argument - if [ -z "$2" ] || echo "$2" | grep '^-' >/dev/null 2>&1; then - VAL=$outpath - else - shift; - VAL=$1 - fi - ;; #General options, including Qt style yes options -*) VAR=`echo $1 | sed 's,^-\(.*\),\1,'` @@ -217,9 +203,6 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=no case "$VAR" in - external-hostbindir) - CFG_HOST_QT_TOOLS_PATH="$VAL" - ;; h|help) if [ "$VAL" = "yes" ]; then OPT_HELP="$VAL"