From: bangerth Date: Thu, 25 Jan 2007 20:45:47 +0000 (+0000) Subject: Detect gcc 4.3. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f46e2102676d27cf7e7def55d64ec083cf615b3;p=dealii-svn.git Detect gcc 4.3. git-svn-id: https://svn.dealii.org/trunk@14370 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index e1cf03edb0..b38ec2f0b6 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -151,9 +151,19 @@ AC_DEFUN(DEAL_II_DETERMINE_CXX_BRAND, dnl 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 ;; + *version\ 4.2.2*) GXX_VERSION_DETAILED=gcc4.2.2 ;; *) GXX_VERSION_DETAILED=gcc4.2.x ;; esac ;; + *version\ 4.3*) + GXX_VERSION=gcc4.3 + case "$GXX_VERSION_STRING" in + *version\ 4.3.0*) GXX_VERSION_DETAILED=gcc4.3.0 ;; + *version\ 4.3.1*) GXX_VERSION_DETAILED=gcc4.3.1 ;; + *version\ 4.3.2*) GXX_VERSION_DETAILED=gcc4.3.2 ;; + *) GXX_VERSION_DETAILED=gcc4.3.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 @@ -942,6 +952,10 @@ AC_DEFUN(DEAL_II_DETERMINE_CC_BRAND, dnl AC_MSG_RESULT(C compiler is gcc-4.2) CC_VERSION=gcc4.2 ;; + *version\ 4.3*) + AC_MSG_RESULT(C compiler is gcc-4.3) + CC_VERSION=gcc4.3 + ;; *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) diff --git a/deal.II/configure b/deal.II/configure index 3deebc86f9..ae9c4470d2 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -3018,9 +3018,19 @@ echo "${ECHO_T}C++ compiler is gcc-2.97" >&6 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 ;; + *version\ 4.2.2*) GXX_VERSION_DETAILED=gcc4.2.2 ;; *) GXX_VERSION_DETAILED=gcc4.2.x ;; esac ;; + *version\ 4.3*) + GXX_VERSION=gcc4.3 + case "$GXX_VERSION_STRING" in + *version\ 4.3.0*) GXX_VERSION_DETAILED=gcc4.3.0 ;; + *version\ 4.3.1*) GXX_VERSION_DETAILED=gcc4.3.1 ;; + *version\ 4.3.2*) GXX_VERSION_DETAILED=gcc4.3.2 ;; + *) GXX_VERSION_DETAILED=gcc4.3.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 @@ -3917,6 +3927,11 @@ echo "${ECHO_T}C compiler is gcc-4.1" >&6 echo "${ECHO_T}C compiler is gcc-4.2" >&6 CC_VERSION=gcc4.2 ;; + *version\ 4.3*) + echo "$as_me:$LINENO: result: C compiler is gcc-4.3" >&5 +echo "${ECHO_T}C compiler is gcc-4.3" >&6 + CC_VERSION=gcc4.3 + ;; *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