diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index a86af2d98ce..504027849e2 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -130,6 +130,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 a2815f53a19..5357e7dbc01 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