]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Regenerate
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 6 Feb 2006 15:35:37 +0000 (15:35 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 6 Feb 2006 15:35:37 +0000 (15:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@12235 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/config.h.in
deal.II/configure

index b03247ec3833f4778ab941f137fcb655d6c83c47..1834f624be723f2e22c66b089489842ff8a79b25 100644 (file)
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
+/* Make sure PETSc doesn't re-define the underscore through the preprocessor,
+   since this interferes with boost. PETSc redefines the underscore to be
+   "__gterr =", but then forgets to undef this thing. Boost simply wants to
+   concatenate the underscore with another string to form a class name, which
+   then of course isn't valid any more. See mails in early Feb 2006. */
+#undef PETSC_SKIP_UNDERSCORE_CHKERR
+
 /* If already available, do not define at all. Otherwise, define to __func__
    if that is available. In all other cases, indicate that no information
    about the present function is available for this compiler. */
index 1f07455c3554fd7b482253680ed7fe9b15321b75..c09d4739fbec99cc8fac632d4e54cfc4450706f1 100755 (executable)
@@ -9383,7 +9383,14 @@ cat >>confdefs.h <<\_ACEOF
 #define DEAL_II_USE_PETSC 1
 _ACEOF
 
+
                         DEAL_II_DEFINE_DEAL_II_USE_PETSC=DEAL_II_USE_PETSC
+
+
+cat >>confdefs.h <<\_ACEOF
+#define PETSC_SKIP_UNDERSCORE_CHKERR 1
+_ACEOF
+
   fi
 
 

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.