diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-10-05 15:43:31 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-10-05 15:43:31 +0900 |
commit | 0f43570af93e56bdd4a4b2bf6eef722d0bff4a4f (patch) | |
tree | 01eb0a42e6806ec709ccb64201a81b0432973bf1 | |
parent | 7da42a8e8cc587ced46dffefc8448c8a286b1ca0 (diff) | |
download | libgcrypt-0f43570af93e56bdd4a4b2bf6eef722d0bff4a4f.tar.gz |
build,gcrypt.h: Remove INSERT_SYS_SELECT_H.
* configure.ac (INSERT_SYS_SELECT_H): Remove.
Remove checking sys/select.h.
* src/gcrypt.h.in: Remove INSERT_SYS_SELECT_H.
--
It has been no use any more.
GnuPG-bug-id: 5637
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | src/gcrypt.h.in | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index e31c7905..65e394eb 100644 --- a/configure.ac +++ b/configure.ac @@ -842,12 +842,7 @@ AC_SEARCH_LIBS(setsockopt, [nsl]) ################################## AC_HEADER_STDC -AC_CHECK_HEADERS(unistd.h sys/select.h sys/auxv.h) -INSERT_SYS_SELECT_H= -if test x"$ac_cv_header_sys_select_h" = xyes; then - INSERT_SYS_SELECT_H=" include <sys/select.h>" -fi -AC_SUBST(INSERT_SYS_SELECT_H) +AC_CHECK_HEADERS(unistd.h sys/auxv.h) ########################################## diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in index 0540c60a..9da15ec2 100644 --- a/src/gcrypt.h.in +++ b/src/gcrypt.h.in @@ -41,8 +41,6 @@ # endif /*!__GNUC__*/ #else # include <sys/socket.h> -# include <sys/time.h> -#@INSERT_SYS_SELECT_H@ #endif /*!_WIN32*/ @FALLBACK_SOCKLEN_T@ |