From 6d8f508fe9bed97a12d8f2a8dd01a413d7a60560 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Mon, 26 Nov 2001 03:04:46 +0000 Subject: Relevant BUGIDs: 485454 Purpose of commit: revive feature Commit summary: --------------- malloc et al. debugging was not supported by the new autoconf setup, this commit rectifies that. It also adds a couple of header file inclusions that seem to be needed with recent glibc headers. --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0f5b8d89..da06576d 100644 --- a/configure.in +++ b/configure.in @@ -69,10 +69,15 @@ dnl dnl lots of debugging information goes to /tmp/pam-debug.log AC_ARG_ENABLE(debug, -[ --enable-debug qspecify you are building with debugging on], +[ --enable-debug specify you are building with debugging on], WITH_DEBUG=yes ; AC_DEFINE(DEBUG) , WITH_DEBUG=no) AC_SUBST(WITH_DEBUG) +AC_ARG_ENABLE(memory-debug, +[ --enable-memory-debug specify you want every malloc etc. call tracked], + WITH_MEMORY_DEBUG=yes ; AC_DEFINE(MEMORY_DEBUG) , WITH_MEMORY_DEBUG=no) +AC_SUBST(WITH_MEMORY_DEBUG) + dnl build specially named libraries (for debugging purposes) AC_ARG_ENABLE(libdebug, [ --enable-libdebug specify you are building debugging libraries], -- cgit v1.2.3