config BR2_PACKAGE_LIBMICROHTTPD
	bool "libmicrohttpd"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  GNU libmicrohttpd is a small C library that makes it easy to
	  run an HTTP server as part of another application.

	  http://www.gnu.org/software/libmicrohttpd/

config BR2_PACKAGE_LIBMICROHTTPD_SSL
	bool "https support"
	depends on BR2_PACKAGE_LIBMICROHTTPD
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_GNUTLS
	select BR2_PACKAGE_LIBGCRYPT
	help
	  Enable HTTPS (SSL) support.

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

comment "libmicrohttpd https support needs a toolchain w/ wchar"
	depends on BR2_PACKAGE_LIBMICROHTTPD && !BR2_USE_WCHAR
