Commits

Anonymous committed 6b497f9

Added configure.in hooks to used the libgssapi library.

Signed-off-by: Steve Dickson <steved@redhat.com>

  • Participants
  • Parent commits 7f7e302

Comments (0)

Files changed (1)

File src/Makefile.am

 ## 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