summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/make/configure11
-rw-r--r--lib/make/configure.in11
2 files changed, 22 insertions, 0 deletions
diff --git a/lib/make/configure b/lib/make/configure
index 8c4600b9..15b982cd 100755
--- a/lib/make/configure
+++ b/lib/make/configure
@@ -4508,6 +4508,15 @@ cat >> confdefs.h <<EOF
EOF
+# Set default Fortran compilers
+
+if test -z "$F90" ; then
+ F90="F90_NOT_SET"
+fi
+
+if test -z "$F77" ; then
+ F77="F77_NOT_SET"
+fi
@@ -4935,3 +4944,5 @@ chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
+
+
diff --git a/lib/make/configure.in b/lib/make/configure.in
index 52dc85f7..c97866bd 100644
--- a/lib/make/configure.in
+++ b/lib/make/configure.in
@@ -1078,6 +1078,15 @@ AC_SUBST(PERL_BACKUP_NECESSARY)
AC_DEFINE_UNQUOTED(CCTK_L2_CACHELINE_BYTES, $L2_CACHELINE_BYTES)
AC_DEFINE_UNQUOTED(CCTK_L2_CACHE_SIZE, $L2_CACHE_SIZE)
+# Set default Fortran compilers
+AC_SUBST(F90)
+if test -z "$F90" ; then
+ F90="F90_NOT_SET"
+fi
+AC_SUBST(F77)
+if test -z "$F77" ; then
+ F77="F77_NOT_SET"
+fi
dnl Run any other scripts necessary
@@ -1085,3 +1094,5 @@ AC_OUTPUT_COMMANDS(,$PERL -s $PERL_CONFIGURE_SCRIPT -compiler="$F77" -opts="$F77
dnl Output everything
AC_OUTPUT(make.config.defn make.config.deps make.config.rules)
+
+