From: young Date: Tue, 6 Sep 2011 07:39:06 +0000 (+0000) Subject: Function check for PETSc dev - looks like version checks X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ef9aeff8d7859b72be7e454bd24498bbcd2531;p=dealii-svn.git Function check for PETSc dev - looks like version checks git-svn-id: https://svn.dealii.org/trunk@24255 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure.in b/deal.II/configure.in index f30e6a3463..cd1ca524b4 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -463,6 +463,7 @@ AC_SUBST(DEAL_II_PETSC_ARCH) AC_SUBST(DEAL_II_PETSC_VERSION_MAJOR) AC_SUBST(DEAL_II_PETSC_VERSION_MINOR) AC_SUBST(DEAL_II_PETSC_VERSION_SUBMINOR) +AC_SUBST(USE_PETSC_DEV) AC_SUBST(DEAL_II_PETSC_MPIUNI_LIB) AC_SUBST(DEAL_II_DEFINE_DEAL_II_USE_PETSC) @@ -849,6 +850,9 @@ AH_BOTTOM( >= \ (major)*10000 + (minor)*100 + (subminor)) +#define DEAL_II_PETSC_VERSION_DEV() \ + (DEAL_II_USE_PETSC_DEV) + #include #include diff --git a/deal.II/include/deal.II/base/config.h.in b/deal.II/include/deal.II/base/config.h.in index d295d45f6a..72a9cda704 100644 --- a/deal.II/include/deal.II/base/config.h.in +++ b/deal.II/include/deal.II/base/config.h.in @@ -265,6 +265,9 @@ going to be used */ #undef DEAL_II_USE_PETSC_COMPLEX +/* Defined if a PETSc installation was found and is not a release */ +#undef DEAL_II_USE_PETSC_DEV + /* Defined if a SLEPc installation was found and is going to be used */ #undef DEAL_II_USE_SLEPC @@ -647,6 +650,9 @@ >= \ (major)*10000 + (minor)*100 + (subminor)) +#define DEAL_II_PETSC_VERSION_DEV() \ + (DEAL_II_USE_PETSC_DEV) + #include #include