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

[cleanup] remove trailing whitespace

parent fe532b79
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ AC_DEFUN([DUNE_MPI],[ ...@@ -135,7 +135,7 @@ AC_DEFUN([DUNE_MPI],[
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
ac_save_LDFLAGS="$LDFLAGS" ac_save_LDFLAGS="$LDFLAGS"
ac_save_CPPFLAGS="$CPPFLAGS" ac_save_CPPFLAGS="$CPPFLAGS"
# looks weird but as the -l... are contained in the MPI_LDFLAGS these # looks weird but as the -l... are contained in the MPI_LDFLAGS these
# parameters have to be last on the commandline: with LIBS this is true # parameters have to be last on the commandline: with LIBS this is true
LIBS="$DUNEMPILIBS $LIBS" LIBS="$DUNEMPILIBS $LIBS"
...@@ -147,8 +147,8 @@ AC_DEFUN([DUNE_MPI],[ ...@@ -147,8 +147,8 @@ AC_DEFUN([DUNE_MPI],[
AC_COMPILE_IFELSE( AC_COMPILE_IFELSE(
[AC_LANG_SOURCE( [AC_LANG_SOURCE(
[ #include <mpi.h> [ #include <mpi.h>
int main (int argc, char** argv) { int main (int argc, char** argv) {
MPI_Init(&argc, &argv); MPI_Init(&argc, &argv);
MPI_Finalize(); }])], MPI_Finalize(); }])],
[ AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([yes]) ],
[ AC_MSG_RESULT([no]) [ AC_MSG_RESULT([no])
...@@ -158,14 +158,14 @@ AC_DEFUN([DUNE_MPI],[ ...@@ -158,14 +158,14 @@ AC_DEFUN([DUNE_MPI],[
) )
AS_IF([test "x$mpiruntest" != "xyes"],[ AS_IF([test "x$mpiruntest" != "xyes"],[
AC_MSG_WARN([Disabled test whether running with $dune_MPI_VERSION works.]) AC_MSG_WARN([Disabled test whether running with $dune_MPI_VERSION works.])
],[ ],[
AC_MSG_CHECKING([whether running with $dune_MPI_VERSION works]) AC_MSG_CHECKING([whether running with $dune_MPI_VERSION works])
AC_RUN_IFELSE( AC_RUN_IFELSE(
[AC_LANG_SOURCE( [AC_LANG_SOURCE(
[ #include <mpi.h> [ #include <mpi.h>
int main (int argc, char** argv) { int main (int argc, char** argv) {
MPI_Init(&argc, &argv); MPI_Init(&argc, &argv);
MPI_Finalize(); }])], MPI_Finalize(); }])],
[ AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([yes]) ],
[ AC_MSG_RESULT([no]) [ AC_MSG_RESULT([no])
...@@ -192,7 +192,7 @@ AC_DEFUN([DUNE_MPI],[ ...@@ -192,7 +192,7 @@ AC_DEFUN([DUNE_MPI],[
LIBS="$ac_save_LIBS" LIBS="$ac_save_LIBS"
CPPFLAGS="$ac_save_CPPFLAGS" CPPFLAGS="$ac_save_CPPFLAGS"
]) ])
# set flags # set flags
AS_IF([test "x$with_mpi" != "xno"],[ AS_IF([test "x$with_mpi" != "xno"],[
AC_DEFINE(HAVE_MPI,ENABLE_MPI,[Define if you have the MPI library. AC_DEFINE(HAVE_MPI,ENABLE_MPI,[Define if you have the MPI library.
......
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