diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-03-13 22:50:53 +0100 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-14 20:20:12 +0100 |
commit | 97d25c87d2f875426aa27495896f419412de7ab2 (patch) | |
tree | 0f2257f6790a487239d3a2ff11685365e9bb06a7 /Zend/Zend.m4 | |
parent | 3a857852a8dada5e60ba6d028878ecd6224b9c5d (diff) | |
download | php-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 'Zend/Zend.m4')
-rw-r--r-- | Zend/Zend.m4 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4 index fe8632b25e..f382c53c46 100644 --- a/Zend/Zend.m4 +++ b/Zend/Zend.m4 @@ -22,8 +22,6 @@ unix.h \ cpuid.h \ dlfcn.h) -AC_TYPE_SIZE_T - AC_DEFUN([LIBZEND_DLSYM_CHECK],[ dnl dnl Ugly hack to check if dlsym() requires a leading underscore in symbol name. @@ -40,8 +38,7 @@ _LT_AC_TRY_DLOPEN_SELF([ ]) dnl Checks for library functions. -AC_FUNC_ALLOCA -AC_CHECK_FUNCS(strdup getpid kill strtod strtol finite fpclass sigsetjmp) +AC_CHECK_FUNCS(getpid kill strtod finite fpclass sigsetjmp) AC_CHECK_DECLS([isfinite, isnan, isinf], [], [], [[#include <math.h>]]) |