diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-06-01 11:37:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 11:37:40 (GMT) |
commit | 9ab587b7146618866cee52c220aecf7bd5b44b02 (patch) | |
tree | f08fac8ec42d0c0ce92655ea5bd6185bfd7b46d1 /configure | |
parent | 76b9c0cfaa3062a7f649d60cea653173d12d3839 (diff) | |
download | cpython-9ab587b7146618866cee52c220aecf7bd5b44b02.zip cpython-9ab587b7146618866cee52c220aecf7bd5b44b02.tar.gz cpython-9ab587b7146618866cee52c220aecf7bd5b44b02.tar.bz2 |
gh-89886: Rely on HAVE_SYS_TIME_H (#105058)
Quoting autoconf (v2.71):
All current systems provide time.h; it need not be checked for.
Not all systems provide sys/time.h, but those that do, all allow
you to include it and time.h simultaneously.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -19273,14 +19273,6 @@ fi done -if test "x$ac_cv_header_sys_time_h" = xyes; then : - - -$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h - - -fi - # checks for structures { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } @@ -26043,7 +26035,7 @@ $as_echo_n "checking for stdlib extension module pyexpat... " >&6; } if test "$py_cv_module_pyexpat" != "n/a"; then : if true; then : - if true; then : + if test "$ac_cv_header_sys_time_h" = "yes"; then : py_cv_module_pyexpat=yes else py_cv_module_pyexpat=missing |