From 53f260e2dd85db5d29cd6f861ad49a23c2ed06f1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 5 Nov 2020 18:16:20 +0000 Subject: remove AC_HEADER_TIME, (hopefully) no longer needed per autoconf git-svn-id: svn://tug.org/texlive/trunk@56860 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/detex/ChangeLog | 5 +++++ Build/source/texk/detex/c-auto.in | 3 --- Build/source/texk/detex/configure | 35 ----------------------------------- Build/source/texk/detex/configure.ac | 5 +++-- 4 files changed, 8 insertions(+), 40 deletions(-) (limited to 'Build/source/texk/detex') 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 + + * 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 * 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 and . */ -#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 -#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 - 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 +dnl Copyright 2014-2020 Karl Berry +dnl Copyright 2009-2013 Peter Breitenlohner 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]) -- cgit v1.2.3