summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-20 16:41:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-20 16:41:39 (GMT)
commit9e2fff4540bbbc1718e1395f101973800f706eb9 (patch)
tree6a76948ae4cf1def6c3f6c81faf9808e8d4f0ddb /config/cmake
parent3f74a217d04fc133a640cc1928fb97d3b6b696e5 (diff)
downloadhdf5-9e2fff4540bbbc1718e1395f101973800f706eb9.zip
hdf5-9e2fff4540bbbc1718e1395f101973800f706eb9.tar.gz
hdf5-9e2fff4540bbbc1718e1395f101973800f706eb9.tar.bz2
[svn-r19650] Put back deleted library check in configure.
Remove shared library check around ws2_32.lib linking in test library. Issue on windows static builds. Tested: windows
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 3e2bad9..fc479d7 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -206,6 +206,7 @@ IF (NOT WINDOWS)
ENDIF (NOT WINDOWS)
CHECK_LIBRARY_EXISTS_CONCAT ("ws2_32" WSAStartup H5_HAVE_LIBWS2_32)
+CHECK_LIBRARY_EXISTS_CONCAT ("wsock32" gethostbyname H5_HAVE_LIBWSOCK32)
#CHECK_LIBRARY_EXISTS_CONCAT ("dl" dlopen H5_HAVE_LIBDL)
CHECK_LIBRARY_EXISTS_CONCAT ("ucb" gethostname H5_HAVE_LIBUCB)
CHECK_LIBRARY_EXISTS_CONCAT ("socket" connect H5_HAVE_LIBSOCKET)