diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-12 20:49:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-12 20:49:28 (GMT) |
commit | d86b3c0205888c195d3f57d6d1fed97749a2d7a1 (patch) | |
tree | 27466c86317ede6feda3fe232e8e73cf360c70a8 | |
parent | 86d0132279cdcb7bc9b793e94509b0abd5b3147e (diff) | |
download | hdf5-d86b3c0205888c195d3f57d6d1fed97749a2d7a1.zip hdf5-d86b3c0205888c195d3f57d6d1fed97749a2d7a1.tar.gz hdf5-d86b3c0205888c195d3f57d6d1fed97749a2d7a1.tar.bz2 |
[svn-r9410] Purpose:
Code cleanup
Description:
Update FORTRAN configuration test code to be more syntacticly correct
and not generate errors with stricter standards checking in the compiler.
Platforms tested:
Linux 2.4 (verbena)
Too minor to require h5committest
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -32247,6 +32247,7 @@ cat >conftest.$ac_ext <<EOF program conftest include 'mpif.h' + integer:: ierr call mpi_file_open( ierr ) end EOF @@ -32280,6 +32281,7 @@ cat >conftest.$ac_ext <<EOF program conftest include 'mpif.h' + integer:: ierr call mpi_file_open( ierr ) end EOF @@ -32329,6 +32331,7 @@ cat >conftest.$ac_ext <<EOF program conftest include 'mpif.h' + integer:: ierr call mpi_file_open( ierr ) end EOF @@ -32362,6 +32365,7 @@ cat >conftest.$ac_ext <<EOF program conftest include 'mpif.h' + integer:: ierr call mpi_file_open( ierr ) end EOF diff --git a/configure.in b/configure.in index 069ec54..de8ae57 100644 --- a/configure.in +++ b/configure.in @@ -2211,18 +2211,22 @@ case "X-$enable_parallel" in dnl Try link a simple MPI program. If fail, try again with -lmpi. AC_TRY_FLINK(mpif.h, [ + integer:: ierr call mpi_file_open( ierr )],, AC_CHECK_FLIB(mpi, [ include 'mpif.h' + integer:: ierr call mpi_file_open( ierr )],, PARALLEL=no)) dnl Then try link a simple MPI-IO program. If fail, try again with dnl -lmpio. if test "X$PARALLEL" = "Xyes"; then AC_TRY_FLINK(mpif.h, [ + integer:: ierr call mpi_file_open( ierr )],, AC_CHECK_FLIB(mpio, [ include 'mpif.h' + integer:: ierr call mpi_file_open( ierr )],, PARALLEL=no)) fi |