summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-05-28 07:44:44 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-05-28 07:44:44 +0000
commit03c4565bb8ef3f8a54c1a86b9a9ece4cb09be104 (patch)
tree001bd5d0a3a1084c497dbefea458988bf5ed62cb
parentc3377499e59d2de8bf442fffb5dc68e5d4296e2f (diff)
downloadptxdist-03c4565bb8ef3f8a54c1a86b9a9ece4cb09be104.tar.gz
ptxdist-03c4565bb8ef3f8a54c1a86b9a9ece4cb09be104.tar.xz
[php5] add option to build php5 with soap support
Author: Markus Rathgeb <rathgeb.markus@googlemail.com> Add the option to build php5 with soap support. 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@10578 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/php5.in10
-rw-r--r--rules/php5.make6
2 files changed, 15 insertions, 1 deletions
diff --git a/rules/php5.in b/rules/php5.in
index 6dc7ca75..d926b975 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -6,6 +6,7 @@ menuconfig PHP5
prompt "php5 "
select APACHE2 if PHP5_SAPI_APXS2
select MYSQL if PHP5_EXT_MYSQL
+ select PHP5_XML if PHP5_EXT_SOAP
select LIBXML2 if PHP5_XML_LIBXML2
if PHP5
@@ -441,7 +442,7 @@ config PHP5_EXT_MYSQL
bool
prompt "mysql"
help
- Enably MySQL database support for PHP.
+ Enable MySQL database support for PHP.
# --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory
# --with-mysql-sock[=DIR] MySQL: Location of the MySQL unix socket pointer.
@@ -547,6 +548,13 @@ config PHP5_EXT_MYSQL
# --with-openssl-dir[=DIR] SNMP: openssl install prefix
# --enable-ucd-snmp-hack SNMP: Enable UCD SNMP hack
# --enable-soap Enable SOAP support
+
+config PHP5_EXT_SOAP
+ bool
+ prompt "soap"
+ help
+ Enable SOAP support for PHP.
+
# --enable-sockets Enable sockets support
# --disable-spl Disable Standard PHP Library
# --without-sqlite Do not include sqlite support.
diff --git a/rules/php5.make b/rules/php5.make
index 80e573c6..d6f70e88 100644
--- a/rules/php5.make
+++ b/rules/php5.make
@@ -280,6 +280,12 @@ else
PHP5_AUTOCONF += --without-mysql
endif
+ifdef PTXCONF_PHP5_EXT_SOAP
+PHP5_AUTOCONF += --enable-soap
+else
+PHP5_AUTOCONF += --disable-soap
+endif
+
ifdef PTXCONF_PHP5_EXT_PEAR
PHP5_AUTOCONF += --with-pear=FIXME
else