mirror of https://github.com/getdnsapi/getdns.git
Configure options for tracing messages
(and a secret hidden one to keep connections open)
This commit is contained in:
parent
2c43afe338
commit
aedf4454f5
21
configure.ac
21
configure.ac
|
@ -143,12 +143,14 @@ ACX_ARG_RPATH
|
||||||
AC_ARG_ENABLE(debug-sched, AC_HELP_STRING([--enable-debug-sched], [Enable scheduling debugging messages]))
|
AC_ARG_ENABLE(debug-sched, AC_HELP_STRING([--enable-debug-sched], [Enable scheduling debugging messages]))
|
||||||
AC_ARG_ENABLE(debug-stub, AC_HELP_STRING([--enable-debug-stub], [Enable stub debugging messages]))
|
AC_ARG_ENABLE(debug-stub, AC_HELP_STRING([--enable-debug-stub], [Enable stub debugging messages]))
|
||||||
AC_ARG_ENABLE(debug-sec, AC_HELP_STRING([--enable-debug-sec], [Enable dnssec debugging messages]))
|
AC_ARG_ENABLE(debug-sec, AC_HELP_STRING([--enable-debug-sec], [Enable dnssec debugging messages]))
|
||||||
|
AC_ARG_ENABLE(debug-trace, AC_HELP_STRING([--enable-debug-trace], [Enable trace debugging of individual dns messages]))
|
||||||
AC_ARG_ENABLE(all-debugging, AC_HELP_STRING([--enable-all-debugging], [Enable scheduling, stub and dnssec debugging]))
|
AC_ARG_ENABLE(all-debugging, AC_HELP_STRING([--enable-all-debugging], [Enable scheduling, stub and dnssec debugging]))
|
||||||
case "$enable_all_debugging" in
|
case "$enable_all_debugging" in
|
||||||
yes)
|
yes)
|
||||||
enable_debug_sched=yes
|
enable_debug_sched=yes
|
||||||
enable_debug_stub=yes
|
enable_debug_stub=yes
|
||||||
enable_debug_sec=yes
|
enable_debug_sec=yes
|
||||||
|
enable_debug_trace=yes
|
||||||
;;
|
;;
|
||||||
no|*)
|
no|*)
|
||||||
;;
|
;;
|
||||||
|
@ -174,6 +176,25 @@ case "$enable_debug_sec" in
|
||||||
no|*)
|
no|*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case "$enable_debug_trace" in
|
||||||
|
yes)
|
||||||
|
AC_DEFINE_UNQUOTED([TRACE_DEBUG], [1], [Define this enable printing of transaction ids of individual dns messages.])
|
||||||
|
;;
|
||||||
|
no|*)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
dnl Hidden debugging options
|
||||||
|
dnl
|
||||||
|
AC_ARG_ENABLE(debug-keep-connections-open,[])
|
||||||
|
case "$enable_debug_keep_connections_open" in
|
||||||
|
yes)
|
||||||
|
AC_DEFINE_UNQUOTED([KEEP_CONNECTIONS_OPEN_DEBUG], [1], [Do not set this])
|
||||||
|
;;
|
||||||
|
no)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
AC_ARG_ENABLE(tcp-fastopen, AC_HELP_STRING([--disable-tcp-fastopen], Disable TCP Fast Open (default=enabled if available)),
|
AC_ARG_ENABLE(tcp-fastopen, AC_HELP_STRING([--disable-tcp-fastopen], Disable TCP Fast Open (default=enabled if available)),
|
||||||
enable_tcp_fastopen="$enableval", enable_tcp_fastopen=yes)
|
enable_tcp_fastopen="$enableval", enable_tcp_fastopen=yes)
|
||||||
|
|
Loading…
Reference in New Issue