mirror of git://git.sysmocom.de/ofono
configure: Check for bluez >= 4.30.
Earlier versions lack struct sockaddr_l2::l2_cid and/or struct bt_security.
This commit is contained in:
parent
817c1e2a34
commit
7d63b41ca5
|
@ -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(Bluetooth library >= 4.30 is required))
|
||||
fi
|
||||
AC_SUBST(BLUEZ_CFLAGS)
|
||||
AC_SUBST(BLUEZ_LIBS)
|
||||
|
|
Loading…
Reference in New Issue