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])
5 [AS_HELP_STRING([--enable-tools], [if we should build and install the tools @<:@default=no@:>@])],
6 [enable_tools=$enableval],
9 AC_MSG_RESULT([$enable_tools])
11 AM_CONDITIONAL([TOOLS], [test "x$enable_tools" != "xno"])