gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/lib


From: gsasl-commit
Subject: CVS gsasl/lib
Date: Sun, 23 Oct 2005 17:16:58 +0200

Update of /home/cvs/gsasl/lib
In directory dopio:/tmp/cvs-serv21635

Modified Files:
        configure.ac 
Log Message:
Fix ntlm check.


--- /home/cvs/gsasl/lib/configure.ac    2005/10/22 19:38:21     1.65
+++ /home/cvs/gsasl/lib/configure.ac    2005/10/23 15:16:58     1.66
@@ -108,11 +108,15 @@
   AS_HELP_STRING([--disable-ntlm], [don't use the NTLM mechanism]),
   ntlm=$enableval)
 if test "$ntlm" != "no"; then
-       sj_CHECK_HEADERLIB(ntlm.h, ntlm, ntlm_des_set_key,
-               [ntlm=yes
-               AC_DEFINE(USE_NTLM, 1, [Define to 1 if you want NTLM.])],
-               [ntlm=no
-               AC_MSG_WARN([Libntlm >= 0.3.5 not found, disabling NTLM.])])
+    AC_LIB_HAVE_LINKFLAGS(ntlm,, [#include <ntlm.h>],
+      [buildSmbNtlmAuthRequest_noatsplit (0, 0, 0);])
+  if test "$ac_cv_libntlm" != yes; then
+    ntlm=no
+    AC_MSG_WARN([Libntlm >= 0.3.5 not found, disabling NTLM.])
+  else
+    ntlm=yes
+    AC_DEFINE(USE_NTLM, 1, [Define to 1 if you want NTLM.])
+  fi
 fi
 AC_MSG_CHECKING([if NTLM should be used])
 AC_MSG_RESULT($ntlm)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]