summaryrefslogtreecommitdiffstats
path: root/m4/aclocal_fc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/aclocal_fc.m4')
-rw-r--r--m4/aclocal_fc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/aclocal_fc.m4 b/m4/aclocal_fc.m4
index 806d9c5..64c115a 100644
--- a/m4/aclocal_fc.m4
+++ b/m4/aclocal_fc.m4
@@ -268,7 +268,7 @@ dnl Try link a simple MPI program.
AC_MSG_CHECKING([whether a simple MPI-IO Fortran program can be linked])
AC_LINK_IFELSE([
PROGRAM main
- USE mpi
+ include "mpif.h"
INTEGER :: ierr
CALL mpi_file_open( ierr )
END],