summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-11-05 14:25:18 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-11-05 14:25:18 +0000
commit115e71f1805399ee18c8d28060386df4188e75ac (patch)
tree8d270e2d330f15094b9d27a7f38f1529ceeb261f /www
parentFix truetype font support with gd. (diff)
Allow options to be set via PHP4_OPTIONS if BATCH is enabled, e. g.
make -DBATCH PHP4_OPTIONS='"zlib" "MySQL" "IMAP"' install Make sure options are surrounded by " (double-quotes).
Notes
Notes: svn path=/head/; revision=49607
Diffstat (limited to 'www')
-rw-r--r--www/mod_php4/scripts/configure.php6
-rw-r--r--www/mod_php5/scripts/configure.php6
2 files changed, 10 insertions, 2 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index fb4694e1e2da..3691299a1589 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -8,7 +8,11 @@ fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ "${BATCH}" ]; then
- set \"zlib\" \"MySQL\"
+ if [ "${PHP4_OPTIONS}" ]; then
+ set ${PHP4_OPTIONS}
+ else
+ set \"zlib\" \"MySQL\"
+ fi
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index fb4694e1e2da..3691299a1589 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -8,7 +8,11 @@ fi
tempfile=`/usr/bin/mktemp -t checklist`
if [ "${BATCH}" ]; then
- set \"zlib\" \"MySQL\"
+ if [ "${PHP4_OPTIONS}" ]; then
+ set ${PHP4_OPTIONS}
+ else
+ set \"zlib\" \"MySQL\"
+ fi
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\