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

This macro checks which header defines the `DIR` type. If `<dirent.h>`
is available it defines the `HAVE_DIRENT_H` symbol. Since the `<dirent.h>`
header is already checked in the `configure.ac`, this check is not needed
anymore. This macro also additionally checks for SCO Xenix (discontinued,
latest release 1989) dir and x libraries. [2]

Commit 6ed790685f introduced also
`<sys/dir.h>`. This header exists from times of UNIX System V and
provided definition of DIR type on these systems such as 4.3BSD.
Today `<sys/dir.h>` is kept for backwards compatibility and includes
the `<dirent.h>` on current systems. With `dirent.h>` present this
include is no longer required.

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

Remove unused dirent.h includes
2018-09-04 12:01:24 +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-09-04 04:57:13 +02:00
2018-08-02 18:28:56 +02:00
2018-09-04 05:07:43 +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-09-03 12:26:42 +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-09-04 12:01:24 +02:00
2018-09-02 20:03:03 +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-09-04 05:32:52 +02:00
2018-09-04 05:32:42 +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-09-04 12:01:24 +02:00
2018-08-13 16:09:32 +02:00
2018-07-25 00:53:25 +02:00
2018-09-02 19:24:55 +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