]> git.pld-linux.org Git - packages/libtirpc.git/blob - libtirpc-gssapi.patch
outdated
[packages/libtirpc.git] / libtirpc-gssapi.patch
1 --- libtirpc-0.1.7/src/Makefile.am.orig 2006-08-11 11:50:28.000000000 -0400
2 +++ libtirpc-0.1.7/src/Makefile.am      2006-08-11 12:48:29.000000000 -0400
3 @@ -29,8 +29,8 @@ libtirpc_la_SOURCES += xdr.c xdr_rec.c x
4  ## Secure-RPC
5  if GSS
6      libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c
7 -    libtirpc_la_LDFLAGS += -lgssapi
8 -    libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS
9 +    libtirpc_la_LDFLAGS += $(GSSAPI_LIBS)
10 +    libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
11  endif
12  
13  ## libtirpc_a_SOURCES += key_call.c key_prot_xdr.c getpublickey.c
14 --- libtirpc-0.1.7/configure.in.orig    2006-08-11 11:48:36.000000000 -0400
15 +++ libtirpc-0.1.7/configure.in 2006-08-11 12:07:15.000000000 -0400
16 @@ -10,6 +10,10 @@ AC_ARG_ENABLE(gss,[  --enable-gss       
17          *) AC_MSG_ERROR(bad value ${enableval} for --enable-gss) ;;
18        esac],[gss=false])
19  AM_CONDITIONAL(GSS, test x$gss = xtrue)
20 +if test x$gss = xtrue; then
21 +       PKG_CHECK_MODULES(GSSAPI, libgssglue >= 0.1, [],
22 +       AC_MSG_ERROR([Unable to locate information required to use libgssapi.]))
23 +fi
24  
25  
26  AC_PROG_CC
This page took 0.054923 seconds and 3 git commands to generate.