From: wolf Date: Tue, 21 Jun 2005 18:30:33 +0000 (+0000) Subject: Detect gcc4.1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eedd0c03865c913502e2dfc83b02d0e731c67b4;p=dealii-svn.git Detect gcc4.1 git-svn-id: https://svn.dealii.org/trunk@10908 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 439eadf38e..cd1d54cf40 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -122,6 +122,14 @@ AC_DEFUN(DEAL_II_DETERMINE_CXX_BRAND, dnl *) GXX_VERSION_DETAILED=gcc4.0.x ;; esac ;; + *version\ 4.1*) + GXX_VERSION=gcc4.1 + case "$GXX_VERSION_STRING" in + *version\ 4.1.0*) GXX_VERSION_DETAILED=gcc4.1.0 ;; + *version\ 4.1.1*) GXX_VERSION_DETAILED=gcc4.1.1 ;; + *) GXX_VERSION_DETAILED=gcc4.1.x ;; + esac + ;; *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 diff --git a/deal.II/configure b/deal.II/configure index b0931bbc6b..54918f94c6 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.203 . +# From configure.in Revision: 1.204 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -2925,6 +2925,14 @@ echo "${ECHO_T}C++ compiler is gcc-2.97" >&6 *) GXX_VERSION_DETAILED=gcc4.0.x ;; esac ;; + *version\ 4.1*) + GXX_VERSION=gcc4.1 + case "$GXX_VERSION_STRING" in + *version\ 4.1.0*) GXX_VERSION_DETAILED=gcc4.1.0 ;; + *version\ 4.1.1*) GXX_VERSION_DETAILED=gcc4.1.1 ;; + *) GXX_VERSION_DETAILED=gcc4.1.x ;; + esac + ;; *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