]> git.ipfire.org Git - thirdparty/pdns.git/blob - m4/pdns_enable_tools.m4
catch name & IP parse errors during outgoing notify preparations
[thirdparty/pdns.git] / m4 / pdns_enable_tools.m4
1 AC_DEFUN([PDNS_ENABLE_TOOLS], [
2 AC_REQUIRE([PDNS_CHECK_LIBCURL]) dnl We only care about the #define HAVE_LIBCURL and can build tools without DOH support.
3 AC_MSG_CHECKING([whether we will be building and installing the extra tools])
4 AC_ARG_ENABLE([tools],
5 [AS_HELP_STRING([--enable-tools], [if we should build and install the tools @<:@default=no@:>@])],
6 [enable_tools=$enableval],
7 [enable_tools=no]
8 )
9 AC_MSG_RESULT([$enable_tools])
10
11 AM_CONDITIONAL([TOOLS], [test "x$enable_tools" != "xno"])
12 ])