mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-14 07:43:32 +08:00
35eaed8d07
In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_LIGHTTPD
|
|
bool "lighttpd"
|
|
depends on BR2_USE_MMU # fork()
|
|
help
|
|
lighttpd a secure, fast, compliant and very flexible web-server
|
|
which has been optimized for high-performance environments. It
|
|
has a very low memory footprint compared to other webservers and
|
|
takes care of cpu-load. Its advanced feature-set (FastCGI, CGI,
|
|
Auth, Output-Compression, URL-Rewriting and many more) make
|
|
lighttpd the perfect webserver-software for every server that
|
|
is suffering load problems.
|
|
|
|
http://www.lighttpd.net/
|
|
|
|
if BR2_PACKAGE_LIGHTTPD
|
|
|
|
config BR2_PACKAGE_LIGHTTPD_OPENSSL
|
|
bool "openssl support"
|
|
select BR2_PACKAGE_OPENSSL
|
|
help
|
|
Enable OpenSSL support for lighttpd.
|
|
|
|
config BR2_PACKAGE_LIGHTTPD_ZLIB
|
|
bool "zlib support"
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Enable zlib support for lighttpd mod_compress.
|
|
|
|
config BR2_PACKAGE_LIGHTTPD_BZIP2
|
|
bool "bzip2 support"
|
|
select BR2_PACKAGE_BZIP2
|
|
help
|
|
Enable bzip2 support for lighttpd mod_compress.
|
|
|
|
config BR2_PACKAGE_LIGHTTPD_PCRE
|
|
bool "pcre support"
|
|
select BR2_PACKAGE_PCRE
|
|
help
|
|
Enable PCRE support. Needed to support mod_rewrite
|
|
|
|
config BR2_PACKAGE_LIGHTTPD_WEBDAV
|
|
bool "webdav support"
|
|
select BR2_PACKAGE_LIBXML2
|
|
select BR2_PACKAGE_SQLITE
|
|
help
|
|
Enable webdav support. Needed to support mod_webdav
|
|
|
|
config BR2_PACKAGE_LIGHTTPD_LUA
|
|
bool "lua support"
|
|
select BR2_PACKAGE_LUA
|
|
help
|
|
Enable Lua support. Needed to support mod_magnet
|
|
|
|
endif
|