summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-19 20:28:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-19 20:28:29 (GMT)
commit758b64c580670f7065da7a12355f4bbe18129686 (patch)
treec1ac8b5ade244e59fb7f283971eb8d666f8ebc9a /config
parent6a6314af5dfa026292b7f65490990333c2014ad6 (diff)
downloadhdf5-758b64c580670f7065da7a12355f4bbe18129686.zip
hdf5-758b64c580670f7065da7a12355f4bbe18129686.tar.gz
hdf5-758b64c580670f7065da7a12355f4bbe18129686.tar.bz2
[svn-r19644] Correct configuration library checks symbol names
Diffstat (limited to 'config')
-rw-r--r--config/cmake/ConfigureChecks.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index cad3870..3e2bad9 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -202,17 +202,15 @@ ENDIF (CYGWIN)
# Check for the math library "m"
#-----------------------------------------------------------------------------
IF (NOT WINDOWS)
- CHECK_LIBRARY_EXISTS_CONCAT ("m" printf H5_HAVE_LIBM)
+ CHECK_LIBRARY_EXISTS_CONCAT ("m" random H5_HAVE_LIBM)
ENDIF (NOT WINDOWS)
-CHECK_LIBRARY_EXISTS_CONCAT ("ws2_32" printf H5_HAVE_LIBWS2_32)
-CHECK_LIBRARY_EXISTS_CONCAT ("wsock32" printf H5_HAVE_LIBWSOCK32)
+CHECK_LIBRARY_EXISTS_CONCAT ("ws2_32" WSAStartup H5_HAVE_LIBWS2_32)
#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)
CHECK_LIBRARY_EXISTS ("c" gethostbyname "" NOT_NEED_LIBNSL)
-
IF (NOT NOT_NEED_LIBNSL)
CHECK_LIBRARY_EXISTS_CONCAT ("nsl" gethostbyname H5_HAVE_LIBNSL)
ENDIF (NOT NOT_NEED_LIBNSL)