From: wolf Date: Thu, 20 Feb 2003 16:16:05 +0000 (+0000) Subject: Newer g77 don't write "GNU F77" any more. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd3ead417f1097660bd383dfc1ecce2c3d4d5b34;p=dealii-svn.git Newer g77 don't write "GNU F77" any more. git-svn-id: https://svn.dealii.org/trunk@7204 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index b8997ce327..42d5b20948 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -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 diff --git a/deal.II/configure b/deal.II/configure index 7887e57711..562f25134e 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -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"*)