Please find attached a patch against valgrind-2.0.0 adding support for pkgconfig. It adds a lib/pkgconfig/valgrind.pc file.
Created attachment 3279 [details] patch generates a lib/pkgconfig/valgrind.pc file
Subject: valgrind CVS commit by mueller: pkgconfig support. Patch by Dimitri Papadopoulos MERGE TO STABLE CCMAIL: 68566-done@bugs.kde.org A valgrind.pc.in 1.1 M +1 -0 .cvsignore 1.5 M +5 -2 Makefile.am 1.58 M +1 -0 configure.in 1.100 --- valgrind/.cvsignore #1.4:1.5 @@ -18,2 +18,3 @@ cachegrind.out.* autom4te.cache +valgrind.pc --- valgrind/Makefile.am #1.57:1.58 @@ -26,5 +26,8 @@ val_DATA = $(SUPP_FILES) default.supp -BUILT_SOURCES = default.supp +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = valgrind.pc + +BUILT_SOURCES = default.supp valgrind.pc DISTCLEANFILES = default.supp @@ -41,5 +44,5 @@ README_KDE3_FOLKS README_PACKAGERS \ README_MISSING_SYSCALL_OR_IOCTL TODO \ - valgrind.spec valgrind.spec.in + valgrind.spec valgrind.spec.in valgrind.pc.in install-exec-hook: --- valgrind/configure.in #1.99:1.100 @@ -341,4 +341,5 @@ Makefile valgrind.spec + valgrind.pc docs/Makefile tests/Makefile