From: Wolfgang Bangerth Date: Wed, 23 Nov 2005 16:19:29 +0000 (+0000) Subject: gcc 4.1 has branches. X-Git-Tag: v8.0.0~12853 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a3c759a800a1eb379803e73d2acbab92683b096;p=dealii.git gcc 4.1 has branches. git-svn-id: https://svn.dealii.org/trunk@11782 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 7b54fc441d..89db9f2d95 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -141,6 +141,14 @@ AC_DEFUN(DEAL_II_DETERMINE_CXX_BRAND, dnl *) GXX_VERSION_DETAILED=gcc4.1.x ;; esac ;; + *version\ 4.2*) + GXX_VERSION=gcc4.2 + case "$GXX_VERSION_STRING" in + *version\ 4.2.0*) GXX_VERSION_DETAILED=gcc4.2.0 ;; + *version\ 4.2.1*) GXX_VERSION_DETAILED=gcc4.2.1 ;; + *) GXX_VERSION_DETAILED=gcc4.2.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