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