|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2003-11-03 15:24:46
|
Hi, It would be nice to have a bin/valgrind-config script or a lib/pkgconfig/valgrind.pc file, so that skins such as calltree can find the location of valgrind easily. -- Dimitri |
|
From: Dirk M. <dm...@gm...> - 2003-11-03 15:38:02
|
On Monday 03 November 2003 16:31, Dimitri Papadopoulos-Orfanos wrote: > It would be nice to have a bin/valgrind-config script or a > lib/pkgconfig/valgrind.pc file, so that skins such as calltree can find > the location of valgrind easily. can you write a valgrind.pc file? I'll be happy to include it then. |
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2003-11-04 12:09:03
Attachments:
valgrind.pc.in
|
Hi, >>It would be nice to have a bin/valgrind-config script or a >>lib/pkgconfig/valgrind.pc file, so that skins such as calltree can find >>the location of valgrind easily. > > > can you write a valgrind.pc file? I'll be happy to include it then. Unfortunately I know close to nothing about automake/autoconf. Please find attached what seems to be an acceptable valgrind.pc.in file, but I'm not sure how to integrate it to the automake/autoconf stuff. -- Dimitri |
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2003-11-04 14:01:22
|
Hi again, > Unfortunately I know close to nothing about automake/autoconf. > > Please find attached what seems to be an acceptable valgrind.pc.in file, > but I'm not sure how to integrate it to the automake/autoconf stuff. It would seem it's a simple question of modifying Makefile.am from: EXTRA_DIST = $(val_DATA) \ FAQ.txt \ PATCHES_APPLIED ACKNOWLEDGEMENTS \ README_KDE3_FOLKS README_PACKAGERS \ README_MISSING_SYSCALL_OR_IOCTL TODO \ valgrind.spec valgrind.spec.in to: EXTRA_DIST = $(val_DATA) \ FAQ.txt \ PATCHES_APPLIED ACKNOWLEDGEMENTS \ README_KDE3_FOLKS README_PACKAGERS \ README_MISSING_SYSCALL_OR_IOCTL TODO \ valgrind.spec valgrind.spec.in \ valgrind.pc.in and then adding: pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = valgrind.pc $(pkgconfig_DATA): config.status and finally changing configure.in from: AC_OUTPUT( Makefile valgrind.spec docs/Makefile [...] none/docs/Makefile ) to: AC_OUTPUT( Makefile valgrind.spec valgrind.pc docs/Makefile [...] none/docs/Makefile ) I'm not aware if some specific version of automake or autoconf are needed for that or not. -- Dimitri |