aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-12-03 13:08:17 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-12-03 13:08:17 +0100
commitc6fc69fbddae87454b2c5449a229e8f4cd802e51 (patch)
tree46f16682da37dbf4c77f27e3182fb62f62731a5d /ConfigureChecks.cmake
parentab8c7de6f8946f24d66f7d187aef191a9efef1fd (diff)
downloadlibssh-c6fc69fbddae87454b2c5449a229e8f4cd802e51.tar.gz
libssh-c6fc69fbddae87454b2c5449a229e8f4cd802e51.tar.xz
libssh-c6fc69fbddae87454b2c5449a229e8f4cd802e51.zip
BUG 97: Remove obsolete hsterror().
This function is pretty much obsolete on most platforms. The standard errno should be used. If it is not enough on Windows we should use WSAGetLastError() in future.
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 19eb6002..c5dd3d29 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -117,12 +117,6 @@ if (UNIX)
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} socket)
endif (HAVE_LIBSOCKET)
- # libresolv
- check_library_exists(resolv hstrerror "" HAVE_LIBRESOLV)
- if (HAVE_LIBRESOLV)
- set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} resolv)
- endif (HAVE_LIBRESOLV)
-
# libnsl/inet_pton (Solaris)
check_library_exists(nsl inet_pton "" HAVE_LIBNSL)
if (HAVE_LIBNSL)