Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:50872 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752561Ab2AZUHj (ORCPT ); Thu, 26 Jan 2012 15:07:39 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q0QK7drx030646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Jan 2012 15:07:39 -0500 Received: from bighat.boston.devel.redhat.com (bighat.boston.devel.redhat.com [10.16.60.55]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q0QK7c7m024830 for ; Thu, 26 Jan 2012 15:07:38 -0500 From: Steve Dickson To: Linux NFS Mailing list Subject: [PATCH] rpc.gssd: Links directly with libgssapi_krb5 which not needed. Date: Thu, 26 Jan 2012 15:07:41 -0500 Message-Id: <1327608461-15305-1-git-send-email-steved@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: rpc.gssd and rpc.svcgssd both link with the libgssapi_krb5 and libgssglue libraries which is not needed since libgssglue will dynamically load the gssapi interface defined in the /etc/gssapi_mech.conf. Most likely the libgssapi_krb5 library. Signed-off-by: Steve Dickson --- aclocal/kerberos5.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4 index dfa5738..7574e2d 100644 --- a/aclocal/kerberos5.m4 +++ b/aclocal/kerberos5.m4 @@ -31,7 +31,7 @@ AC_DEFUN([AC_KERBEROS_V5],[ fi if test "$K5CONFIG" != ""; then KRBCFLAGS=`$K5CONFIG --cflags` - KRBLIBS=`$K5CONFIG --libs gssapi` + KRBLIBS=`$K5CONFIG --libs` K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(4),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'` AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number]) if test -f $dir/include/gssapi/gssapi_krb5.h -a \ -- 1.7.7.5