diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 3f31a2e..8f32823 100644 --- a/configure.in +++ b/configure.in @@ -2160,7 +2160,7 @@ case "X-$enable_parallel" in AC_LANG_PUSH(Fortran) dnl Try link a simple MPI program. If fail, try again with -lmpi. - AC_TRY_LINK(, [ + AC_LINK_IFELSE([ include 'mpif.h' integer:: ierr call mpi_file_open( ierr )],, @@ -2172,7 +2172,7 @@ case "X-$enable_parallel" in dnl Then try link a simple MPI-IO program. If fail, try again with dnl -lmpio. if test "X$PARALLEL" = "Xyes"; then - AC_TRY_LINK(, [ + AC_LINK_IFELSE([ include 'mpif.h' integer:: ierr call mpi_file_open( ierr )],, |