Bug 104543 - pkg.m4: add $PKG_VERSION to available variables.
Summary: pkg.m4: add $PKG_VERSION to available variables.
Status: RESOLVED MOVED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: pkg-config
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-09 02:28 UTC by hanetzer
Modified: 2018-08-25 12:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
pkg.m4.in-modversion.patch (686 bytes, text/plain)
2018-01-09 02:28 UTC, hanetzer
Details

Description hanetzer 2018-01-09 02:28:11 UTC
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.
Comment 1 GitLab Migration User 2018-08-25 12:54:06 UTC
-- 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.