mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
meson: Make hal-compat optional
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
912a62c561
commit
90eec5ab36
3 changed files with 10 additions and 1 deletions
|
|
@ -259,6 +259,10 @@ if cc.has_header('sys/soundcard.h')
|
|||
cdata.set_quoted('PULSEDSP_LOCATION', pulsedspdir)
|
||||
endif
|
||||
|
||||
if get_option('hal-compat')
|
||||
cdata.set('HAVE_HAL_COMPAT', 1)
|
||||
endif
|
||||
|
||||
avahi_dep = dependency('avahi-client', version : '>= 0.6.0', required : get_option('avahi'))
|
||||
if avahi_dep.found()
|
||||
cdata.set('HAVE_AVAHI', 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue