]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify test.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 31 Aug 2010 01:49:30 +0000 (01:49 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 31 Aug 2010 01:49:30 +0000 (01:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@21805 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index bf7c39632f5488cbf5da8a73dfe6d79ec762ab0f..ef7f4cafa7f364007c1944983a43dea1806881ef 100644 (file)
@@ -5241,15 +5241,7 @@ AC_DEFUN(DEAL_II_CHECK_TRILINOS_MPI_CONSISTENCY, dnl
           #include <Epetra_MpiComm.h>
         ],
        [
-          // 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 <Epetra_MpiComm.h>
         ],
        [
-          // 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!])

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.