Skip to content

Commit f86d3de

Browse files
committed
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
1 parent 8e230d3 commit f86d3de

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

ext/mbstring/config.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ int main() { return foo(10, "", 3.14); }
9898
AC_CHECK_SIZEOF(int, 4)
9999
AC_CHECK_SIZEOF(short, 2)
100100
AC_CHECK_SIZEOF(long, 4)
101-
AC_HEADER_TIME
102101
AC_FUNC_ALLOCA
103102
AC_FUNC_MEMCMP
104103
AC_CHECK_HEADER([stdarg.h], [

ext/xmlrpc/libxmlrpc/acinclude.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ AC_CHECK_SIZEOF(int, 4)
2424
AC_CHECK_SIZEOF(long, 4)
2525
AC_CHECK_SIZEOF(long long, 8)
2626
AC_TYPE_SIZE_T
27-
AC_HEADER_TIME
2827
AC_TYPE_UID_T
2928
3029

0 commit comments

Comments
 (0)