]>
Commit | Line | Data |
---|---|---|
b488c73c | 1 | AC_DEFUN([PDNS_ENABLE_TOOLS], [ |
1fab833c | 2 | AC_REQUIRE([PDNS_CHECK_LIBCURL]) dnl We only care about the #define HAVE_LIBCURL and can build tools without DOH support. |
b488c73c PL |
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"]) | |
b488c73c | 12 | ]) |