From: Gergely Nagy Date: Fri, 18 Jun 2021 08:01:29 +0000 (+0200) Subject: configure/cmake: remove unused define HAVE_FORK X-Git-Tag: curl-7_78_0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bf0e7b2efbdf18902ea6f1deae1aefc0ac4cc79;p=thirdparty%2Fcurl.git configure/cmake: remove unused define HAVE_FORK Closes #7276 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a2afe8c361..45211b2708 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1046,7 +1046,6 @@ 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(fork "${CURL_INCLUDES}" HAVE_FORK) check_symbol_exists(getaddrinfo "${CURL_INCLUDES}" HAVE_GETADDRINFO) check_symbol_exists(freeaddrinfo "${CURL_INCLUDES}" HAVE_FREEADDRINFO) check_symbol_exists(freeifaddrs "${CURL_INCLUDES}" HAVE_FREEIFADDRS) diff --git a/lib/config-plan9.h b/lib/config-plan9.h index 1da74ed85d..dcc5c3124b 100644 --- a/lib/config-plan9.h +++ b/lib/config-plan9.h @@ -96,7 +96,6 @@ #define HAVE_ERRNO_H 1 #define HAVE_FCNTL 1 #define HAVE_FCNTL_H 1 -#define HAVE_FORK 1 #define HAVE_FREEADDRINFO 1 #define HAVE_FTRUNCATE 1 #define HAVE_GETADDRINFO 1 diff --git a/lib/config-tpf.h b/lib/config-tpf.h index 61a7b56e52..48f012b738 100644 --- a/lib/config-tpf.h +++ b/lib/config-tpf.h @@ -111,10 +111,6 @@ /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ #define HAVE_FCNTL_O_NONBLOCK 1 -/* Define to 1 if you have the `fork' function. */ -/* #undef HAVE_FORK */ -#define HAVE_FORK 1 - /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 diff --git a/lib/config-vxworks.h b/lib/config-vxworks.h index b36a45aa56..a3e6126f5e 100644 --- a/lib/config-vxworks.h +++ b/lib/config-vxworks.h @@ -128,9 +128,6 @@ /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ #define HAVE_FCNTL_O_NONBLOCK 1 -/* Define to 1 if you have the `fork' function. */ -#define HAVE_FORK 1 - /* Define to 1 if you have the freeaddrinfo function. */ #define HAVE_FREEADDRINFO 1 diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index cbbe99b586..6a638824d7 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -160,9 +160,6 @@ /* Define to 1 if you have a working fcntl O_NONBLOCK function. */ #cmakedefine HAVE_FCNTL_O_NONBLOCK 1 -/* Define to 1 if you have the `fork' function. */ -#cmakedefine HAVE_FORK 1 - /* Define to 1 if you have the freeaddrinfo function. */ #cmakedefine HAVE_FREEADDRINFO 1