summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/Makefile.am2
-rw-r--r--config/config-backends.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/Makefile.am b/config/Makefile.am
index 056f30ed0..1e7c501c3 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -3,7 +3,7 @@ AM_CFLAGS = @DIX_CFLAGS@
noinst_LIBRARIES = libconfig.a
libconfig_a_SOURCES = config.c config-backends.h
-if HAVE_DBUS
+if CONFIG_NEED_DBUS
AM_CFLAGS += @DBUS_CFLAGS@
libconfig_a_SOURCES += dbus-core.c
endif
diff --git a/config/config-backends.h b/config/config-backends.h
index ce0e5e436..907e86b9c 100644
--- a/config/config-backends.h
+++ b/config/config-backends.h
@@ -27,7 +27,7 @@
#include <dix-config.h>
#endif
-#ifdef HAVE_DBUS
+#ifdef CONFIG_NEED_DBUS
#include <dbus/dbus.h>
typedef void (*config_dbus_core_connect_hook)(DBusConnection *connection,