From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from icebox.esperi.org.uk ([81.187.191.129]:37367 "EHLO mail.esperi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750858Ab2BEUZD (ORCPT ); Sun, 5 Feb 2012 15:25:03 -0500 From: Nick Alcock To: linux-nfs@vger.kernel.org Cc: Nick Alcock Subject: [PATCH 2/4] Make svc_auth_none always available. Date: Sun, 5 Feb 2012 20:02:16 +0000 Message-Id: <1328472138-25750-2-git-send-email-nix@esperi.org.uk> In-Reply-To: <1328472138-25750-1-git-send-email-nix@esperi.org.uk> References: <1328472138-25750-1-git-send-email-nix@esperi.org.uk> Sender: linux-nfs-owner@vger.kernel.org List-ID: From: Nick Alcock svc_auth_none is only included in the build when GSS is compiled in, but is used by svc_auth_unix, which is unconditionally included. Include svc_auth_none unconditionally as well. Signed-off-by: Nick Alcock --- src/Makefile.am | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6731ff9..509cf61 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -48,8 +48,8 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \ pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \ rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \ - rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \ - svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \ + rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \ + svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \ auth_time.c auth_des.c authdes_prot.c ## XDR @@ -57,8 +57,7 @@ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_ref ## Secure-RPC if GSS - libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \ - svc_auth_none.c + libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c libtirpc_la_LDFLAGS += $(GSSGLUE_LIBS) libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSGLUE_CFLAGS) endif -- 1.7.8.3.146.gfe6a0