Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
config GNUTLS_ANON
bool "enable anonymous authentication support"
+config GNUTLS_EXT_LIBTASN1
+ bool "use external libtasn1"
+ default n
+
endmenu
define Package/libgnutls
$(call Package/gnutls/Default)
TITLE+= (library)
- DEPENDS+= +libnettle +!LIBNETTLE_MINI:libgmp
+ DEPENDS+= +libnettle +!LIBNETTLE_MINI:libgmp +GNUTLS_EXT_LIBTASN1:libtasn1
endef
define Package/libgnutls/description
--disable-guile \
--disable-nls \
--without-zlib \
- --with-included-libtasn1 \
--enable-local-libopts \
--disable-doc \
--disable-tests \
--disable-crywrap \
--without-p11-kit
+ifneq ($(CONFIG_GNUTLS_EXT_LIBTASN1),y)
+CONFIGURE_ARGS += --with-included-libtasn1
+endif
+
ifeq ($(CONFIG_LIBNETTLE_MINI),y)
CONFIGURE_ARGS += --with-nettle-mini
endif