]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Stop configure making stuff up about PETSc
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Sep 2011 10:19:18 +0000 (10:19 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Sep 2011 10:19:18 +0000 (10:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@24262 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c97293d9fb1c4132662a6a6ea811253aa6d24f57..3506a2f6b7c6b0aa43580364ec2b5db4f251b29a 100644 (file)
@@ -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)
index 0d51da38ccb25fd7b293a8a5a6c3ada2c3a5aa64..5c19ff94779c66bba1445d44ee0fe42d1e66e57f 100644 (file)
@@ -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)
 

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.