Check for dbus_connection_can_send_type() function
diff --git a/acinclude.m4 b/acinclude.m4
index 7ce2588..65c1d90 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -98,6 +98,10 @@
 	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)
 ])