php: add process control support
authorThomas Rudin <thomas@rudin.li>
Mon, 15 Nov 2010 20:12:49 +0000 (17:12 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 24 Nov 2010 22:12:54 +0000 (23:12 +0100)
Closes #2791

Signed-off-by: Thomas Rudin <thomas@rudin.li>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/php/Config.ext
package/php/php.mk

diff --git a/CHANGES b/CHANGES
index e5332195199f0cc9f993e7e69c08b37eb1ff9e61..03e951306be54b8be82afc6f68b0421086862bfc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,7 +4,8 @@
 
        Updated/fixed packages: bash, bind, busybox, gpsd, libglib2,
        libcurl, libmad, lrzsz, midori, module-init-tools, mtd-utils,
-       openssh, openssl, pciutils, qt, sqlite, sysstat, webkit, zlib
+       openssh, openssl, pciutils, php, qt, sqlite, sysstat, webkit,
+       zlib
 
        Issues resolved (http://bugs.uclibc.org):
 
@@ -12,6 +13,7 @@
        #2479: host-module-init-tools 3.11 fails to build
        #2725: Buildroot overrides kernel config
        #2785: mtd-utils build fails due to missing libmtd
+       #2791: Added PHP-Process Control to the PHP-Package
        #2797: pciutils dependencies on zlib not taken into account
        #2809: failed to compile libglib2
        #2821: [PATCH] Patch for JavaScriptCore in QtWebKit module
index 0433abcfae0c4b286c6ca111c2aecd510564ed29..5c7f5ea68b9a3d61f2758fba7b3808074ab87256 100644 (file)
@@ -103,6 +103,11 @@ config BR2_PACKAGE_PHP_EXT_PCRE
        help
          Perl Compatible Regular Expressions support
 
+config BR2_PACKAGE_PHP_EXT_PCNTL
+       bool "PCNTL"
+       help
+         Process Control Support
+
 config BR2_PACKAGE_PHP_EXT_SYSVMSG
        bool "sysvmsg - System V Message queue"
        help
index 68b0b5fc9f3545315a69069c1ffc11e0298c6ac1..af4fa292aa869aed61e63f8186d085ee7781d9ac 100644 (file)
@@ -106,6 +106,10 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_NCURSES),y)
        PHP_DEPENDENCIES += ncurses
 endif
 
+ifeq ($(BR2_PACKAGE_PHP_EXT_PCNTL),y)
+       PHP_CONF_OPT += --enable-pcntl
+endif
+
 ifeq ($(BR2_PACKAGE_PHP_EXT_SYSVMSG),y)
        PHP_CONF_OPT += --enable-sysvmsg
 endif