pkgconfig support. Patch by Dimitri Papadopoulos

MERGE TO STABLE

CCMAIL: 68566-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2048
This commit is contained in:
Dirk Mueller 2003-11-19 21:50:07 +00:00
parent 095472ed9c
commit 44be79eb9e
4 changed files with 18 additions and 2 deletions

View File

@ -17,3 +17,4 @@ include
share
cachegrind.out.*
autom4te.cache
valgrind.pc

View File

@ -25,7 +25,10 @@ SUPP_FILES = \
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
@ -40,7 +43,7 @@ EXTRA_DIST = $(val_DATA) \
PATCHES_APPLIED ACKNOWLEDGEMENTS \
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:
$(mkinstalldirs) $(DESTDIR)$(valdir)

View File

@ -340,6 +340,7 @@ AC_CHECK_FUNCS([floor memchr memset mkdir strchr strdup strpbrk strrchr strstr])
AC_OUTPUT(
Makefile
valgrind.spec
valgrind.pc
docs/Makefile
tests/Makefile
tests/vg_regtest

11
valgrind.pc.in Normal file
View File

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: Valgrind
Description: Program supervision framework for x86-GNU/Linux
Version: @VERSION@
Requires:
Libs:
Cflags: -I${includedir}