summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2022-12-10 16:43:38 +0100
committerTim Rühsen <tim.ruehsen@gmx.de>2022-12-10 16:43:38 +0100
commit485217d0ff8d0d17ea3815244b2bc2b747451e15 (patch)
treed5043243006e477a330a30d3841f6ab288ec0f0b
parent98350855440b60080dc47bcc5ebda29dfb9fcbd2 (diff)
downloadwget-485217d0ff8d0d17ea3815244b2bc2b747451e15.tar.gz
* configure.ac: Allow disabling NTLM if nettle present (Savannah #63431)
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 99870901..1bfaa405 100644
--- a/configure.ac
+++ b/configure.ac
@@ -648,8 +648,11 @@ else
if test x"$HAVE_NETTLE" = xyes; then
AC_DEFINE([HAVE_NETTLE], [1], [Use libnettle])
- ENABLE_NTLM=yes
- AC_DEFINE([ENABLE_NTLM], 1, [Define if you want the NTLM authorization support compiled in.])
+ if test x"$ENABLE_NTLM" != xno
+ then
+ ENABLE_NTLM=yes
+ AC_DEFINE([ENABLE_NTLM], 1, [Define if you want the NTLM authorization support compiled in.])
+ fi
fi
fi