Earlier versions lack struct sockaddr_l2::l2_cid and/or
struct bt_security.
---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4f0348d..810b9f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,8 +184,8 @@ AC_ARG_ENABLE(bluetooth, 
AC_HELP_STRING([--disable-bluetooth],
                                [disable Bluetooth modem support]),
                                        [enable_bluetooth=${enableval}])
 if (test "${enable_bluetooth}" != "no"); then
-       PKG_CHECK_MODULES(BLUEZ, bluez, dummy=yes,
-                               AC_MSG_ERROR(Bluetooth library is required))
+       PKG_CHECK_MODULES(BLUEZ, bluez >= 4.30, dummy=yes,
+                       AC_MSG_ERROR(Bluez >= 4.30 is required without 
--disable-bluetooth))
 fi
 AC_SUBST(BLUEZ_CFLAGS)
 AC_SUBST(BLUEZ_LIBS)
-- 
1.7.1.86.g0e460.dirty

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to