summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 13 insertions, 2 deletions
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