Created attachment 136623 [details] pkg.m4.in-modversion.patch Occasionally one would like to be able to query the version of a given package at build time, possibly to include into debug messages or maybe the 'help->about' menu on their app in order to list what version of a library a given program is compiled against. Its a trivial change as far as I can see, just a two-liner patch unless there are some intricacies I'm missing. Find attached a patch showing the needed changes made as far as my admittedly limited knowledge of m4/autotools/etc shows.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/20.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.