From 6ea4cdaabad4c088b935a2d626686bac02836770 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 23 Aug 2007 23:08:21 +0000 Subject: [PATCH] Put -lmetis into LDFLAGS. git-svn-id: https://svn.dealii.org/trunk@15033 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index d82a856fe1..14e785e893 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -5205,10 +5205,11 @@ AC_DEFUN(DEAL_II_CONFIGURE_METIS, dnl AC_MSG_RESULT(not found) fi ]) - if test "$USE_CONTRIB_METIS" = "yes" ; then + if test "x$USE_CONTRIB_METIS" = "xyes" ; then AC_DEFINE(DEAL_II_USE_METIS, 1, [Defined if a Metis installation was found and is going to be used]) + LDFLAGS="$LDFLAGS -L$DEAL_II_METIS_DIR -lmetis" AC_MSG_CHECKING(for Metis version) DEAL_II_METIS_VERSION=`cat $DEAL_II_METIS_DIR/VERSION` -- 2.39.5