[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
This commit is contained in:
Quincey Koziol 2004-10-12 15:49:28 -05:00
parent 86d0132279
commit d86b3c0205
2 changed files with 8 additions and 0 deletions

4
configure vendored
View File

@ -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

View File

@ -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