summaryrefslogtreecommitdiff
path: root/ext/pcntl/config.m4
diff options
context:
space:
mode:
authorJason Greene <jason@php.net>2001-06-12 08:54:25 +0000
committerJason Greene <jason@php.net>2001-06-12 08:54:25 +0000
commit8b43f3222ec7a2956568cd6da055afac89fd3b87 (patch)
tree09ec0cdeb60f4491efceb4549f34bd401891f8a9 /ext/pcntl/config.m4
parent3186994df105eafbf292d15187703b654431263b (diff)
downloadphp-git-8b43f3222ec7a2956568cd6da055afac89fd3b87.tar.gz
@Added new experimental module pcntl (Process Control) (Jason)
Initial Import
Diffstat (limited to 'ext/pcntl/config.m4')
-rw-r--r--ext/pcntl/config.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/pcntl/config.m4 b/ext/pcntl/config.m4
new file mode 100644
index 0000000000..865b831f49
--- /dev/null
+++ b/ext/pcntl/config.m4
@@ -0,0 +1,15 @@
+dnl $Id$
+dnl config.m4 for extension pcntl
+
+dnl Process Control (pcntl) extentsion --EXPERIMENTAL--
+dnl TODO - Add platform checks
+PHP_ARG_ENABLE(pcntl, whether to enable pcntl support,
+[ --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.)
+ else
+ PHP_EXTENSION(pcntl, $ext_shared)
+ fi
+fi