diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-12-27 21:40:18 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-12-27 21:51:55 +0100 |
commit | b4c62ac9ea7cc41a1c8c3fa062dee01f13d98e66 (patch) | |
tree | 8a38c144af789b2ca40522a08554313a81a5d3df /ConfigureChecks.cmake | |
parent | a0e98f585a36e0032545107dbd90c6adab40e09b (diff) | |
download | libssh-b4c62ac9ea7cc41a1c8c3fa062dee01f13d98e66.tar.gz libssh-b4c62ac9ea7cc41a1c8c3fa062dee01f13d98e66.tar.xz libssh-b4c62ac9ea7cc41a1c8c3fa062dee01f13d98e66.zip |
server: Replace gethostbyname() with getaddrinfo().
Fixes rlo#13.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 8723496..17025c5 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -91,11 +91,6 @@ if (UNIX) if (HAVE_LIBSOCKET) set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} socket) endif (HAVE_LIBSOCKET) - # libnsl (Solaris) - check_library_exists(nsl gethostbyname "" HAVE_LIBNSL) - if (HAVE_LIBNSL) - set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} nsl) - endif (HAVE_LIBNSL) # libresolv check_library_exists(resolv hstrerror "" HAVE_LIBRESOLV) if (HAVE_LIBRESOLV) @@ -109,7 +104,6 @@ if (UNIX) endif (NOT LINUX) check_function_exists(getaddrinfo HAVE_GETADDRINFO) - check_function_exists(gethostbyname HAVE_GETHOSTBYNAME) check_function_exists(poll HAVE_POLL) check_function_exists(select HAVE_SELECT) check_function_exists(cfmakeraw HAVE_CFMAKERAW) |