diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-04-13 12:30:07 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-04-13 12:30:07 +0000 |
commit | 5ab5a1da24bf3141ce55667fe8df9e4815da9557 (patch) | |
tree | 40ab4b110e68a0186e923b9495560dbc507a5ed4 | |
parent | 3022506594ce2e1abbc3033fcceb90d1d551c253 (diff) |
Fix for Cactus/605
Pick up right libraries for f77 when no F90 compiler used
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2110 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | lib/make/known-architectures/linux | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 55f74bb6..5a102c47 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -16,9 +16,9 @@ if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then else # Determine which Fortran 90 compiler is in use - LINUX_F90_COMP= + LINUX_F90_COMP=none - if test -n "$F90" ; then + if test -n "$F90" && test "$F90" != "none" ; then if test "`$F90 -V 2>&1 | grep -i f90 | grep -i vast`" ; then LINUX_F90_COMP=pacific elif test "`$F90 -V 2>&1 | grep -i f90 | grep -i absoft`" ; then @@ -37,8 +37,6 @@ else LINUX_F90_COMP=SGI elif test "`$F90 -V 2>&1 | grep -i intel`" ; then LINUX_F90_COMP=Intel - elif test "$F90" = "none" ; then - LINUX_F90_COMP=none else echo Unknown Linux f90 compiler. echo Please add appropriate information to @@ -60,8 +58,6 @@ else echo ad send the updated file to CactusMaint echo We will try anyway ... fi - else - LINUX_F90_COMP=none fi # find out if we have egcs or not, LIBS is either g2c or f2c |