From d230f8b6870c4f5c3c3156ce78751b86c6b463fb Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 16 Oct 2017 13:48:40 -0700 Subject: Get rid of obsolescent configure test. All UN*Xes, these days, let you include both and . --- configure | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 4203e731..88020c7f 100755 --- a/configure +++ b/configure @@ -4083,42 +4083,6 @@ done fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 -$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } -if ${ac_cv_header_time+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -#include - -int -main () -{ -if ((struct tm *) 0) -return 0; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_header_time=yes -else - ac_cv_header_time=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 -$as_echo "$ac_cv_header_time" >&6; } -if test $ac_cv_header_time = yes; then - -$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h - -fi - - case "$host_os" in darwin*) -- cgit v1.2.1