aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-12-03 14:00:06 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-12-03 14:00:06 +0100
commitb14df297fa72a9c40a6548b11e70185877abe0de (patch)
tree9bcbdd0de87f33039cfc57e9be659bf79dc0b208 /ConfigureChecks.cmake
parent3896aa43ffe5d4e55f42065529ecaa8fdb39ed04 (diff)
downloadlibssh-b14df297fa72a9c40a6548b11e70185877abe0de.tar.gz
libssh-b14df297fa72a9c40a6548b11e70185877abe0de.tar.xz
libssh-b14df297fa72a9c40a6548b11e70185877abe0de.zip
BUG 97: Fix strtoull() detection on serveral platforms.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index dba176ed..b0485d98 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -139,6 +139,8 @@ if (UNIX)
check_function_exists(cfmakeraw HAVE_CFMAKERAW)
check_function_exists(ntohll HAVE_NTOHLL)
check_function_exists(htonll HAVE_HTONLL)
+ check_function_exists(strtoull HAVE_STRTOULL)
+ check_function_exists(__strtoull HAVE___STRTOULL)
endif (UNIX)
set(LIBSSH_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} CACHE INTERNAL "libssh required system libraries")