;;
*2.96*)
AC_MSG_RESULT(C++ compiler is gcc-2.96)
- dnl gcc 2.96 is so broken that there is no way to support it.
- dnl thus, kick out user and ask him to up- or downgrade to
- dnl some other gcc version
- AC_MSG_RESULT( )
- AC_MSG_RESULT(--------------------------------------------------------)
- AC_MSG_RESULT(gcc 2.96 is not supported. Please read the deal.II FAQs.)
- AC_MSG_RESULT(--------------------------------------------------------)
- AC_MSG_RESULT( )
- exit 1
+ GXX_VERSION=gcc2.96
;;
*2.97*)
AC_MSG_RESULT(C++ compiler is gcc-2.97)
G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
case "$G77_VERSION_STRING" in
*"egcs-1.1"*)
- AC_MSG_RESULT(F77 compiler is egcs-1.1)
- F77_VERSION=egcs1.1
- ;;
+ AC_MSG_RESULT(F77 compiler is egcs-1.1)
+ F77_VERSION=egcs1.1
+ ;;
*2.95*)
- AC_MSG_RESULT(F77 compiler is gcc-2.95)
+ AC_MSG_RESULT(F77 compiler is gcc-2.95)
F77_VERSION=gcc2.95
;;
*2.96*)
CXXFLAGSG="$CXXFLAGSG -D_REENTRANT"
CXXFLAGSO="$CXXFLAGSO -D_REENTRANT"
- if test "$GXX_VERSION" = "gcc2.95" -o "$GXX_VERSION" = "gcc3.0" ; then
+ if test "$GXX_VERSION" = "gcc2.95" \
+ -o "$GXX_VERSION" = "gcc2.96" \
+ -o "$GXX_VERSION" = "gcc3.0" ; then
CXXFLAGSG="$CXXFLAGSG -D__USE_MALLOC"
CXXFLAGSO="$CXXFLAGSO -D__USE_MALLOC"
fi