summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-11-02 14:23:04 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-11-02 14:26:30 (GMT)
commita969cc4375186a6875ef450f042dad77f62ee3a8 (patch)
tree7f932b991e5ebd831b43b5c3e298bd0f09bb2e18 /configure
parent0956624f7f20665fa4b789654a022a97cdda90c9 (diff)
downloadQt-a969cc4375186a6875ef450f042dad77f62ee3a8.zip
Qt-a969cc4375186a6875ef450f042dad77f62ee3a8.tar.gz
Qt-a969cc4375186a6875ef450f042dad77f62ee3a8.tar.bz2
Don't use scopes in mkspecs as configure does not support them
Configure has very basic parsing of mkspecs where it traverses includes, but assumes that the last seen value is the right one. Since this parsing does not take scopes into account we can't use tricks like isEmpty(). Reviewed-by: ossi
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index da48dba..115df87 100755
--- a/configure
+++ b/configure
@@ -3290,7 +3290,7 @@ else
CFG_FRAMEWORK=no
fi
-QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "\(^\| \)QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1`
+QMAKE_CONF_COMPILER=`getQMakeConf "$XQMAKESPEC" | grep "^QMAKE_CXX[^_A-Z0-9]" | sed "s,.* *= *\(.*\)$,\1," | tail -1`
TEST_COMPILER="$CXX"
[ -z "$TEST_COMPILER" ] && TEST_COMPILER=$QMAKE_CONF_COMPILER