summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure4
-rw-r--r--m4/aclocal_fc.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index eedab02..f56da49 100755
--- a/configure
+++ b/configure
@@ -27957,11 +27957,11 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a simple MPI-IO Fortran program can be linked" >&5
$as_echo_n "checking whether a simple MPI-IO Fortran program can be linked... " >&6; }
cat > conftest.$ac_ext <<_ACEOF
-make
+
PROGRAM main
USE mpi
INTEGER :: ierr
- call mpi_file_open( ierr )
+ CALL mpi_file_open( ierr )
END
_ACEOF
if ac_fn_fc_try_link "$LINENO"; then :
diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4
index 435aad5..806d9c5 100644
--- a/m4/aclocal_fc.m4
+++ b/m4/aclocal_fc.m4
@@ -266,11 +266,11 @@ dnl Change to the Fortran 90 language
dnl Try link a simple MPI program.
AC_MSG_CHECKING([whether a simple MPI-IO Fortran program can be linked])
- AC_LINK_IFELSE([make
+ AC_LINK_IFELSE([
PROGRAM main
USE mpi
INTEGER :: ierr
- call mpi_file_open( ierr )
+ CALL mpi_file_open( ierr )
END],
[AC_MSG_RESULT([yes])],
[AC_MSG_RESULT([no])