From: Guido Kanschat Date: Sun, 8 Apr 2007 19:31:16 +0000 (+0000) Subject: fixed bug X-Git-Tag: v8.0.0~10385 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d42431537d435440e742ee687eb6a3735f52ae1d;p=dealii.git fixed bug git-svn-id: https://svn.dealii.org/trunk@14622 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure b/deal.II/configure index 2d83d704b4..1a6d4d459d 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 14318 . +# From configure.in Revision: 14620 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.60 for deal.II 5.3.pre. # @@ -12815,20 +12815,20 @@ echo "${ECHO_T}$DEAL_II_PETSC_MPIUNI_LIB" >&6; } -if test "x$with_umfpack" != "x" and "x$with_umfpack" != "xno" ; then +if test "x$with_umfpack" != "x" -a "x$with_umfpack" != "xno" ; then if test "x$with_blas" = "x" ; then with_blas="yes" fi fi -if test "x$with_lapack" != "x" and "x$with_lapack" != "xno" ; then +if test "x$with_lapack" != "x" -a "x$with_lapack" != "xno" ; then if test "x$with_blas" = "x" ; then with_blas="yes" fi fi -if test "x$with_petsc" != "x" and "x$with_petsc" != "xno" ; then +if test "x$with_petsc" != "x" -a "x$with_petsc" != "xno" ; then if test "x$enableshared" = "xno" ; then if test "x$with_blas" = "x" ; then with_blas="yes" diff --git a/deal.II/configure.in b/deal.II/configure.in index a8a8df68b3..7902a16777 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -413,13 +413,13 @@ AC_SUBST(DEAL_II_DEFINE_DEAL_II_USE_PETSC) dnl Make sure we configure for libraries used by other libraries. For dnl example, UMFPACK needs blas, and so does LAPACK -if test "x$with_umfpack" != "x" and "x$with_umfpack" != "xno" ; then +if test "x$with_umfpack" != "x" -a "x$with_umfpack" != "xno" ; then if test "x$with_blas" = "x" ; then with_blas="yes" fi fi -if test "x$with_lapack" != "x" and "x$with_lapack" != "xno" ; then +if test "x$with_lapack" != "x" -a "x$with_lapack" != "xno" ; then if test "x$with_blas" = "x" ; then with_blas="yes" fi @@ -429,7 +429,7 @@ fi dnl Likewise, if we use PETSc and link statically, we have to add blas to the dnl linker line (if we use shared libs, then the PETSc libs already carry this dnl dependence, but static archives do not have a method to list dependencies) -if test "x$with_petsc" != "x" and "x$with_petsc" != "xno" ; then +if test "x$with_petsc" != "x" -a "x$with_petsc" != "xno" ; then if test "x$enableshared" = "xno" ; then if test "x$with_blas" = "x" ; then with_blas="yes"