projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6df603
)
configure: fix gcc version check
author
Marcin Baczyński
<marbacz@gmail.com>
Wed, 13 Jul 2011 19:26:50 +0000
(21:26 +0200)
committer
Brian Paul
<brianp@vmware.com>
Thu, 14 Jul 2011 15:54:51 +0000
(09:54 -0600)
NOTE: This is a candidate for the 7.11 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
74144ca
..
949faa4
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-85,7
+85,7
@@
if test "x$GCC" = xyes -a "x$CLANG" = xno; then
GCC_VERSION=`$CC -dumpversion`
if test $? -eq 0; then
major=`echo $GCC_VERSION | cut -d. -f1`
- minor=`echo $GCC_VERSION | cut -d. -f
1
`
+ minor=`echo $GCC_VERSION | cut -d. -f
2
`
fi
if test $major -lt 3 -o $major -eq 3 -a $minor -lt 3 ; then