summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-05-29 09:26:15 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-05-29 09:26:15 +0000
commit0dc4fb01f24e7ba3eddf38e293eabd51ffdf4241 (patch)
tree61751449509385e7a9c5a67a3cdbce065bdbac2b
parentefce76f3369a6ecc12c201c6dfa7f2aec5bec2b1 (diff)
downloadptxdist-0dc4fb01f24e7ba3eddf38e293eabd51ffdf4241.tar.gz
ptxdist-0dc4fb01f24e7ba3eddf38e293eabd51ffdf4241.tar.xz
[php5] add option tu build php5 with sockets support
Author: Markus Rathgeb <rathgeb.markus@googlemail.com> Add the option to build php5 with support for sockets. Signed-off-by: Markus Rathgeb <rathgeb.markus@googlemail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10604 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/php5.in7
-rw-r--r--rules/php5.make6
2 files changed, 13 insertions, 0 deletions
diff --git a/rules/php5.in b/rules/php5.in
index 45415b35..65f986f4 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -533,6 +533,13 @@ config PHP5_EXT_SOAP
Enable SOAP support for PHP.
# --enable-sockets Enable sockets support
+
+config PHP5_EXT_SOCKETS
+ bool
+ prompt "sockets"
+ help
+ Enable sockets support for PHP.
+
# --disable-spl Disable Standard PHP Library
# --without-sqlite Do not include sqlite support.
# Use --with-sqlite=DIR to specify DIR where
diff --git a/rules/php5.make b/rules/php5.make
index ef3b7de9..450f488d 100644
--- a/rules/php5.make
+++ b/rules/php5.make
@@ -261,6 +261,12 @@ else
PHP5_AUTOCONF += --disable-soap
endif
+ifdef PTXCONF_PHP5_EXT_SOCKETS
+PHP5_AUTOCONF += --enable-sockets
+else
+PHP5_AUTOCONF += --disable-sockets
+endif
+
ifdef PTXCONF_PHP5_EXT_PEAR
PHP5_AUTOCONF += --with-pear=FIXME
else