From 2907b4efc6c5a67470abc92dd5343961cad5a006 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 31 Aug 2010 01:49:30 +0000 Subject: [PATCH] Simplify test. git-svn-id: https://svn.dealii.org/trunk@21805 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) 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!]) -- 2.39.5