summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/linux
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-02-18 18:03:32 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2008-02-18 18:03:32 +0000
commit08b52a3e6a214c5c8d76a357a91dc44e24f8b496 (patch)
tree988e3533697c9ef03d4603d4fb91d60bd3bdc631 /lib/make/known-architectures/linux
parent34f6de8501982350718b97475f0b55bf4d9742c7 (diff)
don't try to detect the Fortran77 compiler type if F77 is set to 'none'
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4462 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/linux')
-rw-r--r--lib/make/known-architectures/linux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 605c6e02..c8d60acc 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -67,7 +67,7 @@ else
if test "`/opt/absoft/bin/f95 -V foo.f 2>&1 | grep Absoft`" ; then
LINUX_F90_COMP=absoft
else
- echo 'Unknown Linux f90 compiler.'
+ echo "Unknown Linux f90 compiler '$LINUX_F90_COMP'."
echo 'Please add appropriate information to'
echo " $srcdir/known-architectures/linux"
echo 'and send the updated file to CactusMaint'
@@ -75,7 +75,7 @@ else
fi
rm foo.f
fi
- elif test -n "$F77" ; then
+ elif test -n "$F77" && test "$F77" != 'none' ; 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'`" ; then
@@ -91,7 +91,7 @@ else
elif test "`$F90 -v 2>&1 | grep PathScale`" ; then
LINUX_F90_COMP=PathScale
else
- echo 'Unknown Linux f77 compiler.'
+ echo "Unknown Linux f77 compiler '$F77'."
echo 'Please add appropriate information to'
echo " $srcdir/known-architectures/linux"
echo 'and send the updated file to CactusMaint'
@@ -329,7 +329,7 @@ else
: ${LIBS='m'}
;;
*)
- echo 'Unknown Linux f90 compiler.'
+ echo "Unknown Linux f90 compiler '$LINUX_F90_COMP'."
echo 'Please add appropriate information to'
echo " $srcdir/known-architectures/linux-gnu"
echo 'and send the updated file to CactusMaint'