bluez5: Make native and ofono backends optional

This commit is contained in:
Frédéric Danis 2020-07-22 14:50:38 +02:00 committed by Wim Taymans
parent ebdaac160c
commit db0c224b06
5 changed files with 55 additions and 4 deletions

View file

@ -254,6 +254,15 @@ if get_option('systemd')
endif
endif
if get_option('bluez5')
if get_option('bluez5-backend-native')
cdata.set('HAVE_BLUEZ_5_BACKEND_NATIVE', 1)
endif
if get_option('bluez5-backend-ofono')
cdata.set('HAVE_BLUEZ_5_BACKEND_OFONO', 1)
endif
endif
configure_file(input : 'config.h.meson',
output : 'config.h',
configuration : cdata)