chiark / gitweb /
bus: do kdbus only if this is enabled on the configure switch
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Nov 2013 19:18:48 +0000 (20:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 30 Nov 2013 19:18:48 +0000 (20:18 +0100)
commit626851be97b4332fc0401d754c81ae7bbc0f5dc4
treee164c6cbc5722fa8ba5eb41968f5645964260b47
parent4734b895641bd1cfb47b2eb62b0ce3f2565aa578
bus: do kdbus only if this is enabled on the configure switch

Since we want to retain the ability to break kernel ←→ userspace ABI
after the next release, let's not make use by default of kdbus, so that
people with future kernels will not suddenly break with current systemd
versions.

kdbus support is left in all builds but must now be explicitly requested
at runtime (for example via setting $DBUS_SESSION_BUS). Via a configure
switch the old behaviour can be restored. In fact, we change autogen.sh
to do this, so that git builds (which run autogen.sh) get kdbus by
default, but tarball builds (which ue the configure defaults) do not get
it, and hence this stays out of the distros by default.
TODO
autogen.sh
configure.ac
src/core/manager.c
src/libsystemd-bus/sd-bus.c