From 0dc4fb01f24e7ba3eddf38e293eabd51ffdf4241 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Fri, 29 May 2009 09:26:15 +0000 Subject: [php5] add option tu build php5 with sockets support Author: Markus Rathgeb Add the option to build php5 with support for sockets. Signed-off-by: Markus Rathgeb Signed-off-by: Marc Kleine-Budde git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10604 33e552b5-05e3-0310-8538-816dae2090ed --- rules/php5.in | 7 +++++++ rules/php5.make | 6 ++++++ 2 files changed, 13 insertions(+) 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 -- cgit v1.2.3