build-sys: Fix a warning related to avahi and config data

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/608>
This commit is contained in:
Arun Raghavan 2021-07-27 12:59:58 -04:00
parent 08a43be634
commit 6329a2498e

View file

@ -704,6 +704,8 @@ endif
avahi_dep = dependency('avahi-client', version : '>= 0.6.0', required : get_option('avahi'), disabler : true)
if avahi_dep.found()
cdata.set('HAVE_AVAHI', 1)
else
cdata.set('HAVE_AVAHI', 0)
endif
sbc_dep = dependency('sbc', version : '>= 1.0', required : false)