Remove unsupported, host-related options from configure shell script

This amends commit d9a9eca54d.

Pick-to: 6.2
Change-Id: I762090ac9c7ea15a176efe4eb6d39d5c4b653726
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
Kai Köhne 2021-08-03 14:56:35 +02:00 committed by Joerg Bornemann
parent 74d0b1b1b9
commit 00b7679d7a

17
configure vendored
View File

@ -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"