Commit 47a09d5f authored by Andreas Lauser's avatar Andreas Lauser
Browse files

autotools do not set the HAVE_VALGRIND macro if the valgrind header is not found

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5265 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 0b4ecc82
......@@ -68,7 +68,9 @@ AC_DEFUN([DUMUX_CHECKS],
AC_CHECK_HEADER([valgrind/memcheck.h],
[HAVE_VALGRIND_H="1"],
AC_MSG_WARN([valgrind/memcheck.h not found]))
AC_DEFINE(HAVE_VALGRIND, 1, [Define whether the valgrind header files for client requests are present.])
AS_IF([test "x$HAVE_VALGRIND_H" = "x1"],[
AC_DEFINE(HAVE_VALGRIND, 1, [Define whether the valgrind header files for client requests are present.])
])
if test "$HAVE_VALGRIND_H" == "1"; then
DUNE_ADD_SUMMARY_ENTRY([Valgrind client requests],["yes"])
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment