]> granicus.if.org Git - libtirpc/commitdiff
Added that libtirpc.pc.in that will create
authorSteve Dickson <steved@redhat.com>
Mon, 18 Feb 2008 22:30:46 +0000 (17:30 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 18 Feb 2008 22:30:46 +0000 (17:30 -0500)
the /usr/lib/pkgconfig/libtirpc.pc file that is
used by the pkg-config(1) command

Signed-off-by: Steve Dickson <steved@redhat.com>
Makefile.am
configure.in
libtirpc.pc.in [new file with mode: 0644]

index 1a212e85331f96e22a1b3332f81f601df72b95cd..4e1503c23eccddb7e8045fdf5c9302671166d2a5 100644 (file)
@@ -43,6 +43,9 @@ nobase_include_HEADERS = tirpc/un-namespace.h \
                         tirpc/rpc/auth_gss.h \
                         tirpc/rpc/auth_des.h
     
+pkgconfigdir=$(libdir)/pkgconfig
+pkgconfig_DATA = libtirpc.pc
+
 install-exec-local:
        cp -p ./doc/etc_netconfig /etc/netconfig
        chmod 0644 /etc/netconfig
index dc597ddac60c6894c89614f17e00e49199736920..e907c31b71d7f98a5f17b2d368246ea0f57be9ef 100644 (file)
@@ -27,4 +27,4 @@ AC_CHECK_LIB([pthread], [pthread_create])
 
 
 AC_CONFIG_FILES([Makefile src/Makefile])
-AC_OUTPUT()
+AC_OUTPUT(libtirpc.pc)
diff --git a/libtirpc.pc.in b/libtirpc.pc.in
new file mode 100644 (file)
index 0000000..df9e7ed
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libtirpc
+Description: Transport Independent RPC Library
+Requires:
+Version: @PACKAGE_VERSION@
+Libs: -L@libdir@
+Cflags: -I@includedir@/tirpc