]> git.ipfire.org Git - thirdparty/dbus.git/commit
Check for X even if X11 autolaunching is disabled
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 25 Feb 2011 12:49:54 +0000 (12:49 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 25 May 2011 16:38:44 +0000 (17:38 +0100)
commitcea055514a9dfc74e7f0515cf4a256da10a891bc
tree7eebfffd15b9a50bb940df402aeef5fc982a85b5
parent2bfac1b73d7aa1524452a16ff85a025c61883f8a
Check for X even if X11 autolaunching is disabled

DBUS_ENABLE_X11_AUTOLAUNCH obviously requires DBUS_BUILD_X11. However,
the converse is not true.

If DBUS_BUILD_X11 is defined, dbus-launch will be able to connect to
the X server to determine when the session ends; most distributors will
want this, but it can be disabled with the standard Autoconf option
--without-x.

If DBUS_ENABLE_X11_AUTOLAUNCH is *also* defined, dbus-launch and libdbus
will be willing to perform autolaunch. Again, most distributors will want
this, but it can be disabled with --disable-x11-autolaunch.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19997
Reviewed-by: Colin Walters <walters@verbum.org>
cmake/config.h.cmake
configure.ac
dbus/dbus-sysdeps-unix.c
test/name-test/test-autolaunch.c
tools/dbus-launch.c