summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-06-13 15:42:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-06-14 10:09:16 +0900
commitdb393cecda8713cd4e5504db1bf050ba3579a319 (patch)
tree9434c669012817d84b7ecdd9dc0f24730ee6a3a7 /ConfigureChecks.cmake
parentd94ac462c97564525e40d2167221607b7ced0dc8 (diff)
downloadtdepim-db393cecda8713cd4e5504db1bf050ba3579a319.tar.gz
tdepim-db393cecda8713cd4e5504db1bf050ba3579a319.zip
Fix missing feature detection for Groupwise SOAP interface
Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 61748c54dc86fffa111e30024e075ef403cf7af8)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 09fc71ff..2f158cd9 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 )