curl: add config option for NTLM support

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 49183
This commit is contained in:
Hauke Mehrtens 2016-04-17 12:51:41 +00:00
parent a2b15e6c1d
commit a4d646cf15
2 changed files with 8 additions and 1 deletions

View File

@ -154,4 +154,9 @@ config LIBCURL_VERBOSE
bool "Enable verbose error strings"
default n
config LIBCURL_NTLM
bool "Enable NTLM support"
depends LIBCURL_CRYPTO_AUTH && !LIBCURL_NOSSL
default n
endif

View File

@ -65,7 +65,8 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_LIBCURL_THREADED_RESOLVER \
CONFIG_LIBCURL_TLS_SRP \
CONFIG_LIBCURL_UNIX_SOCKETS \
CONFIG_LIBCURL_VERBOSE
CONFIG_LIBCURL_VERBOSE \
CONFIG_LIBCURL_NTLM
include $(INCLUDE_DIR)/package.mk
@ -99,6 +100,7 @@ define Package/libcurl/config
endef
TARGET_CFLAGS += $(FPIC)
TARGET_CPPFLAGS += $(if $(CONFIG_LIBCURL_NTLM),,-DCURL_DISABLE_NTLM)
CONFIGURE_ARGS += \
--disable-debug \