]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Put -lmetis into LDFLAGS.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Aug 2007 23:08:21 +0000 (23:08 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Aug 2007 23:08:21 +0000 (23:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@15033 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index d82a856fe1645ec0f402b7a9d23739ed4dd678b5..14e785e893834f16c417cff34d5a3cb5c194d746 100644 (file)
@@ -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`

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.