Skip to content
Snippets Groups Projects
Commit 3cbee28a authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Merge branch 'cosmetics' into 'master'

Nicer summary message for METIS

Prints "yes" instead of the full path to metis in the configure summary.

See merge request !102
parents 56e187d9 b628fe07
No related branches found
No related tags found
1 merge request!136Master
...@@ -236,6 +236,7 @@ AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" ...@@ -236,6 +236,7 @@ AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Check for metis. Note AX_LIB_METIS exists, but cannot be configured # Check for metis. Note AX_LIB_METIS exists, but cannot be configured
# to be default off (i.e. given no option it tries to locate METIS), so we # to be default off (i.e. given no option it tries to locate METIS), so we
# don't use that. # don't use that.
have_metis="no"
AC_ARG_WITH([metis], AC_ARG_WITH([metis],
[AS_HELP_STRING([--with-metis=PATH], [AS_HELP_STRING([--with-metis=PATH],
[root directory where metis is installed @<:@yes/no@:>@] [root directory where metis is installed @<:@yes/no@:>@]
...@@ -251,6 +252,7 @@ if test "x$with_metis" != "xno"; then ...@@ -251,6 +252,7 @@ if test "x$with_metis" != "xno"; then
METIS_LIBS="-lmetis" METIS_LIBS="-lmetis"
METIS_INCS="" METIS_INCS=""
fi fi
have_metis="yes"
AC_CHECK_LIB([metis],[METIS_PartGraphKway], AC_CHECK_LIB([metis],[METIS_PartGraphKway],
AC_DEFINE([HAVE_METIS],1,[The metis library appears to be present.]), AC_DEFINE([HAVE_METIS],1,[The metis library appears to be present.]),
AC_MSG_ERROR(something is wrong with the metis library!),$METIS_LIBS) AC_MSG_ERROR(something is wrong with the metis library!),$METIS_LIBS)
...@@ -380,7 +382,7 @@ AC_MSG_RESULT([ ...@@ -380,7 +382,7 @@ AC_MSG_RESULT([
MPI enabled : $enable_mpi MPI enabled : $enable_mpi
HDF5 enabled : $with_hdf5 HDF5 enabled : $with_hdf5
- parallel : $have_parallel_hdf5 - parallel : $have_parallel_hdf5
Metis enabled : $with_metis Metis enabled : $have_metis
libNUMA enabled : $have_numa libNUMA enabled : $have_numa
]) ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment