diff options
author | OBATA Akio <obache@wizdas.com> | 2021-06-13 15:42:18 +0900 |
---|---|---|
committer | OBATA Akio <obache@wizdas.com> | 2021-06-13 19:17:17 +0900 |
commit | 61748c54dc86fffa111e30024e075ef403cf7af8 (patch) | |
tree | de3001ccfba5f223072a940f6c9cdad13bbee7d6 | |
parent | dea6d6ca6a8829238eea25559dd2c9a87fddca87 (diff) | |
download | tdepim-61748c54dc86fffa111e30024e075ef403cf7af8.tar.gz tdepim-61748c54dc86fffa111e30024e075ef403cf7af8.zip |
Fix missing feature detection for Groupwise SOAP interface
Signed-off-by: OBATA Akio <obache@wizdas.com>
-rw-r--r-- | ConfigureChecks.cmake | 19 | ||||
-rw-r--r-- | config.h.cmake | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 09fc71fff..2f158cd99 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -244,6 +244,25 @@ if( BUILD_KARM AND WITH_XSCREENSAVER ) endif( ) endif( ) +if( BUILD_TDERESOURCES AND WITH_GROUPWISE ) + check_symbol_exists( strrchr "string.h" HAVE_STRRCHR ) + check_symbol_exists( strtod "stdlib.h" HAVE_STRTOD ) + check_symbol_exists( sscanf "stdio.h" HAVE_SSCANF ) + check_symbol_exists( strtol "stdlib.h" HAVE_STRTOL ) + check_symbol_exists( strtoul "stdlib.h" HAVE_STRTOUL ) + check_symbol_exists( strtoll "stdlib.h" HAVE_STRTOLL ) + check_symbol_exists( strtoull "stdlib.h" HAVE_STRTOULL ) + check_symbol_exists( gettimeofday "sys/time.h" HAVE_GETTIMEOFDAY ) + check_include_file( "sys/timeb.h" HAVE_SYS_TIMEB_H ) + check_symbol_exists( ftime "sys/timeb.h" HAVE_FTIME ) + check_symbol_exists( rand_r "stdlib.h" HAVE_RAND_R ) + check_symbol_exists( gmtime_r "time.h" HAVE_GMTIME_R ) + check_symbol_exists( localtime_r "time.h" HAVE_LOCALTIME_R ) + check_symbol_exists( timegm "time.h" HAVE_TIMEGM ) + check_symbol_exists( wctomb "stdlib.h" HAVE_WCTOMB ) + check_symbol_exists( mbtowc "stdlib.h" HAVE_MBTOWC ) + check_symbol_exists( isnan "math.h" HAVE_ISNAN ) +endif ( ) # required stuff find_package( TQt ) diff --git a/config.h.cmake b/config.h.cmake index 302fc42d0..a4700493e 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -73,3 +73,22 @@ unsigned long strlcat(char*, const char*, unsigned long); } #endif #endif + +// tderesources/groupwise/soap +#cmakedefine HAVE_STRRCHR +#cmakedefine HAVE_STRTOD +#cmakedefine HAVE_SSCANF +#cmakedefine HAVE_STRTOL +#cmakedefine HAVE_STRTOUL +#cmakedefine HAVE_STRTOLL +#cmakedefine HAVE_STRTOULL +#cmakedefine HAVE_GETTIMEOFDAY +#cmakedefine HAVE_SYS_TIMEB_H +#cmakedefine HAVE_FTIME +#cmakedefine HAVE_RAND_R +#cmakedefine HAVE_GMTIME_R +#cmakedefine HAVE_LOCALTIME_R +#cmakedefine HAVE_TIMEGM +#cmakedefine HAVE_WCTOMB +#cmakedefine HAVE_MBTOWC +#cmakedefine HAVE_ISNAN |