diff --git a/configure.in b/configure.in index 964f087b..eaa2445c 100644 --- a/configure.in +++ b/configure.in @@ -16,8 +16,10 @@ AC_CANONICAL_HOST AM_CONDITIONAL(COND_REND_OSX,false) STATIC_LIBS=no +CPPFLAGS="${CPPFLAGS} -g" -AC_ARG_ENABLE(debug,Enable debugging features,CPPFLAGS="${CPPFLAGS} -DDEBUG_MEMORY -g -Wall") +AC_ARG_ENABLE(debug,Enable debugging features,CPPFLAGS="${CPPFLAGS} -Wall") +AC_ARG_ENABLE(debug-memory,Enable mem leak debugging,CPPFLAGS="${CPPFLAGS} -DDEBUG_MEMORY") AC_ARG_ENABLE(efence,Enable electric fence,LDFLAGS="${LDFLAGS} -lefence") AC_ARG_ENABLE(howl,[ --enable-howl Use the howl mDNS library],