summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-16 15:06:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-16 15:06:28 (GMT)
commit170e4c9453886cfd5c4abb7ba84d1d9acdedb1cf (patch)
tree19e29d41d0c891e348ce074a4f4393ccdf368570 /Source/CTest/Curl
parente10e983f51c813ff4f719f7feded9308de0f3344 (diff)
downloadCMake-170e4c9453886cfd5c4abb7ba84d1d9acdedb1cf.zip
CMake-170e4c9453886cfd5c4abb7ba84d1d9acdedb1cf.tar.gz
CMake-170e4c9453886cfd5c4abb7ba84d1d9acdedb1cf.tar.bz2
HAVE_GETHOSTNAME is also unnecessary
Diffstat (limited to 'Source/CTest/Curl')
-rw-r--r--Source/CTest/Curl/CMakeLists.txt1
-rw-r--r--Source/CTest/Curl/Platforms/WindowsCache.cmake1
-rw-r--r--Source/CTest/Curl/config.h.in3
3 files changed, 0 insertions, 5 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt
index f111dc2..4ec5384 100644
--- a/Source/CTest/Curl/CMakeLists.txt
+++ b/Source/CTest/Curl/CMakeLists.txt
@@ -206,7 +206,6 @@ CHECK_FUNCTION_EXISTS(uname HAVE_UNAME)
CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP)
CHECK_FUNCTION_EXISTS(stricmp HAVE_STRICMP)
CHECK_FUNCTION_EXISTS(strcmpi HAVE_STRCMPI)
-CHECK_FUNCTION_EXISTS(gethostname HAVE_GETHOSTNAME)
CHECK_FUNCTION_EXISTS(gethostbyaddr HAVE_GETHOSTBYADDR)
CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)
CHECK_FUNCTION_EXISTS(inet_addr HAVE_INET_ADDR)
diff --git a/Source/CTest/Curl/Platforms/WindowsCache.cmake b/Source/CTest/Curl/Platforms/WindowsCache.cmake
index d1ce2bd..5ed9017 100644
--- a/Source/CTest/Curl/Platforms/WindowsCache.cmake
+++ b/Source/CTest/Curl/Platforms/WindowsCache.cmake
@@ -2,7 +2,6 @@ IF(NOT UNIX)
IF(WIN32)
#SET(HAVE_LIBWINMM 1)
SET(HAVE_LIBWS2_32 1)
- SET(HAVE_GETHOSTNAME 1)
SET(HAVE_GETHOSTBYADDR 1)
SET(HAVE_INET_ADDR 1)
SET(HAVE_INET_NTOA 1)
diff --git a/Source/CTest/Curl/config.h.in b/Source/CTest/Curl/config.h.in
index eef1c93..122a272 100644
--- a/Source/CTest/Curl/config.h.in
+++ b/Source/CTest/Curl/config.h.in
@@ -165,9 +165,6 @@
/* Define to 1 if you have the `gethostbyname_r' function. */
#cmakedefine HAVE_GETHOSTBYNAME_R ${HAVE_GETHOSTBYNAME_R}
-/* Define to 1 if you have the `gethostname' function. */
-#cmakedefine HAVE_GETHOSTNAME ${HAVE_GETHOSTNAME}
-
/* Define to 1 if you have the `getpass_r' function. */
#cmakedefine HAVE_GETPASS_R ${HAVE_GETPASS_R}