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:
parent
74d0b1b1b9
commit
00b7679d7a
17
configure
vendored
17
configure
vendored
@ -159,8 +159,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
-examplesdir| \
|
-examplesdir| \
|
||||||
-testsdir| \
|
-testsdir| \
|
||||||
-hostdatadir| \
|
-hostdatadir| \
|
||||||
-hostbindir| \
|
|
||||||
-hostlibdir| \
|
|
||||||
-extprefix| \
|
-extprefix| \
|
||||||
-sysroot| \
|
-sysroot| \
|
||||||
-make| \
|
-make| \
|
||||||
@ -174,7 +172,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
-android-sdk| \
|
-android-sdk| \
|
||||||
-android-ndk| \
|
-android-ndk| \
|
||||||
-android-ndk-platform| \
|
-android-ndk-platform| \
|
||||||
-android-ndk-host| \
|
|
||||||
-android-arch)
|
-android-arch)
|
||||||
VAR=`echo $1 | sed 's,^-\(.*\),\1,'`
|
VAR=`echo $1 | sed 's,^-\(.*\),\1,'`
|
||||||
shift
|
shift
|
||||||
@ -190,17 +187,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
VAR=`echo $1 | sed 's,^-[^-]*-\(.*\),\1,'`
|
VAR=`echo $1 | sed 's,^-[^-]*-\(.*\),\1,'`
|
||||||
VAL=`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
|
#General options, including Qt style yes options
|
||||||
-*)
|
-*)
|
||||||
VAR=`echo $1 | sed 's,^-\(.*\),\1,'`
|
VAR=`echo $1 | sed 's,^-\(.*\),\1,'`
|
||||||
@ -217,9 +203,6 @@ while [ "$#" -gt 0 ]; do
|
|||||||
|
|
||||||
UNKNOWN_OPT=no
|
UNKNOWN_OPT=no
|
||||||
case "$VAR" in
|
case "$VAR" in
|
||||||
external-hostbindir)
|
|
||||||
CFG_HOST_QT_TOOLS_PATH="$VAL"
|
|
||||||
;;
|
|
||||||
h|help)
|
h|help)
|
||||||
if [ "$VAL" = "yes" ]; then
|
if [ "$VAL" = "yes" ]; then
|
||||||
OPT_HELP="$VAL"
|
OPT_HELP="$VAL"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user