summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppymaster@gmail.com>2016-12-20 04:53:53 -0500
committerLennart Poettering <lennart@poettering.net>2016-12-20 10:53:53 +0100
commitecf4f0a8def58f38a9256b6616efc237706da08e (patch)
treebf1be1d7c0906619523944cb4c33ef3ca672d3cf
parent1bb67eb21abff835aa12429f4bc93428034eb34b (diff)
build-sys: revert dbus >= 1.9.18 requirement (#4924)
Instead, document the necessary step to utilize older dbus versions.
-rw-r--r--README4
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index f7ccac8b0b..a5ce54bec7 100644
--- a/README
+++ b/README
@@ -142,7 +142,9 @@ REQUIREMENTS:
dependencies:
util-linux >= v2.27.1 required
- dbus >= 1.9.18 (strictly speaking optional, but recommended)
+ dbus >= 1.4.0 (strictly speaking optional, but recommended)
+ NOTE: If using dbus < 1.9.18, you should override the default
+ policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d).
dracut (optional)
PolicyKit (optional)
diff --git a/configure.ac b/configure.ac
index a071bfa69e..11bd46cbab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -364,7 +364,7 @@ m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-conf
have_dbus=no
AC_ARG_ENABLE(dbus, AS_HELP_STRING([--disable-dbus], [disable usage of dbus-1 in tests]))
AS_IF([test "x$enable_dbus" != "xno"], [
- PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.9.18],
+ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2],
[AC_DEFINE(HAVE_DBUS, 1, [Define if dbus-1 library is available]) have_dbus=yes],
[have_dbus=no])
AS_IF([test "x$have_dbus" = "xno" -a "x$enable_dbus" = "xyes"],