aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-22 09:23:30 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-22 13:01:36 +0200
commit729a586027d9676edc30b0af68c9be87a9c09e93 (patch)
tree8f456b892867b7b2a149bdbfc3a9ac59b87fb7ce
parent8ff6a7a8502a81944ce422c09910e9eb2bed878a (diff)
downloadlibssh-729a586027d9676edc30b0af68c9be87a9c09e93.tar.gz
libssh-729a586027d9676edc30b0af68c9be87a9c09e93.tar.xz
libssh-729a586027d9676edc30b0af68c9be87a9c09e93.zip
cmake: Make sure we check some functions on all platforms.
-rw-r--r--ConfigureChecks.cmake8
1 files changed, 3 insertions, 5 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index f602e11e..0d5a0e82 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -101,6 +101,9 @@ endif (NOT WITH_GCRYPT)
check_function_exists(strncpy HAVE_STRNCPY)
check_function_exists(vsnprintf HAVE_VSNPRINTF)
check_function_exists(snprintf HAVE_SNPRINTF)
+check_function_exists(poll HAVE_POLL)
+check_function_exists(select HAVE_SELECT)
+check_function_exists(getaddrinfo HAVE_GETADDRINFO)
if (WIN32)
check_function_exists(_strtoui64 HAVE__STRTOUI64)
@@ -135,12 +138,7 @@ if (UNIX)
endif (HAVE_LIBRT OR HAVE_CLOCK_GETTIME)
check_library_exists(util forkpty "" HAVE_LIBUTIL)
- check_function_exists(getaddrinfo HAVE_GETADDRINFO)
- check_function_exists(poll HAVE_POLL)
- check_function_exists(select HAVE_SELECT)
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)