From 6f9078c3aa9a2a8ca7469d9239cb294188838821 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 27 May 2004 21:35:15 +0000 Subject: Cleaning up --- configure.in | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 40e92de..dba3f82 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(rep, 2.3.1b, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(rep, 2.3.1b) +AC_INIT(rep, 2.3.2b, nielsen@memberwebs.com) +AM_INIT_AUTOMAKE(rep, 2.3.2b) LDFLAGS="$LDFLAGS -L/usr/local/lib" @@ -53,6 +53,17 @@ AC_CHECK_FUNCS([bzero chdir getcwd memmove memset strchr strcspn strerror strrch AC_CHECK_FUNCS([strcasestr strlcpy strncpy strcpy strlcat strncat strcat strdup strndup stricmp strnicmp strcasecmp strncasecmp tolower]) AC_CHECK_FUNCS([getopt vasprintf vsnprintf reallocf]) +# DMALLOC memory debugging +AC_ARG_ENABLE(dmalloc, + AC_HELP_STRING([--with-dmalloc], + [malloc memory debugging (default: no)])) + +if test "$enable_dmalloc" = "yes"; then + AC_DEFINE_UNQUOTED(WITH_DMALLOC, 1, [malloc memory debugging]) + LIBS="${LIBS} -ldmalloc" + echo "enabling dmalloc memory debugging" +fi + AC_CONFIG_FILES([Makefile lib/Makefile src/Makefile common/Makefile doc/Makefile win32/Makefile win32/common/Makefile win32/droplet/Makefile win32/makedrop/Makefile]) AC_OUTPUT -- cgit v1.2.3