summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-20 16:43:37 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-20 16:43:37 (GMT)
commitafd35119824638eeefc90c07286e49a45746e186 (patch)
treea0b69cd827af393093156200448cf4732f1c71c1 /config
parentb6b910bc6e6ecce9cf1f947c00af37d1ea768fc2 (diff)
downloadhdf5-afd35119824638eeefc90c07286e49a45746e186.zip
hdf5-afd35119824638eeefc90c07286e49a45746e186.tar.gz
hdf5-afd35119824638eeefc90c07286e49a45746e186.tar.bz2
[svn-r19653] 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')
-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)