aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2007-12-03 22:04:33 +0000
committerMagnus Henoch <[email protected]>2007-12-03 22:04:33 +0000
commitcffe49096c0ad784de45d58602b7f52f6d67ffe0 (patch)
tree85d193ae896dfdd98eaa6d87125b0282f5776523 /configure.in
parentbedb08d44f3c32dae97693e3f095f1cfdfc66622 (diff)
* configure.in: Use PKG_CHECK_MODULES to check for D-Bus.
* configure: Regenerate.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 9ddc30fdaf..c41db750d6 100644
--- a/configure.in
+++ b/configure.in
@@ -2264,13 +2264,9 @@ dnl other platforms. Support for higher D-Bus versions but 1.0 is
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