config BR2_PACKAGE_CIVETWEB
	bool "civetweb"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_CIVETWEB_SERVER if !BR2_PACKAGE_CIVETWEB_LIB
	help
	  Full featured embedded web server with Lua support.

	  https://sourceforge.net/projects/civetweb

if BR2_PACKAGE_CIVETWEB

config BR2_PACKAGE_CIVETWEB_SERVER
	bool "enable the web server application"
	help
	  Include the web server and its config files.

config BR2_PACKAGE_CIVETWEB_LIB
	bool "enable library for embedding"
	help
	  Enable the civetweb library for embedding in another
	  application.

endif

comment "civetweb needs a toolchain w/ threads"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS
