diff options
author | Tomas Krizek <tomas.krizek@nic.cz> | 2019-02-05 18:04:46 +0100 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2019-03-12 10:43:22 +0100 |
commit | 3e0abb45f0210e8b94af95474f2d0400d0ee8381 (patch) | |
tree | 585fa013d19556f3b05bdb1d287e6e467d78d062 /modules/dnstap | |
parent | meson: cleanup (diff) | |
download | knot-resolver-3e0abb45f0210e8b94af95474f2d0400d0ee8381.tar.xz knot-resolver-3e0abb45f0210e8b94af95474f2d0400d0ee8381.zip |
meson: organize dependencies
Diffstat (limited to 'modules/dnstap')
-rw-r--r-- | modules/dnstap/meson.build | 6 |
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', |