mirror of
https://github.com/php/php-src.git
synced 2026-04-15 20:11:02 +02:00
Merge branch 'PHP-7.3'
This commit is contained in:
@@ -6,7 +6,7 @@ PHP_ARG_ENABLE(fpm,,
|
||||
dnl configure checks {{{
|
||||
AC_DEFUN([AC_FPM_STDLIBS],
|
||||
[
|
||||
AC_CHECK_FUNCS(setenv clearenv setproctitle)
|
||||
AC_CHECK_FUNCS(setenv clearenv setproctitle setproctitle_fast)
|
||||
|
||||
AC_SEARCH_LIBS(socket, socket)
|
||||
AC_SEARCH_LIBS(inet_addr, nsl)
|
||||
|
||||
@@ -119,7 +119,9 @@ static char * nvmatch(char *s1, char *s2) /* {{{ */
|
||||
|
||||
void fpm_env_setproctitle(char *title) /* {{{ */
|
||||
{
|
||||
#ifdef HAVE_SETPROCTITLE
|
||||
#if defined(HAVE_SETPROCTITLE_FAST)
|
||||
setproctitle_fast("%s", title);
|
||||
#elif defined(HAVE_SETPROCTITLE)
|
||||
setproctitle("%s", title);
|
||||
#else
|
||||
#ifdef __linux__
|
||||
|
||||
Reference in New Issue
Block a user