mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Merge remote-tracking branch 'ellzey/event_debug_flag'
This commit is contained in:
commit
d87a3f71c6
@ -86,6 +86,9 @@ AC_ARG_ENABLE([libevent-regress],
|
|||||||
AC_ARG_ENABLE([function-sections],
|
AC_ARG_ENABLE([function-sections],
|
||||||
AS_HELP_STRING([--enable-function-sections, make static library allow smaller binaries with --gc-sections]),
|
AS_HELP_STRING([--enable-function-sections, make static library allow smaller binaries with --gc-sections]),
|
||||||
[], [enable_function_sections=no])
|
[], [enable_function_sections=no])
|
||||||
|
AC_ARG_ENABLE(event-debugging,
|
||||||
|
AS_HELP_STRING([--enable-verbose-debug, verbose debug logging]),
|
||||||
|
[], [enable_verbose_debug=no])
|
||||||
|
|
||||||
|
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
@ -657,6 +660,11 @@ if test x$enable_debug_mode = xno; then
|
|||||||
[Define if libevent should build without support for a debug mode])
|
[Define if libevent should build without support for a debug mode])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# check if we should enable verbose debugging
|
||||||
|
if test x$enable_verbose_debug = xyes; then
|
||||||
|
CFLAGS="$CFLAGS -DUSE_DEBUG"
|
||||||
|
fi
|
||||||
|
|
||||||
# check if we have and should use openssl
|
# check if we have and should use openssl
|
||||||
AM_CONDITIONAL(OPENSSL, [test "$enable_openssl" != "no" && test "$have_openssl" = "yes"])
|
AM_CONDITIONAL(OPENSSL, [test "$enable_openssl" != "no" && test "$have_openssl" = "yes"])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user