From cfc0bc764241b117a2014da4dbe82cab6c422387 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 2 Oct 2011 20:54:31 +0000 Subject: [PATCH] Fix condition. git-svn-id: https://svn.dealii.org/trunk@24503 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 2 ++ deal.II/configure | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index da1f481f2b..2ed26789ca 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -6544,6 +6544,8 @@ AC_DEFUN(DEAL_II_CHECK_TRILINOS_LIBS, dnl dnl add an assertion. if test $DEAL_II_TRILINOS_VERSION_MAJOR = 10 -a \ $DEAL_II_TRILINOS_VERSION_MINOR -lt 4 ; then + : + else AC_MSG_ERROR([package file TrilinosConfig.cmake not found]) fi DEAL_II_TRILINOS_LIBS="stratimikosamesos stratimikosaztecoo stratimikosifpack stratimikosml stratimikos ml amesos belos ifpack aztecoo rtop sacado thyra thyraepetra thyraepetraext epetraext epetra teuchos triutils" diff --git a/deal.II/configure b/deal.II/configure index 1364bc8bbb..efdc939daa 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -10881,6 +10881,8 @@ $as_echo_n "checking for the set of Trilinos libraries... " >&6; } else if test $DEAL_II_TRILINOS_VERSION_MAJOR = 10 -a \ $DEAL_II_TRILINOS_VERSION_MINOR -lt 4 ; then + : + else as_fn_error $? "package file TrilinosConfig.cmake not found" "$LINENO" 5 fi DEAL_II_TRILINOS_LIBS="stratimikosamesos stratimikosaztecoo stratimikosifpack stratimikosml stratimikos ml amesos belos ifpack aztecoo rtop sacado thyra thyraepetra thyraepetraext epetraext epetra teuchos triutils" -- 2.39.5