diff options
author | Stef Walter <stef@thewalter.net> | 2004-05-27 21:35:15 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-05-27 21:35:15 +0000 |
commit | 6f9078c3aa9a2a8ca7469d9239cb294188838821 (patch) | |
tree | ae2084779820feed2b34de57a9c2e854ff585e5a | |
parent | a6725d9e37f128a4e4127f6a5032d928d3e9b2ce (diff) |
Cleaning up
-rw-r--r-- | configure.in | 15 |
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 |