changed to --enable-verbose-debug

This commit is contained in:
Mark Ellzey 2011-08-06 01:32:40 -04:00
parent bc7b4e4051
commit a9c2c9ab62

View File

@ -78,8 +78,8 @@ AC_ARG_ENABLE([function-sections],
AS_HELP_STRING([--enable-function-sections, make static library allow smaller binaries with --gc-sections]),
[], [enable_function_sections=no])
AC_ARG_ENABLE(event-debugging,
AS_HELP_STRING([--enable-event-debugging, enable event usage debugging]),
[], [enable_event_debugging=no])
AS_HELP_STRING([--enable-verbose-debug, verbose debug logging]),
[], [enable_verbose_debug=no])
AC_PROG_LIBTOOL
@ -651,8 +651,8 @@ if test x$enable_debug_mode = xno; then
[Define if libevent should build without support for a debug mode])
fi
# check if we should enable event debugging
if test x$enable_event_debugging = xyes; then
# check if we should enable verbose debugging
if test x$enable_verbose_debug = xyes; then
CFLAGS="$CFLAGS -DUSE_DEBUG"
fi