Author: hauke
Date: 2016-04-17 14:51:41 +0200 (Sun, 17 Apr 2016)
New Revision: 49183

Modified:
   trunk/package/network/utils/curl/Config.in
   trunk/package/network/utils/curl/Makefile
Log:
curl: add config option for NTLM support

Signed-off-by: Dirk Feytons <[email protected]>
Signed-off-by: Hauke Mehrtens <[email protected]>


Modified: trunk/package/network/utils/curl/Config.in
===================================================================
--- trunk/package/network/utils/curl/Config.in  2016-04-17 12:51:19 UTC (rev 
49182)
+++ trunk/package/network/utils/curl/Config.in  2016-04-17 12:51:41 UTC (rev 
49183)
@@ -154,4 +154,9 @@
        bool "Enable verbose error strings"
        default n
 
+config LIBCURL_NTLM
+       bool "Enable NTLM support"
+       depends LIBCURL_CRYPTO_AUTH && !LIBCURL_NOSSL
+       default n
+
 endif

Modified: trunk/package/network/utils/curl/Makefile
===================================================================
--- trunk/package/network/utils/curl/Makefile   2016-04-17 12:51:19 UTC (rev 
49182)
+++ trunk/package/network/utils/curl/Makefile   2016-04-17 12:51:41 UTC (rev 
49183)
@@ -65,7 +65,8 @@
   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 @@
 endef
 
 TARGET_CFLAGS += $(FPIC)
+TARGET_CPPFLAGS += $(if $(CONFIG_LIBCURL_NTLM),,-DCURL_DISABLE_NTLM)
 
 CONFIGURE_ARGS += \
        --disable-debug \
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to