diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2007-11-09 14:38:50 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2007-11-09 14:38:50 +0000 |
commit | 62d285ec6240bc94758997d08fd797445a6c9e8a (patch) | |
tree | 49829053b524c993020257fda35a95c517ae5579 /lib/make/known-architectures | |
parent | c3234ada410b8d56bd239e67127e8ffe07d28450 (diff) |
patch from Jian Tao: fixed auto-detection of gfortran compiler
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4437 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures')
-rw-r--r-- | lib/make/known-architectures/linux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 76f10633..f9c437c8 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -53,7 +53,7 @@ else LINUX_F90_COMP=Compaq elif test "`$F90 -v 2>&1 | grep PathScale`" ; then LINUX_F90_COMP=PathScale - elif test "`$F90 -dumpversion 2>&1 | grep 'GNU Fortran 95'`" ; then + elif test "`$F90 -dumpversion 2>&1 | grep 'GNU Fortran'`" ; then LINUX_F90_COMP=gnu95 elif test "`$F90 -? 2>&1 | grep -i absoft`" ; then LINUX_F90_COMP=absoft77 @@ -78,7 +78,7 @@ else elif test -n "$F77" ; then if test "`$F77 -v 2>&1 | grep -i 'gcc version'`" ; then LINUX_F90_COMP=gnu77 - elif test "`$F77 -dumpversion 2>&1 | grep 'GNU Fortran 95'`" ; then + elif test "`$F77 -dumpversion 2>&1 | grep 'GNU Fortran'`" ; then LINUX_F90_COMP=gnu95 elif test "`$F77 -? 2>&1 | grep -i absoft`" ; then LINUX_F90_COMP=absoft77 |