AC_SUBST(DEAL_II_DEFINE_DEAL_II_USE_MUMPS)
dnl Make sure we configure for libraries used by other libraries. For
-dnl example, UMFPACK needs blas, and so does LAPACK
-
-
+dnl example, UMFPACK needs blas, and so does LAPACK.
if test "x$with_umfpack" != "x" -a "x$with_umfpack" != "xno" ; then
if test "x$with_blas" = "x" -o "x$with_blas" = "xno"; then
with_blas="yes"
fi
fi
+dnl ARPACK wants to see BLAS nd LAPACK too.
+if test "x$with_arpack" != "x" -a "x$with_arpack" != "xno" ; then
+ if test "x$with_blas" = "x" -o "x$with_blas" = "xno"; then
+ with_blas="yes"
+ fi
+ if test "x$with_lapack" = "x" -o "x$with_lapack" = "xno"; then
+ with_lapack="yes"
+ fi
+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