From 1e2485292c2b4fe57dfaf7bf6c4d9e128c15f018 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 4 Mar 2008 21:08:56 +0000 Subject: [PATCH] Trilinos requires blas and lapack. git-svn-id: https://svn.dealii.org/trunk@15849 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure | 16 ++++++++++++++++ deal.II/configure.in | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) 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. -- 2.39.5