1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 19:41:05 +02:00
Files
archived-php-src/ext
Peter Kokot cbc785dc8c Remove AC_STRUCT_TM macro
Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems anymore, including the `AC_STRUCT_TM`.

This macro checks if `struct tm` is defined in either `<sys/time.h>` or
`<time.h>` and defines the `TM_IN_SYS_TIME` symbol accordingly. This
check was relevant in times before the C89 for some embedded systems,
microcontrollers or very old systems. For newer systems it can be
avoided and the `<time.h>` should be included instead since current
systems should be well supported by now. [2]

Since PHP requires at least C89, this patch removes the obsolescent call
and time.h checks.

Refs:

- [1]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
- [2]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Structures.html
2018-08-29 21:22:47 +02:00
..
2018-08-12 16:15:45 +02:00
2018-08-13 16:02:13 +02:00
2018-07-25 11:57:11 +02:00
2018-07-25 00:53:25 +02:00
2018-08-28 21:20:00 -03:00
2018-08-28 14:02:44 +02:00
2018-08-12 16:15:45 +02:00
2018-07-25 00:53:25 +02:00
2018-08-02 18:28:56 +02:00
2018-08-26 13:23:51 +02:00
2018-08-12 16:15:45 +02:00
2018-08-12 16:15:45 +02:00
2018-08-12 16:15:45 +02:00
2018-08-13 09:18:38 +02:00
2018-08-12 16:15:45 +02:00
2018-07-27 16:27:41 +02:00
2018-08-12 16:15:45 +02:00
2018-08-12 16:15:45 +02:00
2018-08-19 20:20:46 +01:00
2018-07-30 18:29:40 +02:00
2018-08-03 07:12:13 +02:00
2018-08-12 16:15:45 +02:00
2018-07-25 00:53:25 +02:00
2018-08-17 14:56:43 +08:00
2018-08-28 21:20:00 -03:00
2018-07-25 00:53:25 +02:00
2018-07-26 14:23:40 +02:00
2018-08-29 21:22:47 +02:00
2018-08-13 16:09:32 +02:00
2018-07-25 00:53:25 +02:00
2018-08-12 16:15:45 +02:00
2018-08-06 09:39:52 +02:00
2018-07-29 13:48:35 -03:00