diff options
author | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2010-11-02 14:23:04 (GMT) |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2010-11-02 14:26:30 (GMT) |
commit | a969cc4375186a6875ef450f042dad77f62ee3a8 (patch) | |
tree | 7f932b991e5ebd831b43b5c3e298bd0f09bb2e18 /configure | |
parent | 0956624f7f20665fa4b789654a022a97cdda90c9 (diff) | |
download | Qt-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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |