Jelajahi Sumber

php: add process control support

Closes #2791

Signed-off-by: Thomas Rudin <thomas@rudin.li>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Rudin 14 tahun lalu
induk
melakukan
972cd4229b
3 mengubah file dengan 12 tambahan dan 1 penghapusan
  1. 3 1
      CHANGES
  2. 5 0
      package/php/Config.ext
  3. 4 0
      package/php/php.mk

+ 3 - 1
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

+ 5 - 0
package/php/Config.ext

@@ -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

+ 4 - 0
package/php/php.mk

@@ -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