From e3a3e2133197db5c1c0ba91761ba435fde3c20f2 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 9 Jun 2012 13:12:12 +0200 Subject: [PATCH] * configure.in (dbus_type_is_valid): Check for library function. --- ChangeLog | 6 +++++- autogen/config.in | 4 +++- configure.in | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6d28254d65..bb5ce514999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-06-09 Michael Albinus + + * configure.in (dbus_type_is_valid): Check for library function. + 2012-06-06 Glenn Morris * INSTALL, make-dist: Remove vcdiff. @@ -409,7 +413,7 @@ * configure.in (dbus_validate_bus_name, dbus_validate_path) (dbus_validate_interface, dbus_validate_member): Check also for - these library functions + these library functions. 2012-04-22 Paul Eggert diff --git a/autogen/config.in b/autogen/config.in index 1f731dfa7d2..31a17177504 100644 --- a/autogen/config.in +++ b/autogen/config.in @@ -145,6 +145,9 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if using D-Bus. */ #undef HAVE_DBUS +/* Define to 1 if you have the `dbus_type_is_valid' function. */ +#undef HAVE_DBUS_TYPE_IS_VALID + /* Define to 1 if you have the `dbus_validate_bus_name' function. */ #undef HAVE_DBUS_VALIDATE_BUS_NAME @@ -1407,4 +1410,3 @@ Local Variables: mode: c End: */ - diff --git a/configure.in b/configure.in index 07925142bc1..4fc151d796c 100644 --- a/configure.in +++ b/configure.in @@ -1950,8 +1950,10 @@ if test "${with_dbus}" = "yes"; then LIBS="$LIBS $DBUS_LIBS" AC_DEFINE(HAVE_DBUS, 1, [Define to 1 if using D-Bus.]) dnl dbus_watch_get_unix_fd has been introduced in D-Bus 1.1.1. - dnl dbus_validate_* have been introduced in D-Bus 1.5.12. + dnl dbus_type_is_valid and dbus_validate_* have been introduced in + dnl D-Bus 1.5.12. AC_CHECK_FUNCS(dbus_watch_get_unix_fd \ + dbus_type_is_valid \ dbus_validate_bus_name \ dbus_validate_path \ dbus_validate_interface \ -- 2.11.4.GIT