]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/mongrel2/Config.in
a9b09b786ce3b88fec58f7253240439571d59d5b
[coffee/buildroot.git] / package / mongrel2 / Config.in
1 # mongrel2 uses {get,make,swap}context() functions, which are
2 # available in glibc for all architectures and in uClibc only for a
3 # subset of the architectures
4 config BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
5         bool
6         default y if BR2_TOOLCHAIN_USES_GLIBC
7         default y if BR2_TOOLCHAIN_USES_UCLIBC && \
8                 (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_sparc || BR2_x86_64)
9
10 comment "mongrel2 needs a uClibc or glibc toolchain w/ C++, threads, dynamic library"
11         depends on !BR2_INSTALL_LIBSTDCPP || \
12                 !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
13                 !BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
14
15 config BR2_PACKAGE_MONGREL2
16         bool "mongrel2"
17         depends on BR2_INSTALL_LIBSTDCPP # zeromq
18         depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
19         depends on !BR2_STATIC_LIBS # uses dlopen()
20         depends on BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
21         select BR2_PACKAGE_SQLITE
22         select BR2_PACKAGE_ZEROMQ
23         help
24           Mongrel2 is an application, language, and network architecture
25           agnostic web server that focuses on web applications using
26           modern browser technologies.
27
28           Mongrel2 supports 17 languages and platforms, HTTP, Flash
29           sockets, WebSockets, Long Polling, and many ways to deploy
30           and hack on it.
31
32           http://www.mongrel2.org