diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 3f19d18..7d2c4be 100644 --- a/configure.in +++ b/configure.in @@ -36,8 +36,8 @@ dnl Nate Nielsen <nielsen@memberwebs.com> dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT(clamsmtp, 1.6.90, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(clamsmtp, 1.6.90) +AC_INIT(clamsmtp, 1.6.91, nielsen@memberwebs.com) +AM_INIT_AUTOMAKE(clamsmtp, 1.6.91) LDFLAGS="$LDFLAGS -L/usr/local/lib" CFLAGS="$CFLAGS -I/usr/local/include" @@ -115,9 +115,13 @@ AC_ARG_ENABLE(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" + + AC_CHECK_LIB(dmalloc, malloc, , [echo "DMalloc library not installed"; exit 1]) + + AC_DEFINE_UNQUOTED(WITH_DMALLOC, 1, [malloc memory debugging]) + LIBS="${LIBS} -ldmalloc" + echo "enabling dmalloc memory debugging" + fi # Have to resolve this for the path below |