summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-30 20:18:48 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-30 20:18:48 +0100
commit626851be97b4332fc0401d754c81ae7bbc0f5dc4 (patch)
treee164c6cbc5722fa8ba5eb41968f5645964260b47 /autogen.sh
parent4734b895641bd1cfb47b2eb62b0ce3f2565aa578 (diff)
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.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 9869c156ae..d0a2f3fee2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -54,10 +54,10 @@ args="$args \
fi
if [ "x$1" = "xc" ]; then
- ./configure CFLAGS='-g -O0' $args
+ ./configure CFLAGS='-g -O0' --enable-kdbus $args
make clean
elif [ "x$1" = "xg" ]; then
- ./configure CFLAGS='-g -Og' $args
+ ./configure CFLAGS='-g -Og' --enable-kdbus $args
make clean
else
echo
@@ -65,6 +65,6 @@ else
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
- echo "./configure CFLAGS='-g -O0' $args"
+ echo "./configure CFLAGS='-g -O0' --enable-kdbus $args"
echo
fi