Hi Andrew,
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))
patch has been applied, but I did remove the --disable-bluetooth comment
since that is kinda obvious.
You need to know what you are doing when building the source code. The
decision to have or not have a feature doesn't really depend on if you
installed a library or not.
Regards
Marcel