From 34931106d7653e73bb474e1d72aee4044f7d5a5d Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 7 Nov 2006 16:32:48 +0000 Subject: Added mcheck support for memory debugging --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c7aac6c3..c87d17b7 100644 --- a/configure.ac +++ b/configure.ac @@ -319,6 +319,7 @@ AC_MSG_CHECKING(for debug mode request) if test x$debug = xyes ; then AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xyes) CFLAGS="-g -Wall -Werror -std=c99 -DPACMAN_DEBUG" + LDFLAGS="$LDFLAGS -lmcheck" AC_MSG_RESULT(yes) else AM_CONDITIONAL(PACMAN_DEBUG, test x$debug = xno) -- cgit v1.2.3-24-g4f1b