summaryrefslogtreecommitdiffstats
path: root/rules/apache2.in
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2008-06-04 10:46:49 +0000
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2008-06-04 10:46:49 +0000
commit9875da768c97e359a8911b062efafd43e8c99f21 (patch)
tree3837a3a41c495e79e0cf5894e44b9be05abdb2d6 /rules/apache2.in
parenta04bfaf9b27bbc0c6e79f02c5ede1335e7f13796 (diff)
downloadptxdist-9875da768c97e359a8911b062efafd43e8c99f21.tar.gz
ptxdist-9875da768c97e359a8911b062efafd43e8c99f21.tar.xz
* : tristate changes a-c.in
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8293 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/apache2.in')
-rw-r--r--rules/apache2.in31
1 files changed, 11 insertions, 20 deletions
diff --git a/rules/apache2.in b/rules/apache2.in
index 1d89733a6..05676f505 100644
--- a/rules/apache2.in
+++ b/rules/apache2.in
@@ -1,7 +1,8 @@
# Apache 2 configuration
menuconfig APACHE2
- bool "Apache 2 HTTP Server"
+ tristate
+ prompt "apache 2 http server "
select EXPAT
select LIBC_RT
select HOST_APACHE2
@@ -11,11 +12,11 @@ menuconfig APACHE2
improvements, such as threading, a new API, IPv6 support,
request/response filtering, and more.
+if APACHE2
+
comment "build options ---"
- depends on APACHE2
choice
- depends on APACHE2
prompt "Multi Process Model"
config APACHE2_MPM_PREFORK
@@ -38,10 +39,8 @@ choice
endchoice
comment "runtime options ---"
- depends on APACHE2
config APACHE2_SERVERROOT
- depends on APACHE2
string
prompt "ServerRoot directory"
default "/usr/share/apache2"
@@ -50,10 +49,9 @@ config APACHE2_SERVERROOT
located.
menuconfig ROOTFS_ETC_INITD_HTTPD
- depends on APACHE2
- bool
+ tristate
default y
- prompt "Install startup script"
+ prompt "install startup script "
help
The /etc/init.d/httpd script lets you control the apache daemon.
@@ -79,7 +77,6 @@ menuconfig ROOTFS_ETC_INITD_HTTPD
endchoice
config APACHE2_INSTALL_CONFIG
- depends on APACHE2
bool
default y
prompt "Install httpd.conf"
@@ -135,10 +132,8 @@ config APACHE2_SERVERADMIN
SERVERADMIN entry in httpd.conf
comment "Directories ---"
- depends on APACHE2
config APACHE2_CONFIGDIR
- depends on APACHE2
string
default "/etc/apache2"
prompt "Config directory"
@@ -147,7 +142,6 @@ config APACHE2_CONFIGDIR
searched here).
config APACHE2_LOGDIR
- depends on APACHE2
string
default "/var/log/apache2"
prompt "Logfile directory"
@@ -155,7 +149,6 @@ config APACHE2_LOGDIR
Apache's logfile directory.
config APACHE2_DOCUMENTROOT
- depends on APACHE2
string
default "/var/www"
prompt "DocumentRoot directory"
@@ -166,7 +159,7 @@ config APACHE2_DOCUMENTROOT
is provided).
config APACHE2_DEFAULT_INDEX
- depends on APACHE2 && APACHE2_DOCUMENTROOT != ""
+ depends APACHE2_DOCUMENTROOT != ""
bool
default y
prompt "Default index.html"
@@ -174,11 +167,10 @@ config APACHE2_DEFAULT_INDEX
Install a demo HTML file, from project/generic/index.html.
comment "Misc ---"
- depends on APACHE2
config APACHE2_PUBLICDOMAINICONS
bool "Public Domain Icons"
- depends on APACHE2 && APACHE2_SERVERROOT != ""
+ depends APACHE2_SERVERROOT != ""
default y
help
These icons were originally made for Mosaic for X and have been
@@ -189,7 +181,7 @@ config APACHE2_PUBLICDOMAINICONS
config APACHE2_CUSTOMERRORS
bool "Multi Language Custom Error Documents"
- depends on APACHE2 && APACHE2_SERVERROOT != ""
+ depends APACHE2_SERVERROOT != ""
default y
help
Install HTTP error messages in multiple languages. If the preferred
@@ -198,13 +190,12 @@ config APACHE2_CUSTOMERRORS
Options, Language and ErrorDocument directives.
comment "----------------------------------"
- depends on APACHE2
comment "Apache 2 Modules"
- depends on APACHE2
comment "----------------------------------"
- depends on APACHE2
+
+endif
source "rules/apache2_mod_python.in"