From d67a483179b5c1efa1ae258ffbd8e2f272e92107 Mon Sep 17 00:00:00 2001 From: allen Date: Mon, 26 Jul 1999 12:28:06 +0000 Subject: 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 --- lib/make/known-architectures/linux | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3