From: Fred Morcos Date: Thu, 27 Jul 2023 10:03:03 +0000 (+0200) Subject: Meson: ixfrdist X-Git-Tag: rec-5.1.0-alpha1~80^2~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=322e120f963c3aecaf28c0d07842fc50fbf8b356;p=thirdparty%2Fpdns.git Meson: ixfrdist --- diff --git a/meson.build b/meson.build index e79b2e6d5c..ce1e831875 100644 --- a/meson.build +++ b/meson.build @@ -58,6 +58,7 @@ subdir('meson/verbose-logging') # Verbose Logging subdir('meson/pkcs11') # PKCS11 subdir('meson/gss-tsig') # GSS-TSIG subdir('meson/auth-tools') # Tools +subdir('meson/ixfrdist') # Ixfrdist # Find or generate pdns/dnslabeltext.cc if not ragel.found() and not fs.exists('pdns/dnslabeltext.cc') diff --git a/meson/ixfrdist/meson.build b/meson/ixfrdist/meson.build new file mode 100644 index 0000000000..41dab753fd --- /dev/null +++ b/meson/ixfrdist/meson.build @@ -0,0 +1,7 @@ +# Ixfrdist +# Inputs: deps conf + +opt_ixfrdist = get_option('ixfrdist') +deps += dependency('yaml-cpp', version: '>= 0.5', required: opt_ixfrdist) +conf.set10('IXFRDIST', opt_ixfrdist, description: 'Whether to build ixfrdist') +summary('Build `ixfrdist`', opt_ixfrdist, section: 'Configuration') diff --git a/meson_options.txt b/meson_options.txt index 9e1ebda863..7322971447 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -36,3 +36,4 @@ option('module-geoip-dyn', type: 'boolean', value: false, description: 'Build th option('module-lmdb', type: 'boolean', value: false, description: 'Build the LMDB backend') option('module-lmdb-dyn', type: 'boolean', value: false, description: 'Build the dynamically loadable LMDB backend') option('tools', type: 'boolean', value: false, description: 'Build the extra tools') +option('ixfrdist', type: 'boolean', value: false, description: 'Build ixfrdist')