summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-16 18:34:57 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-16 18:34:57 +0000
commitc66fb6fbdadddf18d80127fc600f605c27207af9 (patch)
tree9368d003517fc53fdef7483edc991faae08c67ed
parent980b72e4c127c6ae70aeaa764e25d44d353c8231 (diff)
downloadtdebase-c66fb6fbdadddf18d80127fc600f605c27207af9.tar.gz
tdebase-c66fb6fbdadddf18d80127fc600f605c27207af9.zip
[kdebase/kdm] KDM_PAM_SERVICE is user defineable now
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1225070 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--config.h.cmake2
-rw-r--r--kdm/CMakeLists.txt4
2 files changed, 5 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake
index d7e2b4dd6..7b3372f09 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -131,7 +131,7 @@
#cmakedefine DEV_RANDOM "@DEV_RANDOM@"
#cmakedefine USE_PAM 1
-#define KDM_PAM_SERVICE "kde"
+#cmakedefine KDM_PAM_SERVICE "@KDM_PAM_SERVICE@"
#define USESHADOW 1
#define HAVE_SHADOW 1
diff --git a/kdm/CMakeLists.txt b/kdm/CMakeLists.txt
index 73bcba446..0e7a32789 100644
--- a/kdm/CMakeLists.txt
+++ b/kdm/CMakeLists.txt
@@ -13,6 +13,10 @@
# FIXME needs more checks (for kerberos, etc)
# FIXME Xsession need some improvements
+if( NOT DEFINED KDM_PAM_SERVICE )
+ set( KDM_PAM_SERVICE "kde" CACHE INTERNAL "" )
+endif( )
+
include( ConfigureChecks.cmake )
add_subdirectory( backend )