[svn-r27680] Merge of r27675, 27641, and 27645 from trunk
- Changes AC_CONFIG_HEADER to AC_CONFIG_HEADERS - Removes nsl and socket library checks on Solaris (no longer needed) - Removes obsolete and/or unmaintained configuration files from config/ Fixes HDFFV-9284, HDFFV-9118, HDFFV-9116 Tested on: h5committest
This commit is contained in:
@@ -117,13 +117,8 @@ if (NOT WINDOWS)
|
||||
CHECK_LIBRARY_EXISTS_CONCAT ("wsock32" gethostbyname ${HDF_PREFIX}_HAVE_LIBWSOCK32)
|
||||
endif (NOT WINDOWS)
|
||||
|
||||
# UCB (BSD) compatibility library
|
||||
CHECK_LIBRARY_EXISTS_CONCAT ("ucb" gethostname ${HDF_PREFIX}_HAVE_LIBUCB)
|
||||
CHECK_LIBRARY_EXISTS_CONCAT ("socket" connect ${HDF_PREFIX}_HAVE_LIBSOCKET)
|
||||
CHECK_LIBRARY_EXISTS ("c" gethostbyname "" NOT_NEED_LIBNSL)
|
||||
|
||||
if (NOT NOT_NEED_LIBNSL)
|
||||
CHECK_LIBRARY_EXISTS_CONCAT ("nsl" gethostbyname ${HDF_PREFIX}_HAVE_LIBNSL)
|
||||
endif (NOT NOT_NEED_LIBNSL)
|
||||
|
||||
# For other tests to use the same libraries
|
||||
set (CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${LINK_LIBS})
|
||||
|
||||
Reference in New Issue
Block a user