From 679f4245fbb2620129e1157b4e03437bdf3db369 Mon Sep 17 00:00:00 2001 From: young Date: Tue, 6 Sep 2011 10:19:18 +0000 Subject: [PATCH] Stop configure making stuff up about PETSc git-svn-id: https://svn.dealii.org/trunk@24262 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 3 +++ deal.II/configure.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index c97293d9fb..3506a2f6b7 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -5784,8 +5784,11 @@ AC_DEFUN(DEAL_II_CONFIGURE_PETSC_VERSION, dnl | perl -pi -e 's/.*RELEASE\s+//g;'` if test "$PETSC_RELEASE" = "0" ; then PETSC_VERSION+="-dev" + DEAL_II_PETSC_VERSION_DEV=yes AC_DEFINE([DEAL_II_USE_PETSC_VERSION_DEV], [1], [Defined if a PETSc installation was found and is not a release]) + else + DEAL_II_USE_PETSC_VERSION_DEV=no fi AC_MSG_RESULT($PETSC_VERSION) diff --git a/deal.II/configure.in b/deal.II/configure.in index 0d51da38cc..5c19ff9477 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -463,7 +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(DEAL_II_USE_PETSC_VERSION_DEV) +AC_SUBST(DEAL_II_PETSC_VERSION_DEV) AC_SUBST(DEAL_II_PETSC_MPIUNI_LIB) AC_SUBST(DEAL_II_DEFINE_DEAL_II_USE_PETSC) -- 2.39.5