From c769cbecb6214f518135c4bb2a52479747c2bf7b Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 13 Aug 2008 16:00:57 +0200 Subject: Enable GNU libc "memory tracing" when compiled with debug code. This patch lets ngIRCd activate "memory tracing" of the GNU libc when compiled with debug code (configure: --enable-debug) and the functionality is available on the system. (http://www.gnu.org/software/libc/manual/html_node/Allocation-Debugging.html) --- configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 7cbc80ac..36f0bc28 100644 --- a/configure.in +++ b/configure.in @@ -457,6 +457,7 @@ AC_ARG_ENABLE(debug, if test "$x_debug_on" = "yes"; then AC_DEFINE(DEBUG, 1) test "$GCC" = "yes" && CFLAGS="-pedantic $CFLAGS" + AC_CHECK_FUNCS(mtrace) fi # enable "strict RFC rules"? -- cgit 1.4.1