X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=4ae51729d2b4533cdbcf318e54e55d8fcc17688b;hb=05b0b1d0aad6b9613fff841000815a05486f130b;hp=65c0b116ad035969f02cca21f7ed54772fb3411a;hpb=dbd6c48a552238d33e80a703feb901ade0c1a2b8;p=catta diff --git a/configure.ac b/configure.ac index 65c0b11..4ae5172 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,7 @@ AC_ARG_ENABLE(dbus, if test "x$ENABLE_DBUS" = "xyes"; then AC_DEFINE(ENABLE_DBUS, 1, [Whether to use DBUS or not]) - PKG_CHECK_MODULES(DBUS, [ dbus-glib-1 >= 0.23]) + PKG_CHECK_MODULES(DBUS, [ dbus-glib-1 >= 0.30]) AC_ARG_WITH(dbus-sys, [ --with-dbus-sys= where D-BUS system.d directory is]) @@ -137,10 +137,6 @@ if test "x$ENABLE_DBUS" = "xyes"; then AC_SUBST(DBUS_SYS_DIR) AC_DEFINE_UNQUOTED(DBUS_SYSTEMD_DIR, `eval echo $DBUS_SYS_DIR` , [Where system.d dir for DBUS is]) - if pkg-config dbus-1 --atleast-version=0.30 ; then - AC_DEFINE(DBUS_USE_NEW_API, 1, [Whether to use the new API for DBUS 0.30]) - fi - AC_SUBST(DBUS_CFLAGS) AC_SUBST(DBUS_LIBS) fi