AC_MSG_RESULT(C++ compiler is gcc-3.5)
GXX_VERSION=gcc3.5
;;
+ *version\ 4.0*)
+ AC_MSG_RESULT(C++ compiler is gcc-4.0)
+ GXX_VERSION=gcc4.0
+ ;;
*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
AC_MSG_RESULT(C compiler is gcc-3.5)
CC_VERSION=gcc3.5
;;
+ *version\ 4.0*)
+ AC_MSG_RESULT(C compiler is gcc-4.0)
+ CC_VERSION=gcc4.0
+ ;;
*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-3.5)
F77_VERSION=gcc3.5
;;
+ *4.0*)
+ AC_MSG_RESULT(F77 compiler is gcc-4.0)
+ F77_VERSION=gcc4.0
+ ;;
*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]])
+ egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[[012345]] | gcc4.0)
F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
F77FLAGSO="$FFLAGS -O2"
#! /bin/sh
-# From configure.in Revision: 1.176 .
+# From configure.in Revision: 1.177 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
echo "${ECHO_T}C++ compiler is gcc-3.5" >&6
GXX_VERSION=gcc3.5
;;
+ *version\ 4.0*)
+ echo "$as_me:$LINENO: result: C++ compiler is gcc-4.0" >&5
+echo "${ECHO_T}C++ compiler is gcc-4.0" >&6
+ GXX_VERSION=gcc4.0
+ ;;
*2.4* | *2.5* | *2.6* | *2.7* | *2.8*)
echo "$as_me:$LINENO: result: C++ compiler is $GXX_VERSION_STRING" >&5
echo "${ECHO_T}C++ compiler is $GXX_VERSION_STRING" >&6
echo "${ECHO_T}C compiler is gcc-3.5" >&6
CC_VERSION=gcc3.5
;;
+ *version\ 4.0*)
+ echo "$as_me:$LINENO: result: C compiler is gcc-4.0" >&5
+echo "${ECHO_T}C compiler is gcc-4.0" >&6
+ CC_VERSION=gcc4.0
+ ;;
*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-3.5" >&6
F77_VERSION=gcc3.5
;;
+ *4.0*)
+ echo "$as_me:$LINENO: result: F77 compiler is gcc-4.0" >&5
+echo "${ECHO_T}F77 compiler is gcc-4.0" >&6
+ F77_VERSION=gcc4.0
+ ;;
*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])
+ egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[012345] | gcc4.0)
F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall"
F77FLAGSO="$FFLAGS -O2"