Committed patch from bug #2062926 "GCC 4.x versions not detected by configure script".

svn-id: r34074
This commit is contained in:
Johannes Schickel 2008-08-20 21:28:59 +00:00
parent 61cd4b21b3
commit 3717d6b943

2
configure vendored
View File

@ -904,7 +904,7 @@ if test "$?" -gt 0; then
fi
case $cxx_version in
2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9].[0-9][-.]*|4.[0-9].[0-9]|4.[0-9].[0-9][-.]*)
2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9].[0-9][-.]*|4.[0-9]|4.[0-9].[0-9]|4.[0-9].[0-9][-.]*)
_cxx_major=`echo $cxx_version | cut -d '.' -f 1`
_cxx_minor=`echo $cxx_version | cut -d '.' -f 2`
cxx_version="$cxx_version, ok"