summaryrefslogtreecommitdiffstats
path: root/kdesktop/ConfigureChecks.cmake
blob: 9e59185a4c0133e97194c9dddcbdb691afd96768 (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 "tdescreensaver"?

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( )