summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-01-30 08:26:23 -0800
committerMarcel Holtmann <marcel@holtmann.org>2010-01-30 08:26:23 -0800
commit76dc6dc6194a7c8299dd04c2e1604e2f6fe69ea1 (patch)
tree33210342fa2eb115bc3059475f2a479e40415f5e /acinclude.m4
parent5fa6753bed372a74127a9bebf2569743a47317db (diff)
downloadbluez-76dc6dc6194a7c8299dd04c2e1604e2f6fe69ea1.tar.gz
Check for dbus_connection_can_send_type() function
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7ce258812..65c1d908d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -98,6 +98,10 @@ AC_DEFUN([AC_PATH_DBUS], [
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.]
+))
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
])