[svn-r5241] Purpose:

Fix
Description:
    When doing a TRY_LINK, the compiler complained about lack of
    parameters being passed to the function.
Solution:
    Added the parameter it wants...
This commit is contained in:
Bill Wendling 2002-04-23 17:16:47 -05:00
parent 835a51fd9d
commit b5c1eb3a61
2 changed files with 4 additions and 4 deletions

4
fortran/configure vendored
View File

@ -8350,7 +8350,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
int
main ()
{
MPI_Comm_c2f()
MPI_Comm c_comm; MPI_Comm_c2f(c_comm)
;
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()
MPI_Info c_info; MPI_Info_c2f(c_info)
;
return 0;
}

View File

@ -552,7 +552,7 @@ if test -n "$PARALLEL"; then
AC_TRY_LINK([
#include <mpi.h>
],
[MPI_Comm_c2f()],
[MPI_Comm c_comm; MPI_Comm_c2f(c_comm)],
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()],
[MPI_Info c_info; MPI_Info_c2f(c_info)],
AC_DEFINE(HAVE_MPI_MULTI_LANG_Info, 1,
[Define if \`MPI_Info_c2f' and \`MPI_Info_f2c' exists])
AC_MSG_RESULT(yes),