summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure b/configure
index d1e9bd5dd2..795d62eeaa 100755
--- a/configure
+++ b/configure
@@ -126,7 +126,7 @@ shellArgumentListToQMakeList()
# Helper function for getQMakeConf. It parses include statements in
# qmake.conf and prints out the expanded file
-getQMakeConf1()
+expandQMakeConf()
{
while read line; do case "$line" in
include*)
@@ -137,7 +137,7 @@ getQMakeConf1()
echo "WARNING: Unable to find file $conf_file" >&2
continue
fi
- getQMakeConf1 "$conf_file"
+ expandQMakeConf "$conf_file"
;;
*load\(device_config\)*)
conf_file="$DEVICE_VARS_FILE"
@@ -145,7 +145,7 @@ getQMakeConf1()
echo "WARNING: Unable to find file $conf_file" >&2
continue
fi
- getQMakeConf1 "$conf_file"
+ expandQMakeConf "$conf_file"
;;
*)
echo "$line"
@@ -153,7 +153,7 @@ getQMakeConf1()
esac; done < "$1"
}
-getQMakeConf2()
+extractQMakeVariables()
{
$AWK '
BEGIN {
@@ -215,7 +215,7 @@ END {
'
}
-getQMakeConf3()
+getSingleQMakeVariable()
{
echo "$2" | $AWK "/^($1)=/ { print substr(\$0, index(\$0, \"=\") + 1) }"
}
@@ -225,17 +225,17 @@ getQMakeConf3()
getQMakeConf()
{
if [ -z "$specvals" ]; then
- specvals=`getQMakeConf1 "$QMAKESPEC/qmake.conf" | getQMakeConf2`
+ specvals=`expandQMakeConf "$QMAKESPEC/qmake.conf" | extractQMakeVariables`
fi
- getQMakeConf3 "$1" "$specvals"
+ getSingleQMakeVariable "$1" "$specvals"
}
getXQMakeConf()
{
if [ -z "$xspecvals" ]; then
- xspecvals=`getQMakeConf1 "$XQMAKESPEC/qmake.conf" | getQMakeConf2`
+ xspecvals=`expandQMakeConf "$XQMAKESPEC/qmake.conf" | extractQMakeVariables`
fi
- getQMakeConf3 "$1" "$xspecvals"
+ getSingleQMakeVariable "$1" "$xspecvals"
}
compilerSupportsFlag()
@@ -4175,7 +4175,7 @@ if [ "${CFG_AVX}" = "auto" ]; then
*g++*|*-clang*)
# Some clang versions produce internal compiler errors compiling Qt AVX code
case `$TEST_COMPILER --version` in
- Apple\ clang\ version\ 2*|Apple\ clang\ version\ 3.0*)
+ Apple\ clang\ version\ [23]*)
CFG_AVX=no
if [ "$OPT_VERBOSE" = "yes" ]; then
echo 'AVX support disabled for blacklisted clang compiler'