]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Detect gcc 4.3.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Jan 2007 20:45:47 +0000 (20:45 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Jan 2007 20:45:47 +0000 (20:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@14370 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index e1cf03edb0f546921bb1219e0f1f0f613cd0d2fa..b38ec2f0b6e1619f40dc9dbde1a2289ac18e573c 100644 (file)
@@ -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)
index 3deebc86f9f25fc5e567eff881934c2a5a922960..ae9c4470d2ecfaf5331a38592c08b7c1379b6f30 100755 (executable)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.