summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-16 13:48:40 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-16 13:48:40 -0700
commitd230f8b6870c4f5c3c3156ce78751b86c6b463fb (patch)
tree64fe932975b5c9c3b10764f2a4a43cb2a92b1f28 /configure
parent2b9bfa05b690f71d08243a8089d6feacbe52b2d2 (diff)
downloadtcpdump-d230f8b6870c4f5c3c3156ce78751b86c6b463fb.tar.gz
Get rid of obsolescent configure test.
All UN*Xes, these days, let you include both <time.h> and <sys/time.h>.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure36
1 files changed, 0 insertions, 36 deletions
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 <sys/types.h>
-#include <sys/time.h>
-#include <time.h>
-
-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*)