From: wolf Date: Tue, 7 Jan 2003 00:28:36 +0000 (+0000) Subject: Detec gcc3.4 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d27cc803df8127b76b533aeac259b4b392496434;p=dealii-svn.git Detec gcc3.4 git-svn-id: https://svn.dealii.org/trunk@6878 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 1b0c51ac68..1d71d3387e 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -9,7 +9,7 @@ dnl In doc/Makefile some information on the kind of documentation dnl is stored. dnl dnl -dnl Copyright (C) 2000, 2001, 2002 by the deal.II authors +dnl Copyright (C) 2000, 2001, 2002, 2003 by the deal.II authors dnl dnl $Id$ @@ -60,6 +60,10 @@ AC_DEFUN(DEAL_II_DETERMINE_CXX_BRAND, dnl AC_MSG_RESULT(C++ compiler is gcc-3.3) GXX_VERSION=gcc3.3 ;; + *3.4*) + AC_MSG_RESULT(C++ compiler is gcc-3.4) + GXX_VERSION=gcc3.4 + ;; *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 @@ -614,6 +618,10 @@ AC_DEFUN(DEAL_II_DETERMINE_F77_BRAND, dnl AC_MSG_RESULT(F77 compiler is gcc-3.3) F77_VERSION=gcc3.3 ;; + *3.4*) + AC_MSG_RESULT(F77 compiler is gcc-3.4) + F77_VERSION=gcc3.4 + ;; *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 @@ -691,7 +699,7 @@ dnl ------------------------------------------------------------- AC_DEFUN(DEAL_II_SET_F77_FLAGS, dnl [ case "$F77_VERSION" in - egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[[0123]]) + egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[[01234]]) F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall" F77FLAGSO="$FFLAGS -O2" diff --git a/deal.II/configure b/deal.II/configure index ff2d69364d..060960b7a6 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.128 . +# From configure.in Revision: 1.130 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.57. # @@ -2712,6 +2712,11 @@ echo "${ECHO_T}C++ compiler is gcc-3.2" >&6 echo "${ECHO_T}C++ compiler is gcc-3.3" >&6 GXX_VERSION=gcc3.3 ;; + *3.4*) + echo "$as_me:$LINENO: result: C++ compiler is gcc-3.4" >&5 +echo "${ECHO_T}C++ compiler is gcc-3.4" >&6 + GXX_VERSION=gcc3.4 + ;; *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 @@ -6260,6 +6265,11 @@ echo "${ECHO_T}F77 compiler is gcc-3.2" >&6 echo "${ECHO_T}F77 compiler is gcc-3.3" >&6 F77_VERSION=gcc3.3 ;; + *3.4*) + echo "$as_me:$LINENO: result: F77 compiler is gcc-3.4" >&5 +echo "${ECHO_T}F77 compiler is gcc-3.4" >&6 + F77_VERSION=gcc3.4 + ;; *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 @@ -6315,7 +6325,7 @@ echo "${ECHO_T}F77 compiler is unkown. no flags set!" >&6 case "$F77_VERSION" in - egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[0123]) + egcs-1.1 | gcc2.95 | gcc2.96 | gcc2.97 | gcc3.[01234]) F77FLAGSG="$FFLAGS -ggdb -DDEBUG -pedantic -W -Wall" F77FLAGSO="$FFLAGS -O2"