* configure.in (dbus_type_is_valid): Check for library function.

This commit is contained in:
Michael Albinus 2012-06-09 13:12:12 +02:00
parent e75852fd3e
commit e3a3e21331
3 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2012-06-09 Michael Albinus <michael.albinus@gmx.de>
* configure.in (dbus_type_is_valid): Check for library function.
2012-06-06 Glenn Morris <rgm@gnu.org>
* 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 <eggert@cs.ucla.edu>

View file

@ -145,6 +145,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* 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:
*/

View file

@ -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 \