These are part of the C89 and on today's systems not needed to be
checked anymore. This removes symbols HAVE_SIGNAL and HAVE_STRERROR.
- http://port70.net/~nsz/c/c89/c89-draft.html
- locale.h is also part of C89 but will be removed per request in PHP 8
dnl ----------------------------------------------------------------------------
dnl QNX requires unix.h to allow functions in libunix to work properly.
+dnl locale.h is checked for supporting old code in extensions such as imagick.
AC_CHECK_HEADERS([ \
inttypes.h \
stdint.h \
poll.h \
pwd.h \
resolv.h \
-signal.h \
strings.h \
syslog.h \
sysexits.h \
statvfs \
std_syslog \
strcasecmp \
-strerror \
strfmon \
strnlen \
strptime \
#undef HAVE_FLOCK
#define HAVE_ALLOCA 1
#undef HAVE_SYS_TIME_H
-#define HAVE_SIGNAL_H 1
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
#undef HAVE_STRUCT_STAT_ST_BLOCKS
#define HAVE_STRUCT_STAT_ST_RDEV 1
#endif
#define HAVE_SHUTDOWN 1
#define HAVE_STRCASECMP 1
-#define HAVE_STRERROR 1
#define HAVE_TEMPNAM 1
#define HAVE_UTIME 1
#undef HAVE_DIRENT_H