diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-04-23 22:05:27 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2002-04-23 22:05:27 (GMT) |
commit | 835a51fd9dfaa601c518326ade5f114e19165433 (patch) | |
tree | 2f6a6111e640fd31f94161c268b19501063fab9e | |
parent | 6b4bfb60db8262d4321b729bab46f726157c02e7 (diff) | |
download | hdf5-835a51fd9dfaa601c518326ade5f114e19165433.zip hdf5-835a51fd9dfaa601c518326ade5f114e19165433.tar.gz hdf5-835a51fd9dfaa601c518326ade5f114e19165433.tar.bz2 |
[svn-r5240] Purpose:
Cleanup
Solution:
An even better way of using the AC_TRY_LINK macro...
-rwxr-xr-x | fortran/configure | 4 | ||||
-rw-r--r-- | fortran/configure.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fortran/configure b/fortran/configure index 69a35ca..b79b2d3 100755 --- a/fortran/configure +++ b/fortran/configure @@ -8350,7 +8350,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu int main () { -MPI_Comm_c2f(); return 0; +MPI_Comm_c2f() ; return 0; } @@ -8400,7 +8400,7 @@ echo $ECHO_N "checking for MPI_Info_c2f and MPI_Info_f2c functions... $ECHO_C" > int main () { -MPI_Info_c2f(); return 0; +MPI_Info_c2f() ; return 0; } diff --git a/fortran/configure.in b/fortran/configure.in index 4ce66dc..dd7bcd4 100644 --- a/fortran/configure.in +++ b/fortran/configure.in @@ -552,7 +552,7 @@ if test -n "$PARALLEL"; then AC_TRY_LINK([ #include <mpi.h> ], - [MPI_Comm_c2f(); return 0;], + [MPI_Comm_c2f()], AC_DEFINE(HAVE_MPI_MULTI_LANG_Comm, 1, [Define if \`MPI_Comm_c2f' and \`MPI_Comm_f2c' exists]) AC_MSG_RESULT(yes), @@ -563,7 +563,7 @@ if test -n "$PARALLEL"; then AC_TRY_LINK([ #include <mpi.h> ], - [MPI_Info_c2f(); return 0;], + [MPI_Info_c2f()], AC_DEFINE(HAVE_MPI_MULTI_LANG_Info, 1, [Define if \`MPI_Info_c2f' and \`MPI_Info_f2c' exists]) AC_MSG_RESULT(yes), |