Config.in 730 Bytes
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/

if BR2_PACKAGE_LIBMICROHTTPD

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

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

endif

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