Skip to content

Commit

Permalink
Remove unsupported, host-related options from configure shell script
Browse files Browse the repository at this point in the history
This amends commit d9a9eca.

Pick-to: 6.2
Change-Id: I762090ac9c7ea15a176efe4eb6d39d5c4b653726
Reviewed-by: Kai Koehne <[email protected]>
  • Loading branch information
kkoehne authored and jobor committed Aug 5, 2021
1 parent 74d0b1b commit 00b7679
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ while [ "$#" -gt 0 ]; do
-examplesdir| \
-testsdir| \
-hostdatadir| \
-hostbindir| \
-hostlibdir| \
-extprefix| \
-sysroot| \
-make| \
Expand All @@ -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
Expand All @@ -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,'`
Expand All @@ -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"
Expand Down

0 comments on commit 00b7679

Please sign in to comment.