]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make METIS configure output more verbose
authorToby D. Young <tyoung@ippt.pan.pl>
Mon, 13 Aug 2012 13:43:22 +0000 (13:43 +0000)
committerToby D. Young <tyoung@ippt.pan.pl>
Mon, 13 Aug 2012 13:43:22 +0000 (13:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@25932 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/Make.global_options.in
deal.II/configure.in

index 80928d3ba8ae29ed3ca861f314682b6181fa561b..a2343dd2897bb8bf552904998af15a64cddd4a30 100644 (file)
@@ -90,7 +90,9 @@ DEAL_II_ARPACK_DIR  = @DEAL_II_ARPACK_DIR@
 DEAL_II_ARPACK_ARCH = @DEAL_II_ARPACK_ARCH@
 
 USE_CONTRIB_METIS    = @USE_CONTRIB_METIS@
+DEAL_II_METIS_DIR = @DEAL_II_METIS_DIR@
 DEAL_II_METIS_LIBDIR = @DEAL_II_METIS_LIBDIR@
+DEAL_II_METIS_INCDIR = @DEAL_II_METIS_INCDIR@
 
 USE_CONTRIB_HSL      = @USE_CONTRIB_HSL@
 USE_CONTRIB_UMFPACK  = @USE_CONTRIB_UMFPACK@
@@ -200,7 +202,7 @@ endif
 
 # same for metis, except that there is only one library in that case
 ifeq ($(USE_CONTRIB_METIS),yes)
-  lib-contrib-metis = $(DEAL_II_METIS_LIBDIR)/libmetis.a
+  lib-contrib-metis = $(DEAL_II_METIS_LIBDIR)/libmetis$(lib-suffix)
 endif
 
 # List all trilinos libraries that we want to link with. These must be sorted
@@ -283,6 +285,7 @@ include-path-slepc-bmake     = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/includ
 include-path-slepc-conf      = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
 include-path-trilinos        = $(DEAL_II_TRILINOS_INCDIR)
 include-path-mumps           = $(DEAL_II_MUMPS_DIR)/include
+include-path-metis           = $(DEAL_II_METIS_INCDIR)
 
 # include paths as command line flags. while compilers allow a space between
 # the '-I' and the actual path, we also send these flags to the
@@ -327,6 +330,10 @@ ifeq ($(USE_CONTRIB_MUMPS),yes)
   INCLUDE += -I$(include-path-mumps)
 endif
 
+ifeq ($(USE_CONTRIB_METIS),yes)
+  INCLUDE += -I$(include-path-metis)
+endif
+
 ifeq ($(enable-threads),yes)
   INCLUDE += -I$(shell echo $D/contrib/tbb/tbb*/include)
 endif
index 747709fe0e953b1f1fc4a492f7721b0de7090731..b0dd66d93d308dbb970f493ef5e236e230150472 100644 (file)
@@ -650,7 +650,9 @@ DEAL_II_CONFIGURE_NETCDF
 
 DEAL_II_CONFIGURE_METIS
 AC_SUBST(USE_CONTRIB_METIS)
+AC_SUBST(DEAL_II_METIS_DIR)
 AC_SUBST(DEAL_II_METIS_LIBDIR)
+AC_SUBST(DEAL_II_METIS_INCDIR)
 
 dnl Check for UMFPack
 DEAL_II_WITH_UMFPACK

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.