]>
Commit | Line | Data |
---|---|---|
8ffe1c55 RK |
1 | AC_DEFUN([PDNS_ENABLE_VERBOSE_LOGGING],[ |
2 | AC_MSG_CHECKING([whether to enable verbose logging]) | |
3 | ||
4 | AC_ARG_ENABLE([verbose-logging], | |
5 | AS_HELP_STRING([--enable-verbose-logging], | |
6 | [enable verbose logging @<:@default=no@:>@] | |
7 | ), | |
fd9b086f | 8 | [enable_verbose_logging=$enableval], |
8ffe1c55 RK |
9 | [enable_verbose_logging=no] |
10 | ) | |
11 | ||
fd9b086f | 12 | AS_IF([test "x$enable_verbose_logging" != "xno"], |
8ffe1c55 RK |
13 | [AC_DEFINE([VERBOSELOG], [1], [Define to 1 if verbose logging is enabled])] |
14 | ) | |
15 | ||
16 | AC_MSG_RESULT([$enable_verbose_logging]) | |
17 | ]) |