Changes since v1: * Added check for bluez headers for native backend (thanks to pmeerw) * Added module argument that can choose between native, ofono and auto behaviour I'm glad if this set makes into 6.0rc1 David Henningsson (5): bluez 5: Build both headset backends, if available bluez 5: Load the native headset backend if the oFono one is unavailable bluez 5: Fix a debug message bluez 5: remove null headset backend bluetooth: Select headset backend through module argument configure.ac | 33 ++++++++++------- src/Makefile.am | 12 +++++-- src/modules/bluetooth/backend-native.c | 6 ++-- src/modules/bluetooth/backend-null.c | 37 ------------------- src/modules/bluetooth/backend-ofono.c | 30 +++++++++------- src/modules/bluetooth/bluez5-util.c | 43 ++++++++++++++++++----- src/modules/bluetooth/bluez5-util.h | 28 +++++++++++++-- src/modules/bluetooth/module-bluetooth-discover.c | 5 ++- src/modules/bluetooth/module-bluez5-discover.c | 39 +++++++++++++++++++- 9 files changed, 151 insertions(+), 82 deletions(-) delete mode 100644 src/modules/bluetooth/backend-null.c -- 1.9.1