summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-02-11 18:11:07 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-02-11 17:30:58 +0100
commitb3f41d271fd19a40f88ebc324c744a5500157fa0 (patch)
tree850a084941b3c0447f8b853750fdd10ce5864bba /ConfigureChecks.cmake
parent88664174b921ceb3a48aed70d4111d462d1c7acb (diff)
downloadtdebase-b3f41d271fd19a40f88ebc324c744a5500157fa0.tar.gz
tdebase-b3f41d271fd19a40f88ebc324c744a5500157fa0.zip
Port HAVE_SYS_TIME_H to CMake
It is used, but not checked with CMake. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 6326fec9f14f8b4288fc1822007ef7cd06339f7a)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 5af31a2ae..8c367ab22 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -67,6 +67,12 @@ if( BUILD_DRKONQI OR BUILD_TDEIOSLAVES )
endif( )
+# sys/time.h (tdeioslave/sftp, ksmserver, ksplashml)
+if( BUILD_KSMSERVER OR BUILD_KSPLASHML OR BUILD_TDEIOSLAVES)
+ check_include_file( sys/time.h HAVE_SYS_TIME_H )
+endif( )
+
+
# pam
if( WITH_PAM AND (BUILD_KCHECKPASS OR BUILD_TDM) )
check_library_exists( pam pam_start "" HAVE_PAM )