fix QT_GCC_*_VERSION definition after exception option removal
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Mon, 21 May 2012 12:17:43 +0000 (14:17 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 25 May 2012 12:52:36 +0000 (14:52 +0200)
sometimes it pays off to actually check where variables are used ...

Change-Id: Ia91c89cb963ace50f432c54ffe5f57366ccd5603
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
configure

index f8f5929..7f9ea8a 100755 (executable)
--- a/configure
+++ b/configure
@@ -5431,8 +5431,8 @@ if [ "$CFG_QML_DEBUG" = "no" ]; then
     QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QML_NO_DEBUGGER"
 fi
 
-case "$COMPILER" in
-g++*)
+case "$QMAKE_CONF_COMPILER" in
+*g++*)
     # GNU C++
     COMPILER_VERSION=`${QMAKE_CONF_COMPILER} -dumpversion 2>/dev/null`