meson: Add optional Async NS support

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-21 16:22:59 +07:00 committed by Arun Raghavan
parent 35bd2e70f9
commit 6eba2f823d
3 changed files with 9 additions and 1 deletions

View file

@ -263,6 +263,11 @@ if alsa_dep.found()
cdata.set('HAVE_ALSA_UCM', 1)
endif
asyncns_dep = dependency('libasyncns', version : '>= 0.1', required : get_option('asyncns'))
if asyncns_dep.found()
cdata.set('HAVE_LIBASYNCNS', 1)
endif
systemd_dep = dependency('libsystemd', required : get_option('systemd'))
if systemd_dep.found()
cdata.set('HAVE_SYSTEMD_DAEMON', 1)