configure and kerberos



Can somone please explain the following logic for me?

(configure.in, gnome-vfs-2.5.3, line 533->556 )

dnl 
dnl Look for MIT Kerberos gssapi RPC implementation
dnl

AC_CACHE_CHECK([for Kerberos RPC libraries], gssrpc_libs,
[
        LDFLAGS_save="$LDFLAGS"
        LDFLAGS="$LDFLAGS -L/usr/kerberos/lib -lgssrpc"
        AC_TRY_LINK_FUNC(auth_gssapi_create_default, 
                         gssrpc_libs="yes", 
                         gssrpc_libs="no")
        LDFLAGS="$LDFLAGS_save"
])
if test "x${openssl_libs}" != "xno"; then
        AC_DEFINE(HAVE_GSSRPC)
        msg_gssrpc="yes"
        GSSRPC_LIBS="-L/usr/kerberos/lib -lgssrpc"
else
        GSSRPC_LIBS=""
fi
AC_SUBST(GSSRPC_LIBS)




the "really" interesting part is this :
if test "x${openssl_libs}" != "xno"; then


so, if I have openssl libs (most likely) that will be "yes", will not
match, and therefore gnome-vfs tries to link in kerberos?

i suspect this is flawed, but since I'm not sure whats being achieved
here I can't tell. (cut n paste error? )


Regards,
  Spider


-- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end

Attachment: pgp4TGDv9GuOp.pgp
Description: PGP signature



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