diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-06-28 23:10:37 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-06-30 23:57:54 +0200 |
commit | 9a3c8e51e3ee33a4f9a414f79af09489273e0b92 (patch) | |
tree | a4d65558f469d7c459e46ab8febc5ae51cfc35c6 /ext/posix | |
parent | 8bc59a62c43bd38938a076e0c28edc42322dcea1 (diff) | |
download | php-git-9a3c8e51e3ee33a4f9a414f79af09489273e0b92.tar.gz |
Sync functions checks
Removed unused checks:
- mbsinit check removed, HAVE_MBSINIT removed (not used in php-src)
- mempcpy check removed, HAVE_MEMPCPY removed (not used in php-src anymore since
560ed89bfbb56526251e9bd2fbcb27e5932641d8 which uses PHP's own implementation)
- strpncpy check removed, added via a8c9e893b6911c785f698d724b2ff61e7aebb737 and
not used.
- setpgid check removed since HAVE_SETPGID is not used
Moved to a central configure.ac:
- fpclass
- mbrlen moved to configure.ac (since the HAVE_MBRLEN is used accross the php-src)
- sigprocmask
- getcwd
- getwd
- glob
- strfmon
- nice
Duplicated checks removed:
- gethostname
- getlogin
- getpwuid_r
- socketpair
- mprotect check simplified
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4 index 9beea518be..e91041188a 100644 --- a/ext/posix/config.m4 +++ b/ext/posix/config.m4 @@ -10,7 +10,7 @@ if test "$PHP_POSIX" = "yes"; then AC_CHECK_HEADERS([sys/mkdev.h sys/sysmacros.h]) - AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo mknod setrlimit getrlimit getlogin getgroups makedev initgroups getpwuid_r getgrgid_r) + AC_CHECK_FUNCS(seteuid setegid setsid getsid getpgid ctermid mkfifo mknod setrlimit getrlimit getgroups makedev initgroups getgrgid_r) AC_MSG_CHECKING([for working ttyname_r() implementation]) AC_RUN_IFELSE([AC_LANG_SOURCE([[ |