]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Newer g77 don't write "GNU F77" any more.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Feb 2003 16:16:05 +0000 (16:16 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 20 Feb 2003 16:16:05 +0000 (16:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@7204 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b8997ce3277946d35df4ad41b269c9f1515957c8..42d5b209485ba2834e7fe6be3a9477a59605c89c 100644 (file)
@@ -632,7 +632,8 @@ AC_DEFUN(DEAL_II_DETERMINE_F77_BRAND, dnl
 [
   if test "x$F77" != "x" ; then
     F77_VERSION_STRING="`($F77 -v 2>&1)`"
-    if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" ; then
+    if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" -o \
+           -n "`echo $F77_VERSION_STRING | grep \"gcc version\"`" ; then
       dnl Yes, this is a GNU g77 version. find out the right version
       G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
       case "$G77_VERSION_STRING" in
index 7887e5771163429ac45b53bd19dd1397d6456407..562f25134eff43f9ad0520c84e1af7d73aed9c99 100755 (executable)
@@ -6490,7 +6490,8 @@ if test "x$F77" != "x" ; then
 
   if test "x$F77" != "x" ; then
     F77_VERSION_STRING="`($F77 -v 2>&1)`"
-    if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" ; then
+    if test -n "`echo $F77_VERSION_STRING | grep \"GNU F77\"`" -o \
+           -n "`echo $F77_VERSION_STRING | grep \"gcc version\"`" ; then
             G77_VERSION_STRING="`($F77 -v 2>&1) | grep \"gcc version\"`"
       case "$G77_VERSION_STRING" in
         *"egcs-1.1"*)

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.