diff options
author | OBATA Akio <obache@wizdas.com> | 2019-02-11 18:11:07 +0900 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2019-02-11 16:30:31 +0000 |
commit | 6326fec9f14f8b4288fc1822007ef7cd06339f7a (patch) | |
tree | 3f5b65d56d5b1ae8fe37d2ea2286d1053157c165 | |
parent | 28d80743c0fcd9c9ca9bdccd78d3c052dc9b43de (diff) | |
download | tdebase-6326fec9f14f8b4288fc1822007ef7cd06339f7a.tar.gz tdebase-6326fec9f14f8b4288fc1822007ef7cd06339f7a.zip |
Port HAVE_SYS_TIME_H to CMake
It is used, but not checked with CMake.
Signed-off-by: OBATA Akio <obache@wizdas.com>
-rw-r--r-- | ConfigureChecks.cmake | 6 | ||||
-rw-r--r-- | config.h.cmake | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 85ecd47bc..8969b6789 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 ) diff --git a/config.h.cmake b/config.h.cmake index 30828ca62..96c81a785 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -50,6 +50,9 @@ // tdm, tdeioslave #cmakedefine HAVE_TERMIOS_H 1 +// tdeioslave/sftp, ksmserver, ksplashml +#cmakedefine HAVE_SYS_TIME_H 1 + // drkonqi #cmakedefine HAVE_STDINT_H 1 #cmakedefine HAVE_SYS_BITYPES_H |