From: Wolfgang Bangerth Date: Tue, 31 Aug 2010 01:49:30 +0000 (+0000) Subject: Simplify test. X-Git-Tag: v8.0.0~5613 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b068af4a8973c8309412452f53fadaa40052c0;p=dealii.git Simplify test. git-svn-id: https://svn.dealii.org/trunk@21805 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index bf7c39632f..ef7f4cafa7 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -5241,15 +5241,7 @@ AC_DEFUN(DEAL_II_CHECK_TRILINOS_MPI_CONSISTENCY, dnl #include ], [ - // autoconf doesn't appear to declare the arguments of main() - // so we do it ourselves here. pack them into a separate - // scope so that if autoconf at one point starts to declare - // these arguments we don't get into trouble - { - int argc; char **argv; - MPI_Init (&argc, &argv); - MPI_Finalize (); - } + MPI_Init (0,0); ], [ AC_MSG_RESULT(yes) @@ -5269,15 +5261,7 @@ AC_DEFUN(DEAL_II_CHECK_TRILINOS_MPI_CONSISTENCY, dnl #include ], [ - // autoconf doesn't appear to declare the arguments of main() - // so we do it ourselves here. pack them into a separate - // scope so that if autoconf at one point starts to declare - // these arguments we don't get into trouble - { - int argc; char **argv; - MPI_Init (&argc, &argv); - MPI_Finalize (); - } + MPI_Init (0,0); ], [ AC_MSG_ERROR([Trilinos was built for MPI, but deal.II is not!])