diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-26 12:28:06 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-26 12:28:06 +0000 |
commit | d67a483179b5c1efa1ae258ffbd8e2f272e92107 (patch) | |
tree | 751832bd1f7f2245eceb4b23af0cade28edee5f0 /lib | |
parent | e4005c458b71b00285c4d15f5557cc82787be810 (diff) |
Added a test for F90 being g77 (!).
Also, it doesn't exit now if it can't find the fortran compiler.,
just prints the same warning and carries on.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@790 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r-- | lib/make/known-architectures/linux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 1e5d9adc..8d2105eb 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -19,12 +19,14 @@ if test -n "$F90" ; then LINUX_F90_COMP=absoft elif test "`$F90 -V 2>&1 | grep -i f90 | grep -i pgf90`" ; then LINUX_F90_COMP=portland + elif test "`$F90 -v 2>&1 | grep -i g77`" ; then + LINUX_F90_COMP=gnu77 else echo Unknown Linux f90 compiler. echo Please add appropriate information to echo $srcdir/known-architectures/linux-gnu echo and send the updated file to CactusMaint - exit 2 + echo We will try anyway ... fi else LINUX_F90_COMP=none |