diff options
author | Kay Sievers <kay@vrfy.org> | 2015-06-17 16:37:55 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-06-17 18:01:49 +0200 |
commit | 1b09f548c7f303b486b5b1321c06336bff72ada4 (patch) | |
tree | 0fda8c2849b2226ba773dcdc7d7d15132dbac5f6 /src/core/manager.c | |
parent | a54941f1b47507e1609f0d8eb224f5a5a5732c0e (diff) |
turn kdbus support into a runtime option
./configure --enable/disable-kdbus can be used to set the default
behavior regarding kdbus.
If no kdbus kernel support is available, dbus-dameon will be used.
With --enable-kdbus, the kernel command line option "kdbus=0" can
be used to disable kdbus.
With --disable-kdbus, the kernel command line option "kdbus=1" is
required to enable kdbus support.
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index eb80dd1b46..a1f37bbbb3 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -731,7 +731,6 @@ static int manager_setup_notify(Manager *m) { } static int manager_setup_kdbus(Manager *m) { -#ifdef ENABLE_KDBUS _cleanup_free_ char *p = NULL; assert(m); @@ -749,7 +748,6 @@ static int manager_setup_kdbus(Manager *m) { return log_debug_errno(m->kdbus_fd, "Failed to set up kdbus: %m"); log_debug("Successfully set up kdbus on %s", p); -#endif return 0; } |