From 5f80865d1a4244a42c61bfe14eb22d316977f7a9 Mon Sep 17 00:00:00 2001 From: hartmann Date: Wed, 3 Mar 2004 07:31:53 +0000 Subject: [PATCH] configure always ends up in checking for PETSc library architecture although it only should when a PETSc library directory was found. This is now fixed. git-svn-id: https://svn.dealii.org/trunk@8645 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 2 +- deal.II/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 56716690e5..f58e8ebfea 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -3621,7 +3621,7 @@ AC_DEFUN(DEAL_II_CONFIGURE_PETSC, dnl dnl Secondly, check for the PETSc architecture, since that determines dnl where object and configuration files will be found. Do so only dnl if we are interested in this information at all. - if test "x$USE_CONTRIB_PETSC" != "x" ; then + if test "$USE_CONTRIB_PETSC" = "yes" ; then AC_MSG_CHECKING(for PETSc library architecture) AC_ARG_WITH(petsc-arch, diff --git a/deal.II/configure b/deal.II/configure index 8ee4f332f4..b0553f4d16 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -7671,7 +7671,7 @@ _ACEOF fi - if test "x$USE_CONTRIB_PETSC" != "x" ; then + if test "$USE_CONTRIB_PETSC" = "yes" ; then echo "$as_me:$LINENO: checking for PETSc library architecture" >&5 echo $ECHO_N "checking for PETSc library architecture... $ECHO_C" >&6 -- 2.39.5