summaryrefslogtreecommitdiff
path: root/ext/pcntl/config.m4
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-18 01:41:06 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-18 01:41:06 +0000
commit0503336ede0df8b683bc3e6339adc4800d8af066 (patch)
treeda0be9ae108c4bbdcbff0a37251afa358c84b1b6 /ext/pcntl/config.m4
parent952d5f548ef2eb29620602f3d7663d0f4f8e3c2e (diff)
downloadphp-git-0503336ede0df8b683bc3e6339adc4800d8af066.tar.gz
Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
to fetch and alter the priority of a process.
Diffstat (limited to 'ext/pcntl/config.m4')
-rw-r--r--ext/pcntl/config.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pcntl/config.m4 b/ext/pcntl/config.m4
index f24f038cb9..1675173474 100644
--- a/ext/pcntl/config.m4
+++ b/ext/pcntl/config.m4
@@ -13,6 +13,9 @@ if test "$PHP_PCNTL" != "no"; then
AC_CHECK_FUNCS(fork, [ AC_DEFINE(HAVE_FORK,1,[ ]) ], [ AC_MSG_ERROR(pcntl: fork() not supported by this platform) ])
AC_CHECK_FUNCS(waitpid, [ AC_DEFINE(HAVE_WAITPID,1,[ ]) ], [ AC_MSG_ERROR(pcntl: fork() not supported by this platform) ])
AC_CHECK_FUNCS(sigaction, [ AC_DEFINE(HAVE_SIGACTION,1,[ ]) ], [ AC_MSG_ERROR(pcntl: sigaction() not supported by this platform) ])
-
+
+ PHP_CHECK_FUNC(getpriority)
+ PHP_CHECK_FUNC(setpriority)
+
PHP_NEW_EXTENSION(pcntl, pcntl.c php_signal.c, $ext_shared, cli)
fi