]> granicus.if.org Git - libtirpc/commitdiff
Added configure.in hooks to used the libgssapi library.
authorSteve Dickson <steved@redhat.com>
Fri, 20 Apr 2007 18:58:54 +0000 (14:58 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 20 Apr 2007 18:58:54 +0000 (14:58 -0400)
Signed-off-by: Steve Dickson <steved@redhat.com>
src/Makefile.am

index bb647e55ec4a9c9660676f7b96ddfa313e137046..926a0e5dea2a406c460565c1634f230da284aa07 100644 (file)
@@ -29,8 +29,8 @@ 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
-    libtirpc_la_LDFLAGS += -lgssapi
-    libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS
+    libtirpc_la_LDFLAGS += $(GSSAPI_LIBS)
+    libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
 endif
 
 ## libtirpc_a_SOURCES += key_call.c key_prot_xdr.c getpublickey.c