Allow GCC 2.95 again as compilation is now fixed.

svn-id: r20289
This commit is contained in:
Jonathan Gray 2006-01-29 03:47:46 +00:00
parent 38ae101bde
commit 594d7d591d

17
configure vendored
View file

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