summaryrefslogtreecommitdiffstats
path: root/kcheckpass/ConfigureChecks.cmake
blob: 902e6628d82458464bdc4e52bf3475b2db6223d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

if( WITH_PAM AND (NOT DEFINED KCHECKPASS_PAM_SERVICE) )
  set( KCHECKPASS_PAM_SERVICE "kde" CACHE INTERNAL "" )
endif( )

if( NOT WITH_PAM AND WITH_SHADOW )
  check_function_exists( pw_encrypt HAVE_PW_ENCRYPT )
endif( )