summaryrefslogtreecommitdiffstats
path: root/rules/php5.in
diff options
context:
space:
mode:
authorRoland Hieber <r.hieber@pengutronix.de>2017-11-02 12:54:07 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-11-02 12:55:48 +0100
commitc5fcc789b4d2168b3c8439d8a57dd2a1d0872b7e (patch)
treee4e6932496a58cada07290d7c424a445598b1edd /rules/php5.in
parent21546fa7408280bbe9cab1d93daa710829fa4ba2 (diff)
downloadptxdist-c5fcc789b4d2168b3c8439d8a57dd2a1d0872b7e.tar.gz
ptxdist-c5fcc789b4d2168b3c8439d8a57dd2a1d0872b7e.tar.xz
php5: don't build a SAPI module by default
With PHP5_SAPI_APXSFILTER as the top-most selectable choice, it gets selected as default when PHP5 is selected. This pulls in a fairly high footprint of other dependencies, namely (host-)apache2. These might not even be needed when PHP5 is selected as a dependency by other packages for PHP5_SAPI_CLI only. Default to PHP5_SAPI_NONE instead. This also selects PHP5_SAPI_CLI (preventing configure from complaining that nothing is being built), but no further external dependencies, resulting in a much smaller default footprint. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/php5.in')
-rw-r--r--rules/php5.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/php5.in b/rules/php5.in
index df352a062..fe76d4bd5 100644
--- a/rules/php5.in
+++ b/rules/php5.in
@@ -36,6 +36,7 @@ config PHP5_INI
choice
prompt "SAPI Module"
+ default PHP5_SAPI_NONE
config PHP5_SAPI_AOLSERVER
bool