summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGergely Nagy <ngg@tresorit.com>2021-06-18 10:01:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-18 13:52:08 +0200
commit9bf0e7b2efbdf18902ea6f1deae1aefc0ac4cc79 (patch)
tree839241201aa49b66af9c4ed611c5ae0c7af58a77
parent4e03d45bf90f5f51301c0a4c0bdf60a477f82feb (diff)
downloadcurl-9bf0e7b2efbdf18902ea6f1deae1aefc0ac4cc79.tar.gz
configure/cmake: remove unused define HAVE_FORK
Closes #7276
-rw-r--r--CMakeLists.txt1
-rw-r--r--lib/config-plan9.h1
-rw-r--r--lib/config-tpf.h4
-rw-r--r--lib/config-vxworks.h3
-rw-r--r--lib/curl_config.h.cmake3
5 files changed, 0 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2afe8c36..45211b270 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 1da74ed85..dcc5c3124 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 61a7b56e5..48f012b73 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 b36a45aa5..a3e6126f5 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 cbbe99b58..6a638824d 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