xref: /OK3568_Linux_fs/buildroot/package/civetweb/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_CIVETWEB
2	bool "civetweb"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on BR2_USE_MMU # fork()
5	select BR2_PACKAGE_CIVETWEB_SERVER if !BR2_PACKAGE_CIVETWEB_LIB
6	help
7	  Full featured embedded web server with Lua support.
8
9	  https://sourceforge.net/projects/civetweb
10
11if BR2_PACKAGE_CIVETWEB
12
13config BR2_PACKAGE_CIVETWEB_SERVER
14	bool "enable the web server application"
15	help
16	  Include the web server and its config files.
17
18config BR2_PACKAGE_CIVETWEB_LIB
19	bool "enable library for embedding"
20	help
21	  Enable the civetweb library for embedding in another
22	  application.
23
24config BR2_PACKAGE_CIVETWEB_WITH_LUA
25	bool "enable Lua support"
26	# required by the bundled Sqlite3 and Lua code
27	depends on !BR2_STATIC_LIBS
28	help
29	  Enable Lua support in Civetweb. Note that this will use a
30	  version of Lua and Sqlite bundled within the Civetweb
31	  sources, and not the packages from Buildroot.
32
33comment "lua support needs a toolchain w/ dynamic library"
34	depends on BR2_STATIC_LIBS
35
36endif
37
38comment "civetweb needs a toolchain w/ threads"
39	depends on BR2_USE_MMU
40	depends on !BR2_TOOLCHAIN_HAS_THREADS
41