]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix paths to METIS when taking stuff from the environment.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Aug 2012 13:29:50 +0000 (13:29 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Aug 2012 13:29:50 +0000 (13:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@26049 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index fe852cf8e6c9861ca2b092d4dc498c8a2448de69..a78957289b4295c57968ef46eea20b4fb1303163 100644 (file)
@@ -7195,7 +7195,8 @@ AC_DEFUN(DEAL_II_CONFIGURE_METIS, dnl
           if test ! -d $DEAL_II_METIS_DIR/lib ; then
             AC_MSG_ERROR([The path to Metis specified in the METIS_DIR environment variable does not point to a complete Metis installation])
           fi
-          DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
+          DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR/lib"
+          DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/include"
         else
           USE_CONTRIB_METIS=no
           DEAL_II_METIS_DIR=""
index 729eecb2e815c1f8a7ee325ac4cb95e16f1f2c52..ecf2f81993213104edbf31f9a815ee6fe396df7c 100755 (executable)
@@ -12673,7 +12673,8 @@ $as_echo "$DEAL_II_METIS_DIR" >&6; }
                     if test ! -d $DEAL_II_METIS_DIR/lib ; then
             as_fn_error $? "The path to Metis specified in the METIS_DIR environment variable does not point to a complete Metis installation" "$LINENO" 5
           fi
-          DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR"
+          DEAL_II_METIS_LIBDIR="$DEAL_II_METIS_DIR/lib"
+          DEAL_II_METIS_INCDIR="$DEAL_II_METIS_DIR/include"
         else
           USE_CONTRIB_METIS=no
           DEAL_II_METIS_DIR=""

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.