summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-27 01:27:22 +0200
committerLennart Poettering <lennart@poettering.net>2012-02-07 22:57:10 +0100
commitc77c03e6ca67ea670de89babbbfd9648b2fec9bd (patch)
tree416971c65747685915c9a5a8760cb6cc342d0f8e
parenta58b27ff573109f0d9a8971fbc80e797d6cc2733 (diff)
downloadgdm-c77c03e6ca67ea670de89babbbfd9648b2fec9bd.tar.gz
build-sys: make CK support optional
-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