1config BR2_PACKAGE_NGINX_MODSECURITY
2	bool "nginx-modsecurity"
3	depends on BR2_PACKAGE_NGINX_HTTP
4	depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity
5	depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity
6	depends on !BR2_STATIC_LIBS # libmodsecurity
7	select BR2_PACKAGE_LIBMODSECURITY
8	help
9	  The ModSecurity-nginx connector is the connection
10	  point between nginx and libmodsecurity
11	  (ModSecurity v3).
12
13	  https://github.com/SpiderLabs/ModSecurity-nginx
14
15comment "nginx-modsecurity needs a toolchain w/ C++, threads, dynamic library"
16	depends on BR2_PACKAGE_NGINX_HTTP
17	depends on !BR2_INSTALL_LIBSTDCPP || \
18		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
19