diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-10-19 20:27:55 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-10-19 20:27:55 (GMT) |
commit | f79519db29580a39db0e5eb2dddd1bac643e3129 (patch) | |
tree | a1b054727c51ff85b62e49cdbb66d3e3384ff71a | |
parent | fbdae40a22017512c87559052d0d4055b3516d1a (diff) | |
download | hdf5-f79519db29580a39db0e5eb2dddd1bac643e3129.zip hdf5-f79519db29580a39db0e5eb2dddd1bac643e3129.tar.gz hdf5-f79519db29580a39db0e5eb2dddd1bac643e3129.tar.bz2 |
[svn-r19643] 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) |