[Top][All Lists]

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

Re: gsasl patch

From: Simon Josefsson
Subject: Re: gsasl patch
Date: Fri, 10 Aug 2007 20:34:18 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Maxim Britov <address@hidden> writes:

> Hi,
> Please look at attached patch. I haven't experience in autotools.
> I building minimal libgsasl for jabberd
> and I just tried remove gss links from binary.
> Without this patch I gets gss/kerberos linked in
> Even with --disable-gssapi --disable-gs2 --disable-kerberos_v5

Hi Maxim!  Thanks for the report.  I suspect this combination isn't
tested much.  I reproduced the problem and solved it somewhat different
though.  Patch below installed in git.


commit 89b2a2e09a3889909a9e3c841d6a1a3ce5275970
Author: Simon Josefsson <address@hidden>
Date:   Fri Aug 10 20:30:30 2007 +0200

    Don't bother looking for GSS-API library if GS2/GSS-API disabled.
    Reported by Maxim Britov <address@hidden>.

diff --git a/lib/ b/lib/
index 06bde2e..e673526 100644
--- a/lib/
+++ b/lib/
@@ -166,7 +166,11 @@ AC_ARG_WITH(gssapi-impl,
                  [select GSS-API implementation]),
   gssapi_impl=$withval, gssapi_impl=yes)
-AC_MSG_NOTICE([checking for GSS implementation ($gssapi_impl)])
+if test "$gs2" = no && test "$gssapi" = no; then
+  gssapi_impl=no
+  AC_MSG_NOTICE([checking for GSS implementation ($gssapi_impl)])
 if test "$gssapi_impl" = "gss"; then
   AC_MSG_NOTICE([trying GSS])
   AC_LIB_HAVE_LINKFLAGS(gss,, [#include <gss.h>], [gss_check_version (0);])

reply via email to

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