diff options
author | Marcin BaczyĆski <marbacz@gmail.com> | 2011-07-13 21:26:50 +0200 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-07-14 09:54:51 -0600 |
commit | fa013419deec41c2771bf4744e0f8a2bca3346d2 (patch) | |
tree | cedd353fd1f1f21be1083a2396325288014fc18f | |
parent | b6df603e650527d5fa7f0fc1448be1bb57f47fbb (diff) |
configure: fix gcc version check
NOTE: This is a candidate for the 7.11 branch.
Signed-off-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 74144caf2a..949faa4664 100644 --- 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. -f1` + minor=`echo $GCC_VERSION | cut -d. -f2` fi if test $major -lt 3 -o $major -eq 3 -a $minor -lt 3 ; then |