blob: eee0a24d5c4f6831cbdafff57971f6fd552dccea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# https://sourceforge.net/tracker/?func=detail&aid=2982884&group_id=239&atid=100239
--- xchat-2.8.6/configure.in
+++ xchat-2.8.6/configure.in
@@ -143,6 +143,10 @@
[ --enable-spell=type enable spelling type: none static libsexy gtkspell],
spell=$enableval, spell=libsexy)
+AC_ARG_ENABLE(ntlm,
+[ --enable-ntlm enable Microsoft's NTLM auth (libntlm) library support],
+ ntlm=$enableval, ntlm=yes)
+
dnl *********************************************************************
dnl ** GLIB *************************************************************
dnl *********************************************************************
@@ -548,11 +552,13 @@
dnl ** MS PROXY *********************************************************
dnl *********************************************************************
-have_ntlm="no"
-AC_CHECK_LIB(ntlm, ntlm_smb_encrypt, have_ntlm=yes)
-if test "$have_ntlm" = yes; then
- LIBS="$LIBS -lntlm"
- AC_DEFINE(USE_MSPROXY)
+if test "x$ntlm" = "xyes" ; then
+ have_ntlm="no"
+ AC_CHECK_LIB(ntlm, ntlm_smb_encrypt, have_ntlm=yes)
+ if test "$have_ntlm" = yes; then
+ LIBS="$LIBS -lntlm"
+ AC_DEFINE(USE_MSPROXY)
+ fi
fi
dnl *********************************************************************
|