libmicrohttpd: make https support optional

Libmicrohttpd works nicely without https support, so make it optional.
Also ensure the cross-libgcrypt-config is found, rather than whatever
is installed on the host.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard
2011-02-19 23:37:40 +01:00
parent cbd5099271
commit 7ee387f43b
2 changed files with 14 additions and 2 deletions

View File

@@ -1,8 +1,14 @@
config BR2_PACKAGE_LIBMICROHTTPD
bool "libmicrohttpd"
select BR2_PACKAGE_LIBGCRYPT
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
select BR2_PACKAGE_LIBGCRYPT
help
Enable HTTPS (SSL) support.