summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGergely Nagy <ngg@tresorit.com>2021-06-18 09:54:57 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-18 13:52:02 +0200
commita407a82d0b0bc637d81f49d7853c043efe1e3372 (patch)
tree1a289b4c08d38c0aca00abdb7918e174c0f4ab9b
parent8c24cf5238bb1013eebdb15acafcdda1b1f833ed (diff)
downloadcurl-a407a82d0b0bc637d81f49d7853c043efe1e3372.tar.gz
configure/cmake: remove checks for unused sgtty.h
Closes #7276
-rw-r--r--CMake/Platforms/WindowsCache.cmake1
-rw-r--r--CMakeLists.txt1
-rw-r--r--configure.ac1
-rw-r--r--lib/config-amigaos.h1
-rw-r--r--lib/config-os400.h3
-rw-r--r--lib/config-riscos.h3
-rw-r--r--lib/config-tpf.h3
-rw-r--r--lib/config-vxworks.h3
-rw-r--r--lib/config-win32.h3
-rw-r--r--lib/config-win32ce.h3
-rw-r--r--lib/curl_config.h.cmake3
11 files changed, 0 insertions, 25 deletions
diff --git a/CMake/Platforms/WindowsCache.cmake b/CMake/Platforms/WindowsCache.cmake
index 33c735a22..0c96cfafb 100644
--- a/CMake/Platforms/WindowsCache.cmake
+++ b/CMake/Platforms/WindowsCache.cmake
@@ -46,7 +46,6 @@ if(NOT UNIX)
set(HAVE_PROCESS_H 1)
set(HAVE_PWD_H 0)
set(HAVE_SETJMP_H 1)
- set(HAVE_SGTTY_H 0)
set(HAVE_SIGNAL_H 1)
set(HAVE_SOCKIO_H 0)
set(HAVE_STDINT_H 0)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a623c0aa3..a2afe8c36 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -935,7 +935,6 @@ check_include_file_concat("pem.h" HAVE_PEM_H)
check_include_file_concat("poll.h" HAVE_POLL_H)
check_include_file_concat("pwd.h" HAVE_PWD_H)
check_include_file_concat("setjmp.h" HAVE_SETJMP_H)
-check_include_file_concat("sgtty.h" HAVE_SGTTY_H)
check_include_file_concat("signal.h" HAVE_SIGNAL_H)
check_include_file_concat("ssl.h" HAVE_SSL_H)
check_include_file_concat("stdbool.h" HAVE_STDBOOL_H)
diff --git a/configure.ac b/configure.ac
index ef82d3d3c..aea7b3cfb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3036,7 +3036,6 @@ AC_CHECK_HEADERS(
sys/param.h \
termios.h \
termio.h \
- sgtty.h \
fcntl.h \
alloca.h \
io.h \
diff --git a/lib/config-amigaos.h b/lib/config-amigaos.h
index c2f5bd20b..15d5b7aa8 100644
--- a/lib/config-amigaos.h
+++ b/lib/config-amigaos.h
@@ -55,7 +55,6 @@
#define HAVE_RAND_STATUS 1
#define HAVE_SELECT 1
#define HAVE_SETJMP_H 1
-#define HAVE_SGTTY_H 1
#define HAVE_SIGNAL 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIG_ATOMIC_T 1
diff --git a/lib/config-os400.h b/lib/config-os400.h
index a2ee9b827..e48b4ba60 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -244,9 +244,6 @@
/* Define if you have the `setvbuf' function. */
#define HAVE_SETVBUF
-/* Define if you have the <sgtty.h> header file. */
-#undef HAVE_SGTTY_H
-
/* Define if you have the `sigaction' function. */
#define HAVE_SIGACTION
diff --git a/lib/config-riscos.h b/lib/config-riscos.h
index 91df08836..45cdfb682 100644
--- a/lib/config-riscos.h
+++ b/lib/config-riscos.h
@@ -236,9 +236,6 @@
/* Define if you have the `setvbuf' function. */
#undef HAVE_SETVBUF
-/* Define if you have the <sgtty.h> header file. */
-#define HAVE_SGTTY_H
-
/* Define if you have the `sigaction' function. */
#undef HAVE_SIGACTION
diff --git a/lib/config-tpf.h b/lib/config-tpf.h
index b4ae93cfa..61a7b56e5 100644
--- a/lib/config-tpf.h
+++ b/lib/config-tpf.h
@@ -364,9 +364,6 @@
/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
-/* Define to 1 if you have the <sgtty.h> header file. */
-/* #undef HAVE_SGTTY_H 1 */
-
/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1
diff --git a/lib/config-vxworks.h b/lib/config-vxworks.h
index 4a0cae154..b36a45aa5 100644
--- a/lib/config-vxworks.h
+++ b/lib/config-vxworks.h
@@ -454,9 +454,6 @@
/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
-/* Define to 1 if you have the <sgtty.h> header file. */
-/* #undef HAVE_SGTTY_H */
-
/* Define to 1 if you have the sigaction function. */
#define HAVE_SIGACTION 1
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 38105e8d4..a748d2e45 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -77,9 +77,6 @@
/* Define if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
-/* Define if you have the <sgtty.h> header file. */
-/* #define HAVE_SGTTY_H 1 */
-
/* Define if you have the <ssl.h> header file. */
/* #define HAVE_SSL_H 1 */
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index 9975dd119..077eec066 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -60,9 +60,6 @@
/* Define if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
-/* Define if you have the <sgtty.h> header file. */
-/* #define HAVE_SGTTY_H 1 */
-
/* Define if you have the <ssl.h> header file. */
/* #define HAVE_SSL_H 1 */
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 789750d59..46b7ef137 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -545,9 +545,6 @@
/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
#cmakedefine HAVE_SETSOCKOPT_SO_NONBLOCK 1
-/* Define to 1 if you have the <sgtty.h> header file. */
-#cmakedefine HAVE_SGTTY_H 1
-
/* Define to 1 if you have the sigaction function. */
#cmakedefine HAVE_SIGACTION 1