Compilation has been busted on GCC 2.xx for some time. Don't

pretend to support it in configure.

svn-id: r20264
This commit is contained in:
Jonathan Gray 2006-01-28 07:31:53 +00:00
parent 3730bc19eb
commit 56ce100b4f

17
configure vendored
View file

@ -557,19 +557,20 @@ 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].[0-9]|4.[0-9].[0-9][-.]*)
3.[0-9]|3.[0-9].[0-9]|3.[0-9].[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"
cxx_verc_fail=no
;;
# whacky beos version strings
2.9-beos-991026*|2.9-beos-000224*)
_cxx_major=2
_cxx_minor=95
cxx_version="$cxx_version, ok"
cxx_verc_fail=no
;;
# 2.9-beos-991026*|2.9-beos-000224*)
# _cxx_major=2
# _cxx_minor=95
# cxx_version="$cxx_version, ok"
# cxx_verc_fail=no
# ;;
3_4)
_cxx_major=3
_mxx_minor=4
@ -588,7 +589,7 @@ echo "$cxx_version"
if test "$cxx_verc_fail" = yes ; then
echo
echo "The version of your compiler is not supported at this time"
echo "Please ensure you are using GCC 2.95.x or GCC 3.x"
echo "Please ensure you are using GCC >= 3.x"
exit 1
fi