Index: b/Makefile.am =================================================================== --- b/Makefile.am +++ b/Makefile.am @@ -35,6 +35,10 @@ SUBDIRS = src ${tests} doc lang +# pkg-config file +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = gpgme-pthread.pc + # Fix the version of the spec file and create a file named VERSION # to be used for patch's Prereq: feature. dist-hook: gen-ChangeLog Index: b/configure.ac =================================================================== --- b/configure.ac +++ b/configure.ac @@ -864,7 +864,8 @@ tests/opassuan/Makefile doc/Makefile src/versioninfo.rc - src/gpgme.h) + src/gpgme.h + gpgme-pthread.pc) AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config) AC_CONFIG_FILES(lang/cpp/Makefile lang/cpp/src/Makefile) AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in) Index: b/gpgme-pthread.pc.in =================================================================== --- /dev/null +++ b/gpgme-pthread.pc.in @@ -0,0 +1,9 @@ +prefix=@prefix@ +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: gpgme-pthread +Description: GNU Privacy Guard Made Easy +Version: @VERSION@ +Libs: -L${libdir} -lgpgme -lassuan -lgpg-error +Cflags: -I${includedir}