aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-09 19:10:18 +0100
committerMax Kellermann <max@duempel.org>2009-03-09 19:10:18 +0100
commit940af669b3a703145185c947e31d1d3374bc66da (patch)
tree35e85b3089e4db8a6d4b02b611034f6f99e0207a /configure.ac
parentfd76e29fbaac10158e47fcec44133a038fb23909 (diff)
downloadmpd-940af669b3a703145185c947e31d1d3374bc66da.tar.gz
mpd-940af669b3a703145185c947e31d1d3374bc66da.tar.xz
mpd-940af669b3a703145185c947e31d1d3374bc66da.zip
poison: added valgrind support
If the header valgrind/memcheck.h is available, add VALGRIND_MAKE_MEM_NOACCESS() and VALGRIND_MAKE_MEM_UNDEFINED() support, which enables nice warnings in the valgrind memory checker.
Diffstat (limited to '')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ac5819f31..1358b0633 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,7 @@ AC_CHECK_LIB(nsl,gethostbyname,MPD_LIBS="$MPD_LIBS -lnsl",)
AC_CHECK_LIB(m,exp,MPD_LIBS="$MPD_LIBS -lm",)
AC_CHECK_HEADERS(locale.h)
+AC_CHECK_HEADERS(valgrind/memcheck.h)
dnl