aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-04-16 18:15:25 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-04-16 18:23:01 +0200
commitc89b589a586e97ad875fbdd1d41f03979157ebb0 (patch)
tree57522279f7c2e0fb2111da6fb2c2bd2f3d49df7d
parent5c092d37f34c4986aa0a132bba218e5d15b45ebd (diff)
downloadbluez-c89b589a586e97ad875fbdd1d41f03979157ebb0.tar.gz
bluez-c89b589a586e97ad875fbdd1d41f03979157ebb0.tar.xz
bluez-c89b589a586e97ad875fbdd1d41f03979157ebb0.zip
build: Require D-Bus 1.4 or later
-rw-r--r--acinclude.m411
1 files changed, 2 insertions, 9 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 429e466f..d83e2e9d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -92,15 +92,8 @@ AC_DEFUN([AC_INIT_BLUEZ], [
])
AC_DEFUN([AC_PATH_DBUS], [
- PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes,
- AC_MSG_ERROR(D-Bus library is required))
- AC_CHECK_LIB(dbus-1, dbus_watch_get_unix_fd, dummy=yes,
- AC_DEFINE(NEED_DBUS_WATCH_GET_UNIX_FD, 1,
- [Define to 1 if you need the dbus_watch_get_unix_fd() function.]))
- AC_CHECK_LIB(dbus-1, dbus_connection_can_send_type, dummy=yes,
- AC_DEFINE(NEED_DBUS_CONNECTION_CAN_SEND_TYPE, 1,
- [Define to 1 if you need the dbus_connection_can_send_type() function.]
-))
+ PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.4, dummy=yes,
+ AC_MSG_ERROR(D-Bus >= 1.4 is required))
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
])