]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix test to not reference arguments to main().
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Aug 2008 16:33:05 +0000 (16:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Aug 2008 16:33:05 +0000 (16:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@16665 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index 5c585705ee0db53c92d3676edd343d5a99a47240..f408da09f6bc6781a2b5fb6257593c205858f096 100644 (file)
@@ -392,7 +392,7 @@ AC_DEFUN(DEAL_II_DETERMINE_IF_SUPPORTS_MPI, dnl
           #include <mpi.h>
         ],
         [
-         MPI_Init (&argc,&argv);
+         MPI_Init (0,0);
        ],
         [
           AC_MSG_RESULT(yes)
index a4ee0ab9a7bb438fcbadd74da5133dfcbf4b4795..8ad1f8963950095d1c2fb953b4ba65ed381020fe 100755 (executable)
@@ -3895,7 +3895,7 @@ int
 main ()
 {
 
-         MPI_Init (&argc,&argv);
+         MPI_Init (0,0);
 
   ;
   return 0;

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.