From 145112dad26f79c8d8eaa9f0f1411a49b6fb7001 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Wed, 16 Jan 2013 10:31:26 -0300 Subject: build: Add configure option for BlueZ 5 support Going forward, BlueZ 5 will be supported by default. BlueZ 4 support will have to be explicitly enabled by using '--enable-bluez4'. As before, the '--disable-bluetooth' configure option will disable all bluetooth support (BlueZ 4 and BlueZ 5) --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 0d2ba9f6..c2bd4a4a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -408,6 +408,7 @@ builtin_modules += sim900 builtin_sources += plugins/sim900.c if BLUETOOTH +if BLUEZ4 builtin_modules += bluetooth builtin_sources += plugins/bluetooth.c plugins/bluetooth.h @@ -434,6 +435,7 @@ builtin_cflags += @BLUEZ_CFLAGS@ builtin_libadd += @BLUEZ_LIBS@ endif endif +endif if PROVISION builtin_sources += plugins/mbpi.h plugins/mbpi.c @@ -742,6 +744,8 @@ tools_stktest_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ endif endif +if BLUETOOTH +if BLUEZ4 if DUNDEE sbin_PROGRAMS += dundee/dundee @@ -759,7 +763,8 @@ if SYSTEMD systemdunit_DATA += dundee/dundee.service endif endif - +endif +endif endif noinst_PROGRAMS += gatchat/gsmdial gatchat/test-server gatchat/test-qcdm -- cgit v1.2.3