From: Wolfgang Bangerth Date: Tue, 4 Mar 2008 21:08:56 +0000 (+0000) Subject: Trilinos requires blas and lapack. X-Git-Tag: v8.0.0~9321 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670c3b1c2c8ad4934515464b5b919df57d1d41d3;p=dealii.git Trilinos requires blas and lapack. git-svn-id: https://svn.dealii.org/trunk@15849 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/configure b/deal.II/configure index b9f62a4ac6..74f8ddffad 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -11849,6 +11849,22 @@ if test "x$with_petsc" != "x" -a "x$with_petsc" != "xno" ; then fi +if test "x$with_trilinos" != "x" -a "x$with_trilinos" != "xno" ; then + if test "x$enableshared" = "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 +fi + + + + + + # Check whether --with-blas was given. if test "${with_blas+set}" = set; then diff --git a/deal.II/configure.in b/deal.II/configure.in index 25f59d8e40..3b4438ac37 100644 --- a/deal.II/configure.in +++ b/deal.II/configure.in @@ -455,6 +455,23 @@ if test "x$with_petsc" != "x" -a "x$with_petsc" != "xno" ; then esac fi + +dnl The same holds for Trilinos, which needs not only BLAS but also LAPACK +if test "x$with_trilinos" != "x" -a "x$with_trilinos" != "xno" ; then + if test "x$enableshared" = "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 +fi + + + + + dnl ------------------------------------------------------------- dnl Actually include libraries here. Check for the libraries dnl requiring FORTRAN support first.