summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-04-17 00:37:12 +0000
committerStig Bakken <ssb@php.net>1999-04-17 00:37:12 +0000
commit257de2baded9330ff392f33fd5a7cc0ba271e18d (patch)
treea271fff83e6eaeebfc32e83173dc7a0f37d1e016 /setup
parent2127ede122ad920c22fecdc668e864c0210dd146 (diff)
downloadphp-git-257de2baded9330ff392f33fd5a7cc0ba271e18d.tar.gz
First commit of re-structuring phase one. We have started using automake in
sub-directories and started to move extension code into ext/<name>. For now, I have moved the "standard" extension (which is quite a mix of everything right now) and the GD extension into their own subdirs in ext/. The configure script now also runs configure in the libzend directory automatically and makes sure php4 and libzend use the same config.cache file. To avoid running configure in libzend, use the --no-recursion option. "make" in php4 also builds libzend now. The Apache module doesn't compile right now, but a fix for that is coming up.
Diffstat (limited to 'setup')
-rw-r--r--setup17
1 files changed, 9 insertions, 8 deletions
diff --git a/setup b/setup
index b0779136a6..0a9b30dffd 100644
--- a/setup
+++ b/setup
@@ -219,24 +219,25 @@ define_option with-apache 'Build as an Apache module?' yesnodir \
The CGI version also enables Apache users to run different PHP3-enabled\n
pages under different user-ids.'
-define_option with-mod_charset 'Enable transfer tables used by mod_charset?' yesno no \
+if test "$option_value_with_apache" != "no"; then
+ define_option with-mod_charset 'Enable transfer tables used by mod_charset?' yesno no \
' Whether to respect transfer tables used by mod_charset when PHP compiled\n
as Apache module. It is required to allow mod_charset (aka Russian Apache)\n
to work properly.'
+fi
-define_option with-fhttpd 'Build as an fhttpd module?' yesnodir \
+if test "$option_value_with_apache" = "no"; then
+ define_option with-fhttpd 'Build as an fhttpd module?' yesnodir \
'no /usr/local/src/fhttpd fhttpd sources' \
' Whether to build PHP as fhttpd module. If you are running\n
fhttpd, building PHP as a module will give better performance,\n
more control and remote execution capability. More info about fhttpd \n
can be found at http://phobos.illtel.denver.co.us/pub/fhttpd/.'
+fi
-define_option with-gd 'GD support?' yesnodir \
- "yes /usr GD install" \
-' Whether to include GD support. If PHP can find the GD libraries\n
- on your system, it will be included automatically. You should enter\n
- something here if you do not want to include GD support or if you\n
- have installed GD in some unusual directory.'
+for stub in ext/*/setup.stub; do
+ test -f $stub && . $stub
+done
define_option with-oracle 'Oracle support?' yesnodir \
"no $oradir Oracle home" \