1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Simplify required functions checks in ext/pcntl (#14288)

This commit is contained in:
Peter Kokot
2024-05-21 14:53:52 +02:00
committed by GitHub
parent 07a48517ac
commit 0927651593

View File

@@ -4,9 +4,9 @@ PHP_ARG_ENABLE([pcntl],
[Enable pcntl support (CLI/CGI only)])])
if test "$PHP_PCNTL" != "no"; then
AC_CHECK_FUNCS([fork], [], [AC_MSG_ERROR([pcntl: fork() not supported by this platform])])
AC_CHECK_FUNCS([waitpid], [], [AC_MSG_ERROR([pcntl: waitpid() not supported by this platform])])
AC_CHECK_FUNCS([sigaction], [], [AC_MSG_ERROR([pcntl: sigaction() not supported by this platform])])
AC_CHECK_FUNCS([fork waitpid sigaction],,
[AC_MSG_ERROR([ext/pcntl: required function $ac_func() not found.])])
AC_CHECK_FUNCS(m4_normalize([
forkx
getcpuid