summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-12 22:55:15 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-12 22:55:15 (GMT)
commitdbed2f986881ed5a6dc9b0a4d6e97903696cbcfd (patch)
tree0b0129322c41b4b4a6b4a4c23826fac5967dbd23 /Source/CTest
parentd0c039e9a4c1f385fdd6e7b11bb0a9c5bf78bf7c (diff)
downloadCMake-dbed2f986881ed5a6dc9b0a4d6e97903696cbcfd.zip
CMake-dbed2f986881ed5a6dc9b0a4d6e97903696cbcfd.tar.gz
CMake-dbed2f986881ed5a6dc9b0a4d6e97903696cbcfd.tar.bz2
ERR: Reverting dlopen changes. We don't need them.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/Curl/CMakeLists.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt
index c468d60..ef3911a 100644
--- a/Source/CTest/Curl/CMakeLists.txt
+++ b/Source/CTest/Curl/CMakeLists.txt
@@ -95,11 +95,7 @@ MACRO(CHECK_LIBRARY_EXISTS_CONCAT LIBRARY SYMBOL VARIABLE)
ENDMACRO(CHECK_LIBRARY_EXISTS_CONCAT)
# Check for all needed libraries
-
-# We do not need this because we do not use ldap.
-# CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
-SET(HAVE_LIBDL 0 CACHE INTERNAL "We do not need libdl.")
-
+CHECK_LIBRARY_EXISTS_CONCAT("dl" dlopen HAVE_LIBDL)
CHECK_LIBRARY_EXISTS_CONCAT("ucb" gethostname HAVE_LIBUCB)
CHECK_LIBRARY_EXISTS_CONCAT("socket" connect HAVE_LIBSOCKET)
CHECK_LIBRARY_EXISTS("c" gethostbyname "" NOT_NEED_LIBNSL)
@@ -118,9 +114,7 @@ IF(CMAKE_USE_OPENSSL)
ENDIF(CMAKE_USE_OPENSSL)
# Check for symbol dlopen (same as HAVE_LIBDL)
-# We do not need this because we do not use ldap.
-# CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)
-SET(HAVE_DLOPEN 0 CACHE INTERNAL "We do not need dlopen.")
+CHECK_LIBRARY_EXISTS("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)
# For other tests to use the same libraries
SET(CMAKE_REQUIRED_LIBRARIES ${CURL_LIBS})