Skip to content
Snippets Groups Projects
Commit 4c597bda authored by Markus Blatt's avatar Markus Blatt
Browse files

Check for support of MPI-2 Standard.

[[Imported from SVN: r5256]]
parent 77fa89bb
No related branches found
No related tags found
No related merge requests found
...@@ -155,6 +155,11 @@ AC_DEFUN([DUNE_MPI],[ ...@@ -155,6 +155,11 @@ AC_DEFUN([DUNE_MPI],[
fi fi
AC_LANG_POP AC_LANG_POP
# Check for MPI-2 Standard
# We have to provide a dummy lib here as we do not know what the name
# of the mpi is. -lm should be save.
AC_CHECK_LIB(m,[MPI_Finalized], [AC_DEFINE(MPI_2, 1, [Define to 1 MPI supports MPI-2])])
# restore variables # restore variables
LIBS="$ac_save_LIBS" LIBS="$ac_save_LIBS"
CPPFLAGS="$ac_save_CPPFLAGS" CPPFLAGS="$ac_save_CPPFLAGS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment