diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-10-19 20:28:29 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-10-19 20:28:29 (GMT) |
commit | 758b64c580670f7065da7a12355f4bbe18129686 (patch) | |
tree | c1ac8b5ade244e59fb7f283971eb8d666f8ebc9a | |
parent | 6a6314af5dfa026292b7f65490990333c2014ad6 (diff) | |
download | hdf5-758b64c580670f7065da7a12355f4bbe18129686.zip hdf5-758b64c580670f7065da7a12355f4bbe18129686.tar.gz hdf5-758b64c580670f7065da7a12355f4bbe18129686.tar.bz2 |
[svn-r19644] Correct configuration library checks symbol names
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 6 |
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) |