diff options
author | Matthias Huetsch [mhu] <matthias.huetsch@oracle.com> | 2011-02-22 19:26:59 +0100 |
---|---|---|
committer | Matthias Huetsch [mhu] <matthias.huetsch@oracle.com> | 2011-02-22 19:26:59 +0100 |
commit | 17d70631f3269f9750c1f0b9d204418210964f14 (patch) | |
tree | 7b588378c175990640ddacd77481c87ea388ab8b /configure.in | |
parent | c5899d236d7999b15cad5b8a7e3732e7ed5a5b8c (diff) |
#i115784# configure: Add check for valgrind/memcheck.h, defining HAVE_VALGRIND_MEMCHECK_H.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 8e2d9c4e6abc..ee10ce5164a5 100644 --- a/configure.in +++ b/configure.in @@ -1155,6 +1155,11 @@ AC_SUBST(PRODUCT) AC_SUBST(PROFULLSWITCH) AC_SUBST(PROEXT) +if test -n "$enable_dbgutil" && test "$enable_dbgutil" != "no"; then + AC_CHECK_HEADER([valgrind/memcheck.h], [HAVE_VALGRIND_MEMCHECK_H=TRUE], [HAVE_VALGRIND_MEMCHECK_H=FALSE]) +fi +AC_SUBST(HAVE_VALGRIND_MEMCHECK_H) + dnl =================================================================== dnl First setting is whether to include symbols into final build. dnl =================================================================== |