summaryrefslogtreecommitdiffstats
path: root/modules/dnstap
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2019-02-05 18:04:46 +0100
committerTomas Krizek <tomas.krizek@nic.cz>2019-03-12 10:43:22 +0100
commit3e0abb45f0210e8b94af95474f2d0400d0ee8381 (patch)
tree585fa013d19556f3b05bdb1d287e6e467d78d062 /modules/dnstap
parentmeson: cleanup (diff)
downloadknot-resolver-3e0abb45f0210e8b94af95474f2d0400d0ee8381.tar.xz
knot-resolver-3e0abb45f0210e8b94af95474f2d0400d0ee8381.zip
meson: organize dependencies
Diffstat (limited to 'modules/dnstap')
-rw-r--r--modules/dnstap/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/dnstap/meson.build b/modules/dnstap/meson.build
index 78c459f2..2db216c3 100644
--- a/modules/dnstap/meson.build
+++ b/modules/dnstap/meson.build
@@ -5,15 +5,15 @@ dnstap_src = [
]
## dnstap dependencies
+message('--- dnstap module dependencies ---')
libprotobuf_c = dependency('libprotobuf-c', version: '>=1', required: false)
libfstrm = dependency('libfstrm', version: '>=0.2', required: false)
protoc_c = find_program('protoc-c', required: false)
+message('----------------------------------')
# build dnstap if deps are found
-if not libprotobuf_c.found() or not libfstrm.found() or not protoc_c.found()
- message('dnstap module: skipping build')
-else
+if libprotobuf_c.found() and libfstrm.found() and protoc_c.found()
# generate protobuf-c sources using protoc-c
dnstap_pb = custom_target(
'dnstap_pb',