diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-18 01:41:06 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-18 01:41:06 +0000 |
commit | 0503336ede0df8b683bc3e6339adc4800d8af066 (patch) | |
tree | da0be9ae108c4bbdcbff0a37251afa358c84b1b6 /ext/pcntl/config.m4 | |
parent | 952d5f548ef2eb29620602f3d7663d0f4f8e3c2e (diff) | |
download | php-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.m4 | 5 |
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 |