apache: add customization of MPM
[buildroot-gz.git] / package / apache / Config.in
blob511876d2eb87acb5452c97efa93e693742f5852b
1 config BR2_PACKAGE_APACHE
2         bool "apache"
3         select BR2_PACKAGE_APR_UTIL
4         select BR2_PACKAGE_PCRE
5         depends on !BR2_STATIC_LIBS
6         depends on BR2_TOOLCHAIN_HAS_THREADS
7         depends on BR2_USE_MMU # apr
8         help
9           The Apache HTTP Server Project is an effort to develop and maintain an
10           open-source HTTP server for modern operating systems including UNIX
11           and Windows NT. The goal of this project is to provide a secure,
12           efficient and extensible server that provides HTTP services in sync
13           with the current HTTP standards.
15           http://httpd.apache.org
17 if BR2_PACKAGE_APACHE
19 choice
20         prompt "Multi-Processing Module (MPM)"
21         default BR2_PACKAGE_APACHE_MPM_WORKER
22         help
23           Select the Multi-Processing Module (MPM).
25 config BR2_PACKAGE_APACHE_MPM_EVENT
26         bool "event"
27         help
28           A variant of the worker MPM with the goal of consuming threads
29           only for connections with active processing
31 config BR2_PACKAGE_APACHE_MPM_PREFORK
32         bool "prefork"
33         help
34           Implements a non-threaded, pre-forking web server
36 config BR2_PACKAGE_APACHE_MPM_WORKER
37         bool "worker"
38         help
39           Implements a hybrid multi-threaded multi-process web server
41 endchoice
43 endif
45 comment "apache needs a toolchain w/ dynamic library, threads"
46         depends on BR2_USE_MMU
47         depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS