AC_MSG_RESULT(C compiler is gcc-4.0)
CC_VERSION=gcc4.0
;;
+ *version\ 4.1*)
+ AC_MSG_RESULT(C compiler is gcc-4.1)
+ CC_VERSION=gcc4.1
+ ;;
*2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
AC_MSG_RESULT(C compiler is $CC_VERSION_STRING)
AC_MSG_ERROR(C compiler is not supported)
AC_MSG_RESULT(F77 compiler is gcc-4.0)
F77_VERSION=gcc4.0
;;
+ *4.1*)
+ AC_MSG_RESULT(F77 compiler is gcc-4.1)
+ F77_VERSION=gcc4.1
+ ;;
*2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
dnl These compilers are too old to support a useful subset
dnl of modern C++, so we don't support them. gcc2.7.2 is
AC_DEFUN(DEAL_II_SET_F77_FLAGS, dnl
[
case "$F77_VERSION" in
- egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[[012345]] | gcc4.0)
+ egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc[34].*)
F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
F77FLAGSO="$FFLAGS -O2"
echo "${ECHO_T}C compiler is gcc-4.0" >&6
CC_VERSION=gcc4.0
;;
+ *version\ 4.1*)
+ echo "$as_me:$LINENO: result: C compiler is gcc-4.1" >&5
+echo "${ECHO_T}C compiler is gcc-4.1" >&6
+ CC_VERSION=gcc4.1
+ ;;
*2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
echo "$as_me:$LINENO: result: C compiler is $CC_VERSION_STRING" >&5
echo "${ECHO_T}C compiler is $CC_VERSION_STRING" >&6
echo "${ECHO_T}F77 compiler is gcc-4.0" >&6
F77_VERSION=gcc4.0
;;
+ *4.1*)
+ echo "$as_me:$LINENO: result: F77 compiler is gcc-4.1" >&5
+echo "${ECHO_T}F77 compiler is gcc-4.1" >&6
+ F77_VERSION=gcc4.1
+ ;;
*2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
echo "$as_me:$LINENO: result: F77 compiler is $G77_VERSION_STRING" >&5
echo "${ECHO_T}F77 compiler is $G77_VERSION_STRING" >&6
case "$F77_VERSION" in
- egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[012345] | gcc4.0)
+ egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc34.*)
F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
F77FLAGSO="$FFLAGS -O2"