mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove nsl library check in sapi/fpm (#13478)
In sapi/fpm the inet_ntop is used instead of the deprecated inet_addr and the required library, if needed, is linked from the configure.ac.
This commit is contained in:
parent
205c8b642c
commit
171e3986b0
1 changed files with 2 additions and 8 deletions
|
@ -5,13 +5,6 @@ PHP_ARG_ENABLE([fpm],,
|
||||||
[no])
|
[no])
|
||||||
|
|
||||||
dnl Configure checks.
|
dnl Configure checks.
|
||||||
AC_DEFUN([AC_FPM_STDLIBS],
|
|
||||||
[
|
|
||||||
AC_CHECK_FUNCS(clearenv setproctitle setproctitle_fast)
|
|
||||||
|
|
||||||
AC_SEARCH_LIBS(inet_addr, nsl)
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_DEFUN([AC_FPM_CLOCK],
|
AC_DEFUN([AC_FPM_CLOCK],
|
||||||
[
|
[
|
||||||
have_clock_gettime=no
|
have_clock_gettime=no
|
||||||
|
@ -482,7 +475,6 @@ AC_MSG_CHECKING(for FPM build)
|
||||||
if test "$PHP_FPM" != "no"; then
|
if test "$PHP_FPM" != "no"; then
|
||||||
AC_MSG_RESULT($PHP_FPM)
|
AC_MSG_RESULT($PHP_FPM)
|
||||||
|
|
||||||
AC_FPM_STDLIBS
|
|
||||||
AC_FPM_CLOCK
|
AC_FPM_CLOCK
|
||||||
AC_FPM_TRACE
|
AC_FPM_TRACE
|
||||||
AC_FPM_BUILTIN_ATOMIC
|
AC_FPM_BUILTIN_ATOMIC
|
||||||
|
@ -494,6 +486,8 @@ if test "$PHP_FPM" != "no"; then
|
||||||
AC_FPM_EPOLL
|
AC_FPM_EPOLL
|
||||||
AC_FPM_SELECT
|
AC_FPM_SELECT
|
||||||
|
|
||||||
|
AC_CHECK_FUNCS([clearenv setproctitle setproctitle_fast])
|
||||||
|
|
||||||
AC_CHECK_HEADER([priv.h], [AC_CHECK_FUNCS([setpflags])])
|
AC_CHECK_HEADER([priv.h], [AC_CHECK_FUNCS([setpflags])])
|
||||||
|
|
||||||
PHP_ARG_WITH([fpm-user],,
|
PHP_ARG_WITH([fpm-user],,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue