config BR2_PACKAGE_UHTTPD
	bool "uhttpd"
	depends on !BR2_STATIC_LIBS # dlopen()
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
	depends on BR2_USE_MMU # fork()
	select BR2_PACKAGE_LIBUBOX
	select BR2_PACKAGE_JSON_C
	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
	help
	  uHTTPd is a tiny single threaded HTTP server with TLS, CGI
	  and Lua support. It is intended as a drop-in replacement for
	  the Busybox HTTP daemon.

	  https://wiki.openwrt.org/doc/howto/http.uhttpd

comment "uhttpd needs a toolchain w/ dynamic library"
	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	depends on BR2_USE_MMU
	depends on BR2_STATIC_LIBS
