From: hartmann Date: Wed, 3 Mar 2004 07:31:53 +0000 (+0000) Subject: configure always ends up in checking for PETSc library architecture although it only... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f80865d1a4244a42c61bfe14eb22d316977f7a9;p=dealii-svn.git 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 --- 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