[gdm] build-sys: make CK support optional



commit c77c03e6ca67ea670de89babbbfd9648b2fec9bd
Author: Lennart Poettering <lennart poettering net>
Date:   Wed Jul 27 01:27:22 2011 +0200

    build-sys: make CK support optional

 daemon/Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 43d416e..b228fea 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]