summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-03-13 22:50:53 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-03-14 20:20:12 +0100
commit97d25c87d2f875426aa27495896f419412de7ab2 (patch)
tree0f2257f6790a487239d3a2ff11685365e9bb06a7 /sapi
parent3a857852a8dada5e60ba6d028878ecd6224b9c5d (diff)
downloadphp-git-97d25c87d2f875426aa27495896f419412de7ab2.tar.gz
Clean build system
Changes: - AC_TYPE_SIZE_T called on only one place (configure.ac) - AC_FUNC_ALLOCA called on only one place (configure.ac) - AC_TYPE_UID_T called on only one place (configure.ac) - HAVE_STRSTR removed since strstr is part of C89 standard [1] - Remove checks for strtol and strpbrk - Checking for the presence of perror function is not needed anymore since it is part of C89 standard and PHP calls it unconditionally. - Checking for functions strdup, setenv, strerror, and memmove done only on one place (configure.ac) - outdated check for snprintf removed 1: https://port70.net/~nsz/c/c89/c89-draft.html
Diffstat (limited to 'sapi')
-rw-r--r--sapi/fpm/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fpm/config.m4 b/sapi/fpm/config.m4
index b23a6746d1..2aed96046c 100644
--- a/sapi/fpm/config.m4
+++ b/sapi/fpm/config.m4
@@ -9,7 +9,7 @@ PHP_ARG_ENABLE([fpm],,
dnl configure checks {{{
AC_DEFUN([AC_FPM_STDLIBS],
[
- AC_CHECK_FUNCS(setenv clearenv setproctitle setproctitle_fast)
+ AC_CHECK_FUNCS(clearenv setproctitle setproctitle_fast)
AC_SEARCH_LIBS(socket, socket)
AC_SEARCH_LIBS(inet_addr, nsl)