Browse Source

Port HAVE_SYS_TIME_H to CMake

It is used, but not checked with CMake.

Signed-off-by: OBATA Akio <obache@wizdas.com>
feat/fix-suspend-code
OBATA Akio 7 months ago
parent
commit
6326fec9f1
2 changed files with 9 additions and 0 deletions
  1. 6
    0
      ConfigureChecks.cmake
  2. 3
    0
      config.h.cmake

+ 6
- 0
ConfigureChecks.cmake View File

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

+ 3
- 0
config.h.cmake View File

@@ -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

Loading…
Cancel
Save