Allow GCC 2.95 again as compilation is now fixed.
svn-id: r20289
This commit is contained in:
parent
38ae101bde
commit
594d7d591d
1 changed files with 8 additions and 9 deletions
17
configure
vendored
17
configure
vendored
|
@ -557,20 +557,19 @@ 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][-.]*)
|
||||
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][-.]*)
|
||||
_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
|
||||
|
@ -589,7 +588,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 >= 3.x"
|
||||
echo "Please ensure you are using GCC >= 2.95"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue