From 6f992085492b47c3aa2144eb9b542a02f08556fe Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 21 Aug 2012 13:29:50 +0000 Subject: [PATCH] Fix paths to METIS when taking stuff from the environment. git-svn-id: https://svn.dealii.org/trunk@26049 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/aclocal.m4 | 3 ++- deal.II/configure | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index fe852cf8e6..a78957289b 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -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="" diff --git a/deal.II/configure b/deal.II/configure index 729eecb2e8..ecf2f81993 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -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="" -- 2.39.5