]> git.ipfire.org Git - thirdparty/pdns.git/blame - m4/pdns_enable_ixfrdist.m4
Merge pull request #8116 from rgacogne/dnsdist-fix-regression-tests-py2
[thirdparty/pdns.git] / m4 / pdns_enable_ixfrdist.m4
CommitLineData
ca28add0
PL
1AC_DEFUN([PDNS_ENABLE_IXFRDIST], [
2 AC_MSG_CHECKING([whether we will be building ixfrdist])
61eaf0bb
JS
3 AC_ARG_ENABLE([ixfrdist],
4 [AS_HELP_STRING([--enable-ixfrdist], [if we should build and install ixfrdist @<:@default=no@:>@])
ca28add0
PL
5 ], [
6 enable_ixfrdist=$enableval
7 ], [
8 enable_ixfrdist=no
9 ])
10
11 AC_MSG_RESULT([$enable_ixfrdist])
12 AM_CONDITIONAL([IXFRDIST], [test "x$enable_ixfrdist" != "xno"])
13 AS_IF([test "x$enable_ixfrdist" != "xno"], [
14 PKG_CHECK_MODULES([YAML], [yaml-cpp >= 0.5], [ : ], [
15 AC_MSG_ERROR([Could not find yaml-cpp >= 0.5, required for ixfrdist])
16 ])
17 ])
18])