summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-11-28 16:06:18 -0800
committerThiago Macieira <thiago.macieira@intel.com>2014-12-04 00:41:09 +0100
commit9fb4c2c412621b63c06dbbd899f44041b2e126c2 (patch)
tree5c5c3600c574acf1fd2d8c0cbdfc80bacc759c99 /configure
parent5d8baf9056c1264434949e0176cbb2dfd2d78658 (diff)
Configure: Fix detection of GCC 5
$ gcc-5 -dumpversion 5 No dots. Change-Id: I5dd547f257718c981e7be64fca3eec980136ba3e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index c668f29a97..fc2b02942b 100755
--- a/configure
+++ b/configure
@@ -6031,6 +6031,10 @@ s/icpc version \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\) .*$/QT_ICC_MAJOR_VERSION=\1; Q
QT_GCC_MINOR_VERSION=`echo $COMPILER_VERSION | sed 's,^\([0-9]*\)\.\([0-9]*\).*,\2,'`
QT_GCC_PATCH_VERSION=0
;;
+ *)
+ QT_GCC_MAJOR_VERSION=$COMPILER_VERSION
+ QT_GCC_MINOR_VERSION=0
+ QT_GCC_PATCH_VERSION=0
esac
;;