diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 8f62015f733fd..95c8d580b5cd0 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -128,6 +128,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES - Symbols HAVE_DLOPEN and HAVE_DLSYM have been removed. - Symbol HAVE_MYSQL has been removed. - Symbol HAVE_PDO_SQLITELIB has been removed. + - Symbol HAVE_WAITPID has been removed. - M4 macro PHP_DEFINE (atomic includes) removed (use AC_DEFINE and config.h). - M4 macro PHP_WITH_SHARED has been removed (use PHP_ARG_WITH). - M4 macro PHP_STRUCT_FLOCK has been removed (use AC_CHECK_TYPES). diff --git a/ext/pcntl/config.m4 b/ext/pcntl/config.m4 index 4d54d75fb0302..f781ea8b3da48 100644 --- a/ext/pcntl/config.m4 +++ b/ext/pcntl/config.m4 @@ -4,8 +4,10 @@ PHP_ARG_ENABLE([pcntl], [Enable pcntl support (CLI/CGI only)])]) if test "$PHP_PCNTL" != "no"; then - AC_CHECK_FUNCS([fork waitpid sigaction],, - [AC_MSG_ERROR([ext/pcntl: required function $ac_func() not found.])]) + for function in fork sigaction waitpid; do + AC_CHECK_FUNC([$function],, + [AC_MSG_ERROR([ext/pcntl: required function $function() not found.])]) + done AC_CHECK_FUNCS(m4_normalize([ forkx