]> granicus.if.org Git - php/commit
Remove AC_HEADER_TIME
authorPeter Kokot <peterkokot@gmail.com>
Sat, 1 Sep 2018 04:40:53 +0000 (06:40 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 2 Sep 2018 17:24:55 +0000 (19:24 +0200)
commitf86d3de87f143ebb2f4a29a5d76edc62256a386b
tree25e55b39d894a3adead356f263714fb33086ccec
parent8e230d364d9d86b7b4d1eec1cbc2a26d843393be
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 `<sys/time.h>` and `<time.h>` 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
ext/mbstring/config.m4
ext/xmlrpc/libxmlrpc/acinclude.m4