From: Peter Kokot Date: Thu, 6 Sep 2018 03:40:25 +0000 (+0200) Subject: Remove AC_HEADER_TIME X-Git-Tag: v6.9.1~45^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d78bf58f43731fbd12852cb5eb5aa1a231cf316e;p=onig Remove AC_HEADER_TIME Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems anymore, including the `AC_HEADER_TIME`. This macro checks if both `` and `` can be included at the same time and defines the `TIME_WITH_SYS_TIME` and `HAVE_SYS_TIME_H` symbols. On current system such check is not relevant anymore because in case both headers are present both can be also included at the same time. This patch simplifies this checking. Refs: [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html --- diff --git a/configure.ac b/configure.ac index 91b4c7a..c39756a 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,6 @@ AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(long, 4) AC_C_CONST -AC_HEADER_TIME dnl Checks for library functions. AC_FUNC_ALLOCA