From: bangerth Date: Fri, 24 Aug 2007 16:30:45 +0000 (+0000) Subject: Detect gcc4.2 as f77 compiler. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2753e0a4bef1fc0ef616df4b3d02d7744b042ea0;p=dealii-svn.git Detect gcc4.2 as f77 compiler. git-svn-id: https://svn.dealii.org/trunk@15039 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 14e785e893..d89b7094ef 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -1385,6 +1385,14 @@ AC_DEFUN(DEAL_II_DETERMINE_F77_BRAND, dnl AC_MSG_RESULT(F77 compiler is gcc-4.1) F77_VERSION=gcc4.1 ;; + *4.2*) + AC_MSG_RESULT(F77 compiler is gcc-4.2) + F77_VERSION=gcc4.2 + ;; + *4.3*) + AC_MSG_RESULT(F77 compiler is gcc-4.3) + F77_VERSION=gcc4.3 + ;; *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 diff --git a/deal.II/configure b/deal.II/configure index 1444572aea..926b893fb2 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -10232,6 +10232,16 @@ echo "${ECHO_T}F77 compiler is gcc-4.0" >&6 echo "${ECHO_T}F77 compiler is gcc-4.1" >&6 F77_VERSION=gcc4.1 ;; + *4.2*) + echo "$as_me:$LINENO: result: F77 compiler is gcc-4.2" >&5 +echo "${ECHO_T}F77 compiler is gcc-4.2" >&6 + F77_VERSION=gcc4.2 + ;; + *4.3*) + echo "$as_me:$LINENO: result: F77 compiler is gcc-4.3" >&5 +echo "${ECHO_T}F77 compiler is gcc-4.3" >&6 + F77_VERSION=gcc4.3 + ;; *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