cvs: php4 /ext/pcntl config.m4

From: Date: Fri, 04 Jan 2002 14:08:50 +0000
Subject: cvs: php4 /ext/pcntl config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8934@lists.php.net to get a copy of this message
hholzgra Fri Jan 4 09:08:50 2002 EDT Modified files: /php4/ext/pcntl config.m4 Log: use predefined function instead of hardcoded test Index: php4/ext/pcntl/config.m4 diff -u php4/ext/pcntl/config.m4:1.4 php4/ext/pcntl/config.m4:1.5 --- php4/ext/pcntl/config.m4:1.4 Fri Nov 30 13:59:50 2001 +++ php4/ext/pcntl/config.m4 Fri Jan 4 09:08:50 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.4 2001/11/30 18:59:50 sniper Exp $ +dnl $Id: config.m4,v 1.5 2002/01/04 14:08:50 hholzgra Exp $ dnl dnl Process Control (pcntl) extentsion --EXPERIMENTAL-- @@ -9,9 +9,7 @@ [ --enable-pcntl Enable experimental pcntl support (CGI ONLY!)]) if test "$PHP_PCNTL" != "no"; then - if test "$PHP_SAPI" != "cgi"; then - AC_MSG_ERROR(pcntl currently only accepts the CGI SAPI, this will save you from harming your webserver.) - fi + PHP_CHECK_STANDALONE(pcntl) 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) ])

« previous php.cvs (#8934) next »