|
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 |