com php-src: Remove AC_HEADER_TIME: ext/mbstring/config .m4 ext/xmlrpc/libxmlrpc/acinclude.m4

From: Date: Sun, 02 Sep 2018 17:24:55 +0000
Subject: com php-src: Remove AC_HEADER_TIME: ext/mbstring/config .m4 ext/xmlrpc/libxmlrpc/acinclude.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102960@lists.php.net to get a copy of this message
Commit: f86d3de87f143ebb2f4a29a5d76edc62256a386b Author: Peter Kokot <peterkokot@gmail.com> Sat, 1 Sep 2018 06:40:53 +0200 Parents: 8e230d364d9d86b7b4d1eec1cbc2a26d843393be Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f86d3de87f143ebb2f4a29a5d76edc62256a386b Log: 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 Changed paths: M ext/mbstring/config.m4 M ext/xmlrpc/libxmlrpc/acinclude.m4 Diff: diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index b5503f3...a1a9f21 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config..m4 @@ -98,7 +98,6 @@ int main() { return foo(10, "", 3.14); } AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(long, 4) - AC_HEADER_TIME AC_FUNC_ALLOCA AC_FUNC_MEMCMP AC_CHECK_HEADER([stdarg.h], [ diff --git a/ext/xmlrpc/libxmlrpc/acinclude.m4 b/ext/xmlrpc/libxmlrpc/acinclude.m4 index 77e372c..ad23e0a 100644 --- a/ext/xmlrpc/libxmlrpc/acinclude.m4 +++ b/ext/xmlrpc/libxmlrpc/acinclude.m4 @@ -24,7 +24,6 @@ AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(long, 4) AC_CHECK_SIZEOF(long long, 8) AC_TYPE_SIZE_T -AC_HEADER_TIME AC_TYPE_UID_T

« previous php.cvs (#102960) next »