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

# FIXME: KSCREENSAVER_PAM_SERVICE should be "kde" or "kscreensaver"?

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

if( WITH_KDESKTOP_LOCK_BACKTRACE )
  check_include_files( "bfd.h;demangle.h;libiberty.h" HAVE_BINUTILS_DEV )
  if( NOT HAVE_BINUTILS_DEV )
    tde_message_fatal( "binutils-dev are required, but not found on your system" )
  endif( )
endif( )