summaryrefslogtreecommitdiff
path: root/package/php/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-05-13 13:49:05 +0200
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-05-13 13:49:05 +0200
commitd97099dd1cce2dded2323806eb6d1fc1097c0b51 (patch)
tree2ef4a90897be340e9b8773750963241350c0500e /package/php/Makefile
parenta4207397593cd7c8a5a05b66889e6d5d99cc34c6 (diff)
add php process control support
Diffstat (limited to 'package/php/Makefile')
-rw-r--r--package/php/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/php/Makefile b/package/php/Makefile
index 4e9c9dabb..061127fab 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -24,7 +24,7 @@ PKGSN_PHP_CLI:= php
PKG_FLAVOURS_PHP:= MOD_BZ2 MOD_CURL MOD_FTP MOD_GD MOD_GMP MOD_MYSQL
PKG_FLAVOURS_PHP+= MOD_OPENSSL MOD_PGSQL MOD_SESSION MOD_SNMP MOD_SQLITE
PKG_FLAVOURS_PHP+= MOD_SOCKETS MOD_XML MOD_SIMPLEXML MOD_ZLIB MOD_JSON
-PKG_FLAVOURS_PHP+= MOD_LDAP
+PKG_FLAVOURS_PHP+= MOD_LDAP MOD_PCNTL
PKGFD_MOD_BZ2:= bzip2 support
PKGFB_MOD_BZ2:= bzip2
@@ -49,6 +49,7 @@ PKGFB_MOD_MYSQL:= mysql
PKGFD_MOD_OPENSSL:= openssl support
PKGFB_MOD_OPENSSL:= openssl
PKGFS_MOD_OPENSSL:= libopenssl
+PKGFD_MOD_PCNTL:= process control support
PKGFD_MOD_PGSQL:= pgsql support
PKGFB_MOD_PGSQL:= postgresql
PKGFS_MOD_PGSQL:= libpq
@@ -166,6 +167,11 @@ PKG_CONFIGURE_OPTS+= --with-openssl=shared,"$(STAGING_TARGET_DIR)/usr" \
else
PKG_CONFIGURE_OPTS+= --without-openssl
endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_PCNTL),)
+PKG_CONFIGURE_OPTS+= --enable-pcntl
+else
+PKG_CONFIGURE_OPTS+= --disable-pcntl
+endif
ifneq ($(ADK_PACKAGE_PHP_MOD_PGSQL),)
PKG_CONFIGURE_OPTS+= --with-pgsql=shared,"$(STAGING_TARGET_DIR)/usr"
else