Skip to content
Snippets Groups Projects
Commit 711cf77b authored by Oliver Sander's avatar Oliver Sander
Browse files

Add missing brackets for AC_COMPILE_IFELSE

Avoids warnings with neuer AutoConf versions.

Patch by Christoph Grüninger

[[Imported from SVN: r8432]]
parent a130f3bc
No related branches found
No related tags found
No related merge requests found
......@@ -98,12 +98,12 @@ AC_DEFUN([UG_MPI],[
# try to create MPI program
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE(
AC_COMPILE_IFELSE([
AC_LANG_SOURCE(
[ #include <mpi.h>
int main (int argc, char** argv) {
MPI_Init(&argc, &argv);
MPI_Finalize(); }]),
MPI_Finalize(); }])],
[ AC_MSG_RESULT([yes]) ],
[ AC_MSG_RESULT([no])
AC_MSG_ERROR([could not compile MPI testprogram!
......
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