Mercurial > emacs
diff configure.in @ 87016:178e4648e5d6
* configure.in: Use PKG_CHECK_MODULES to check for D-Bus.
* configure: Regenerate.
author | Magnus Henoch <mange@freemail.hu> |
---|---|
date | Mon, 03 Dec 2007 22:04:25 +0000 |
parents | ce6a9097341e |
children | a9fbc9c00be2 |
line wrap: on
line diff
--- a/configure.in Mon Dec 03 21:37:30 2007 +0000 +++ b/configure.in Mon Dec 03 22:04:25 2007 +0000 @@ -2264,13 +2264,9 @@ dnl also not configured. HAVE_DBUS=no if test "${with_dbus}" = "yes"; then - AC_CHECK_LIB(dbus-1, dbus_bus_get, HAVE_DBUS=yes) + PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, HAVE_DBUS=yes, HAVE_DBUS=no) if test "$HAVE_DBUS" = yes; then AC_DEFINE(HAVE_DBUS, 1, [Define to 1 if using D-Bus.]) - DBUS_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" - AC_SUBST(DBUS_CFLAGS) - DBUS_LIBS="-ldbus-1" - AC_SUBST(DBUS_LIBS) fi fi