diff options
Diffstat (limited to 'Build/source/texk/detex')
-rw-r--r-- | Build/source/texk/detex/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/detex/c-auto.in | 3 | ||||
-rwxr-xr-x | Build/source/texk/detex/configure | 35 | ||||
-rw-r--r-- | Build/source/texk/detex/configure.ac | 5 |
4 files changed, 8 insertions, 40 deletions
diff --git a/Build/source/texk/detex/ChangeLog b/Build/source/texk/detex/ChangeLog index 580f7d60fa7..41b8891e43c 100644 --- a/Build/source/texk/detex/ChangeLog +++ b/Build/source/texk/detex/ChangeLog @@ -1,3 +1,8 @@ +2020-11-05 Karl Berry <karl@freefriends.org> + + * configure.ac (AC_HEADER_TIME): remove, since it will be + a no-op in the next autoconf anyway, and is (hopefully) universal. + 2020-06-16 Akira Kakuto <kakuto@w32tex.org> * detex.l, detex.c: Support old compilers. diff --git a/Build/source/texk/detex/c-auto.in b/Build/source/texk/detex/c-auto.in index 2b54aab655f..a2d410ec8a2 100644 --- a/Build/source/texk/detex/c-auto.in +++ b/Build/source/texk/detex/c-auto.in @@ -127,9 +127,6 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME - /* Version number of package */ #undef VERSION diff --git a/Build/source/texk/detex/configure b/Build/source/texk/detex/configure index 1d0c8a6c2b1..0d3252224c1 100755 --- a/Build/source/texk/detex/configure +++ b/Build/source/texk/detex/configure @@ -13627,41 +13627,6 @@ fi rm -f conftest.l $LEX_OUTPUT_ROOT.c 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 - ac_config_headers="$ac_config_headers c-auto.h:c-auto.in" diff --git a/Build/source/texk/detex/configure.ac b/Build/source/texk/detex/configure.ac index a544d2ccde9..42fc0a531a7 100644 --- a/Build/source/texk/detex/configure.ac +++ b/Build/source/texk/detex/configure.ac @@ -1,6 +1,8 @@ +dnl $Id$ dnl Process this file with autoconf to produce a configure script. dnl -dnl Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org> +dnl Copyright 2014-2020 Karl Berry <tex-live@tug.org> +dnl Copyright 2009-2013 Peter Breitenlohner <tex-live@tug.org> dnl dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, @@ -17,7 +19,6 @@ dnl Common code for all programs using libkpathsea. KPSE_COMMON([detex]) AC_PROG_LEX -AC_HEADER_TIME AC_CONFIG_HEADERS([c-auto.h:c-auto.in]) |