]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: ixfrdist
authorFred Morcos <fred.morcos@open-xchange.com>
Thu, 27 Jul 2023 10:03:03 +0000 (12:03 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:30 +0000 (13:28 +0100)
meson.build
meson/ixfrdist/meson.build [new file with mode: 0644]
meson_options.txt

index e79b2e6d5cc8e6127eb454d738de0e0aa7360167..ce1e831875dbb6fa7a5d2644c97ae769b9720246 100644 (file)
@@ -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 (file)
index 0000000..41dab75
--- /dev/null
@@ -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')
index 9e1ebda8639fd163f7683c7b21f55971d58c8bf5..7322971447a840d04716dd8d9dc187487061eb51 100644 (file)
@@ -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')