summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 43d416ed..b228feaf 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -264,8 +264,6 @@ gdm_xdmcp_chooser_slave_LDADD = \
gdm_session_worker_SOURCES = \
session-worker-main.c \
- ck-connector.h \
- ck-connector.c \
gdm-session-settings.h \
gdm-session-settings.c \
gdm-session-auditor.h \
@@ -274,6 +272,12 @@ gdm_session_worker_SOURCES = \
gdm-session-worker.c \
$(NULL)
+if WITH_CONSOLE_KIT
+gdm_session_worker_SOURCES += \
+ ck-connector.h \
+ ck-connector.c
+endif
+
if HAVE_LIBAUDIT
gdm_session_worker_SOURCES += gdm-session-linux-auditor.h \
gdm-session-linux-auditor.c