Check for dbus_connection_can_send_type() function

This commit is contained in:
Marcel Holtmann 2010-01-30 08:25:32 -08:00
parent 4d6eaa7404
commit 2be55c9af3
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes,
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)