Andy Cedilnik 23 年之前
父節點
當前提交
e10e983f51
共有 3 個文件被更改,包括 2 次插入15 次删除
  1. 0 2
      Source/CTest/Curl/CMakeLists.txt
  2. 2 4
      Source/CTest/Curl/Platforms/WindowsCache.cmake
  3. 0 9
      Source/CTest/Curl/config.h.in

+ 0 - 2
Source/CTest/Curl/CMakeLists.txt

@@ -195,8 +195,6 @@ ENDIF(NOT HAVE_SIZEOF_SSIZE_T)
 
 FIND_FILE(RANDOM_FILE urandom /dev)
 
-CHECK_FUNCTION_EXISTS(_doprnt        HAVE_DOPRNT)
-CHECK_FUNCTION_EXISTS(vprintf        HAVE_VPRINTF)
 CHECK_FUNCTION_EXISTS(socket            HAVE_SOCKET)
 CHECK_FUNCTION_EXISTS(poll              HAVE_POLL)
 CHECK_FUNCTION_EXISTS(select            HAVE_SELECT)

+ 2 - 4
Source/CTest/Curl/Platforms/WindowsCache.cmake

@@ -4,7 +4,6 @@ IF(WIN32)
   SET(HAVE_LIBWS2_32 1)
   SET(HAVE_GETHOSTNAME 1)
   SET(HAVE_GETHOSTBYADDR 1)
-  SET(HAVE_GETSERVBYNAME 1)
   SET(HAVE_INET_ADDR 1)
   SET(HAVE_INET_NTOA 1)
   SET(HAVE_SELECT 1)
@@ -48,8 +47,6 @@ IF(WIN32)
   SET(HAVE_SOCK_H 0)
   SET(HAVE_X509_H 0)
   SET(SIZEOF_SSIZE_T 0)
-  SET(HAVE_DOPRNT 0)
-  SET(HAVE_VPRINTF 1)
   SET(HAVE_STRDUP 1)
   SET(HAVE_STRSTR 1)
   SET(HAVE_STRTOK_R 0)
@@ -108,4 +105,5 @@ IF(WIN32)
 ELSE(WIN32)
   MESSAGE("This file should be included on Windows platform only")
 ENDIF(WIN32)
-ENDIF(NOT UNIX)
+ENDIF(NOT UNIX)
+

+ 0 - 9
Source/CTest/Curl/config.h.in

@@ -32,9 +32,6 @@
 /* Define if you have the inet_ntoa_r function declared. */
 #cmakedefine HAVE_INET_NTOA_R_DECL	${HAVE_INET_NTOA_R_DECL}
 
-/* Define if you have the getservbyname function.  */
-#cmakedefine HAVE_GETSERVBYNAME         ${HAVE_GETSERVBYNAME}
-
 /* Define if you need the _REENTRANT define for some functions */
 #cmakedefine NEED_REENTRANT             ${NEED_REENTRANT}
 
@@ -493,11 +490,5 @@
 /* Define to `int' if <sys/types.h> does not define. */
 #cmakedefine ssize_t	${ssize_t}
 
-/* Define if you don't have vprintf but do have _doprnt.  */
-#cmakedefine HAVE_DOPRNT ${HAVE_DOPRNT}
-
-/* Define to 1 if you have the vprintf function.  */
-#cmakedefine HAVE_VPRINTF ${HAVE_VPRINTF}
-
 /* The number of bytes in a long double.  */
 #cmakedefine SIZEOF_LONG_DOUBLE ${SIZEOF_LONG_DOUBLE}