Skip to content
Snippets Groups Projects
Commit a7532c82 authored by Markus Blatt's avatar Markus Blatt
Browse files

fixed typesetting and error if METIS is not present.

[[Imported from SVN: r3444]]
parent d36629ea
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ AC_DEFUN([DUNE_SUMMARY_ALL],[
echo "HDF5.............: $with_hdf5"
echo "FiberHDF5........: $with_f5"
echo "MPI..............: $with_mpi"
echo "METIS............: $with_metis"
echo "ParMETIS.........: $with_parmetis"
echo "OpenGL...........: $with_opengl"
echo "UG...............: $with_ug"
......
......@@ -109,13 +109,17 @@ AC_DEFUN([IMMDX_LIB_METIS], [
#
#
#
# tell automake
AM_CONDITIONAL(METIS, test x$METIS_LIB = x1)
if test x = x"$METIS_LIB" ; then
with_metis=no
ifelse([$2],,[AC_MSG_WARN(Failed to find valid METIS library)],[$2])
:
else
# tell automake
AM_CONDITIONAL(METIS, test x$HAVE_METIS = x1)
ifelse([$1],,[AC_DEFINE(HAVE_METIS,1,[Define if you have METIS library])],[$1])
with_metis=yes
ifelse([$1],,[AC_DEFINE(HAVE_METIS,1,[Define if you have METIS library])
],[$1])
:
fi
])dnl IMMDX_LIB_METIS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment