summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a5d814)
raw | patch | inline | side by side (parent: 0a5d814)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 4 Oct 2008 16:05:11 +0000 (16:05 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 4 Oct 2008 16:05:11 +0000 (16:05 +0000) |
not pick up any -rpath settings
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1575 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1575 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history | |
src/Makefile.am | patch | blob | history | |
src/librrd.pc.in | [new file with mode: 0644] | patch | blob |
diff --git a/configure.ac b/configure.ac
index 2370f2166cb42d428d99b3357c8df1ed22ce6629..3dcc155077f29d823125651c9229780c347bb453 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_CONFIG_FILES([po/Makefile.in])
AC_CONFIG_FILES([src/Makefile])
AC_CONFIG_FILES([src/librrd.sym])
+AC_CONFIG_FILES([src/librrd.pc])
AC_CONFIG_FILES([bindings/Makefile])
AC_CONFIG_FILES([bindings/tcl/Makefile])
AC_CONFIG_FILES([bindings/tcl/ifOctets.tcl])
diff --git a/src/Makefile.am b/src/Makefile.am
index 820acf6eebe407408b48de0979c48a63dd611f05..8a563f5ac4546392c9a1d1915973b9d6914ccd0c 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
rrdcached_CPPFLAGS = -DVERSION='"$(VERSION)"' -DLOCALSTATEDIR='"$(localstatedir)"'
rrdcached_LDADD = librrd_th.la
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = librrd.pc
+
# strftime is here because we do not usually need it. unices have propper
# iso date support
-EXTRA_DIST= strftime.c strftime.h rrd_getopt.c rrd_getopt1.c rrd_getopt.h \
+EXTRA_DIST= librrd.pc.in strftime.c strftime.h rrd_getopt.c rrd_getopt1.c rrd_getopt.h \
win32comp.c rrd_thread_safe_nt.c get_ver.awk librrd.sym
diff --git a/src/librrd.pc.in b/src/librrd.pc.in
--- /dev/null
+++ b/src/librrd.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: librrd
+Description: Library for the RRDtool
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lrrd
+Cflags: -I${includedir}