(submit/drop-hal) xfree86: consolidate dbus and systemd-logind probing

dbus is only needed for systemd-logind support, so no need for
having separate symbols.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-05-13 17:17:41 +02:00
parent 8d5ad4aafb
commit ca46ff2845
4 changed files with 2 additions and 6 deletions

View File

@@ -26,7 +26,7 @@
#ifndef DBUS_CORE_H
#define DBUS_CORE_H
#ifdef NEED_DBUS
#ifdef SYSTEMD_LOGIND
#include <dbus/dbus.h>
typedef void (*dbus_core_connect_hook) (DBusConnection * connection,

View File

@@ -4,7 +4,7 @@ srcs_config = [
config_dep = [common_dep]
if build_dbus
if build_systemd_logind
srcs_config += 'dbus-core.c'
config_dep += dbus_dep
endif