texlive[56860] remove AC_HEADER_TIME, (hopefully) no longer needed

commits+karl at tug.org commits+karl at tug.org
Thu Nov 5 19:16:20 CET 2020


Revision: 56860
          http://tug.org/svn/texlive?view=revision&revision=56860
Author:   karl
Date:     2020-11-05 19:16:20 +0100 (Thu, 05 Nov 2020)
Log Message:
-----------
remove AC_HEADER_TIME, (hopefully) no longer needed per autoconf

Modified Paths:
--------------
    trunk/Build/source/texk/detex/ChangeLog
    trunk/Build/source/texk/detex/c-auto.in
    trunk/Build/source/texk/detex/configure
    trunk/Build/source/texk/detex/configure.ac
    trunk/Build/source/texk/gsftopk/ChangeLog
    trunk/Build/source/texk/gsftopk/c-auto.in
    trunk/Build/source/texk/gsftopk/configure
    trunk/Build/source/texk/gsftopk/configure.ac

Property Changed:
----------------
    trunk/Build/source/texk/gsftopk/configure.ac

Modified: trunk/Build/source/texk/detex/ChangeLog
===================================================================
--- trunk/Build/source/texk/detex/ChangeLog	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/detex/ChangeLog	2020-11-05 18:16:20 UTC (rev 56860)
@@ -1,3 +1,8 @@
+2020-11-05  Karl Berry  <karl at 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 at w32tex.org>
 
 	* detex.l, detex.c: Support old compilers.

Modified: trunk/Build/source/texk/detex/c-auto.in
===================================================================
--- trunk/Build/source/texk/detex/c-auto.in	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/detex/c-auto.in	2020-11-05 18:16:20 UTC (rev 56860)
@@ -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
 

Modified: trunk/Build/source/texk/detex/configure
===================================================================
--- trunk/Build/source/texk/detex/configure	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/detex/configure	2020-11-05 18:16:20 UTC (rev 56860)
@@ -13627,42 +13627,7 @@
 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"
 
 

Modified: trunk/Build/source/texk/detex/configure.ac
===================================================================
--- trunk/Build/source/texk/detex/configure.ac	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/detex/configure.ac	2020-11-05 18:16:20 UTC (rev 56860)
@@ -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 at tug.org>
+dnl   Copyright 2014-2020 Karl Berry <tex-live at tug.org>
+dnl   Copyright 2009-2013 Peter Breitenlohner <tex-live at 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 @@
 KPSE_COMMON([detex])
 
 AC_PROG_LEX
-AC_HEADER_TIME
 
 AC_CONFIG_HEADERS([c-auto.h:c-auto.in])
 

Modified: trunk/Build/source/texk/gsftopk/ChangeLog
===================================================================
--- trunk/Build/source/texk/gsftopk/ChangeLog	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/gsftopk/ChangeLog	2020-11-05 18:16:20 UTC (rev 56860)
@@ -1,3 +1,8 @@
+2020-11-05  Karl Berry  <karl at freefriends.org>
+
+	* configure.ac (AC_HEADER_TIME): remove, since it will be
+	a no-op in the next autoconf anyway, and is (hopefully) universal.
+
 2019-08-18  Akira Kakuto  <kakuto at w32tex.org>
 
 	* gsftopk.c: Add an option -dNOSAFER for Ghostscript.

Modified: trunk/Build/source/texk/gsftopk/c-auto.in
===================================================================
--- trunk/Build/source/texk/gsftopk/c-auto.in	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/gsftopk/c-auto.in	2020-11-05 18:16:20 UTC (rev 56860)
@@ -166,9 +166,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
 

Modified: trunk/Build/source/texk/gsftopk/configure
===================================================================
--- trunk/Build/source/texk/gsftopk/configure	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/gsftopk/configure	2020-11-05 18:16:20 UTC (rev 56860)
@@ -13508,41 +13508,6 @@
 
 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
-
 for ac_header in poll.h sys/time.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`

Modified: trunk/Build/source/texk/gsftopk/configure.ac
===================================================================
--- trunk/Build/source/texk/gsftopk/configure.ac	2020-11-05 18:05:23 UTC (rev 56859)
+++ trunk/Build/source/texk/gsftopk/configure.ac	2020-11-05 18:16:20 UTC (rev 56860)
@@ -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 at tug.org>
+dnl   Copyright 2014-2020 Karl Berry <tex-live at tug.org>
+dnl   Copyright 2009-2013 Peter Breitenlohner <tex-live at tug.org>
 dnl
 dnl   This file is free software; the copyright holder
 dnl   gives unlimited permission to copy and/or distribute it,
@@ -19,7 +21,6 @@
 
 dnl Checks for header files.
 AC_HEADER_SYS_WAIT
-AC_HEADER_TIME
 AC_CHECK_HEADERS([poll.h sys/time.h])
 
 dnl Checks for library functions.


Property changes on: trunk/Build/source/texk/gsftopk/configure.ac
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Date Author Id Revision
\ No newline at end of property


More information about the tex-live-commits mailing list.