From: Nick Alcock Date: Thu, 26 Apr 2012 19:32:57 +0000 (-0400) Subject: Make svc_auth_none always available. X-Git-Tag: libtirpc-0-2-3-rc3~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dda745c63d3c0744b3937cf01f3ec9c9690998fa;p=libtirpc Make svc_auth_none always available. 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 Signed-off-by: Steve Dickson --- 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