diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2016-04-17 12:51:41 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2016-04-17 12:51:41 +0000 |
commit | f50456819e962e502eb51066b519ba1de75104f6 (patch) | |
tree | 9975ae70c1bc1ec7ce91df37cc2ccf92b1a38a67 /package/network/utils | |
parent | 50ac5bb17e71f9f31e8ff67b8f61a97294225959 (diff) | |
download | master-187ad058-f50456819e962e502eb51066b519ba1de75104f6.tar.gz master-187ad058-f50456819e962e502eb51066b519ba1de75104f6.tar.bz2 master-187ad058-f50456819e962e502eb51066b519ba1de75104f6.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49183 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils')
-rw-r--r-- | package/network/utils/curl/Config.in | 5 | ||||
-rw-r--r-- | package/network/utils/curl/Makefile | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/package/network/utils/curl/Config.in b/package/network/utils/curl/Config.in index f41307a970..14d2047301 100644 --- a/package/network/utils/curl/Config.in +++ b/package/network/utils/curl/Config.in @@ -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 diff --git a/package/network/utils/curl/Makefile b/package/network/utils/curl/Makefile index eada1aa596..319c0b710d 100644 --- a/package/network/utils/curl/Makefile +++ b/package/network/utils/curl/Makefile @@ -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 \ |