File: pdns_enable_tools.m4

package info (click to toggle)
pdns 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,824 kB
  • sloc: cpp: 101,240; sh: 5,616; makefile: 2,318; sql: 860; ansic: 675; python: 635; yacc: 245; perl: 161; lex: 131
file content (12 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
AC_DEFUN([PDNS_ENABLE_TOOLS], [
  AC_REQUIRE([PDNS_CHECK_LIBCURL]) dnl We only care about the #define HAVE_LIBCURL and can build tools without DOH support.
  AC_MSG_CHECKING([whether we will be building and installing the extra tools])
  AC_ARG_ENABLE([tools],
    [AS_HELP_STRING([--enable-tools], [if we should build and install the tools @<:@default=no@:>@])],
    [enable_tools=$enableval],
    [enable_tools=no]
    )
  AC_MSG_RESULT([$enable_tools])

  AM_CONDITIONAL([TOOLS], [test "x$enable_tools" != "xno"])
])