]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure/cmake: remove unused define HAVE_PERROR
authorGergely Nagy <ngg@tresorit.com>
Fri, 18 Jun 2021 08:10:51 +0000 (10:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Jun 2021 11:52:16 +0000 (13:52 +0200)
Closes #7276

CMake/Platforms/WindowsCache.cmake
CMakeLists.txt
lib/config-amigaos.h
lib/config-os400.h
lib/config-plan9.h
lib/config-riscos.h
lib/config-tpf.h
lib/config-vxworks.h
lib/config-win32.h
lib/config-win32ce.h

index 0c96cfafb434ece6c9e5f50ad61ecefe922e4b97..8f92cbd79eb548fce55f861a0b95ae2c57285fe7 100644 (file)
@@ -88,7 +88,6 @@ if(NOT UNIX)
     set(HAVE_INET_ADDR 1)
     set(HAVE_INET_NTOA 1)
     set(HAVE_INET_NTOA_R 0)
-    set(HAVE_PERROR 1)
     set(HAVE_CLOSESOCKET 1)
     set(HAVE_SETVBUF 0)
     set(HAVE_SIGSETJMP 0)
index 449ea0f04cd6df0bb4e63a2015bc47da2ad58b3e..6ad3e0ada9d51b01d8cbe86d6141c460c6714424 100644 (file)
@@ -1045,7 +1045,6 @@ check_symbol_exists(strtoll        "${CURL_INCLUDES}" HAVE_STRTOLL)
 check_symbol_exists(_strtoi64      "${CURL_INCLUDES}" HAVE__STRTOI64)
 check_symbol_exists(strerror_r     "${CURL_INCLUDES}" HAVE_STRERROR_R)
 check_symbol_exists(siginterrupt   "${CURL_INCLUDES}" HAVE_SIGINTERRUPT)
-check_symbol_exists(perror         "${CURL_INCLUDES}" HAVE_PERROR)
 check_symbol_exists(getaddrinfo    "${CURL_INCLUDES}" HAVE_GETADDRINFO)
 check_symbol_exists(freeaddrinfo   "${CURL_INCLUDES}" HAVE_FREEADDRINFO)
 check_symbol_exists(pipe           "${CURL_INCLUDES}" HAVE_PIPE)
index 15d5b7aa842eaca22b1fa2123f56ce607699614d..fc30cb8636466d3b1bffb360a5889a04be68fb70 100644 (file)
@@ -49,7 +49,6 @@
 #define HAVE_OPENSSL_RSA_H 1
 #define HAVE_OPENSSL_SSL_H 1
 #define HAVE_OPENSSL_X509_H 1
-#define HAVE_PERROR 1
 #define HAVE_PWD_H 1
 #define HAVE_RAND_EGD 1
 #define HAVE_RAND_STATUS 1
index e48b4ba60be3331716e4db112b30f0817ac18772..3f5d9c5b390e3d0cb5a16956de398e5184aee26f 100644 (file)
 /* Define if you have the <pem.h> header file. */
 #undef HAVE_PEM_H
 
-/* Define if you have the `perror' function. */
-#define HAVE_PERROR
-
 /* Define if you have the <pwd.h> header file. */
 #define HAVE_PWD_H
 
index dcc5c3124b73917d652c905800829f16b0386f74..54d081f5117011a88ef2c337856671a0c56fd8a4 100644 (file)
 #define HAVE_OPENSSL_SSL_H 1
 #define HAVE_OPENSSL_X509_H 1
 
-#define HAVE_PERROR 1
 #define HAVE_PIPE 1
 #define HAVE_POLL 1
 #define HAVE_POLL_FINE 1
index 45cdfb682fbce2f78c289e5f94e1d2e389da7198..413a36e33c2f1d9f87bf26d0d353d86c0f66c502 100644 (file)
 /* Define if you have the <pem.h> header file. */
 #undef HAVE_PEM_H
 
-/* Define if you have the `perror' function. */
-#undef HAVE_PERROR
-
 /* Define if you have the <pwd.h> header file. */
 #undef HAVE_PWD_H
 
index 48f012b7381f22a119cbeb3445d4e895140bb11b..a4619ad445870a8b228a06cef3f480126423d851 100644 (file)
 /* #undef HAVE_PEM_H */
 #define HAVE_PEM_H 1
 
-/* Define to 1 if you have the `perror' function. */
-#define HAVE_PERROR 1
-
 /* Define to 1 if you have the `pipe' function. */
 #define HAVE_PIPE 1
 
index 4436dcb882d75fa73660507ed80637cd6d007646..9774d5aba1044ccbadd46eae3f69a1bdcd266987 100644 (file)
 /* Define to 1 if you have the <pem.h> header file. */
 /* #undef HAVE_PEM_H */
 
-/* Define to 1 if you have the `perror' function. */
-#define HAVE_PERROR 1
-
 /* Define to 1 if you have the `pipe' function. */
 #define HAVE_PIPE 1
 
index a748d2e45c7a56843f5a84618aeb32a3cc8830cb..d81a08298289d67976eff87476669bc57ef1c997 100644 (file)
 /* Define if you have a working ioctlsocket FIONBIO function. */
 #define HAVE_IOCTLSOCKET_FIONBIO 1
 
-/* Define if you have the perror function. */
-#define HAVE_PERROR 1
-
 /* Define if you have the RAND_screen function when using SSL. */
 #define HAVE_RAND_SCREEN 1
 
index 077eec0665df3ed94354d7f6cc8ad63581cb23fd..8bee4f709e078a7fb4ce37ac99b10802557f2a91 100644 (file)
 /* Define if you have a working ioctlsocket FIONBIO function. */
 #define HAVE_IOCTLSOCKET_FIONBIO 1
 
-/* Define if you have the perror function.  */
-#define HAVE_PERROR 1
-
 /* Define if you have the RAND_screen function when using SSL  */
 #define HAVE_RAND_SCREEN 1