Bug 99885 - Minor fix for pkg-config(1)
Summary: Minor fix for pkg-config(1)
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium trivial
Assignee: pkg-config
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 13:45 UTC by Reuben Thomas
Modified: 2017-03-20 11:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Reuben Thomas 2017-02-21 13:45:02 UTC
pkg-config.1 in current git (commit c53385b5) says:

  Similar to PKG_CHECK_MODULES, make sure that the first instance of
  this or PKG_CHECK_MODULES is called, or make sure to call
  PKG_CHECK_EXISTS manually.

In the last line of that, should it say "PKG_PROG_PKG_CONFIG" rather than "PKG_CHECK_EXISTS"? In the case of PKG_CHECK_MODULES, it says:

  Note that if there is a possibility the first call to
  PKG_CHECK_MODULES might not happen, you should be sure to include an
  explicit call to PKG_PROG_PKG_CONFIG in your configure.ac.

i.e. if the first call to PKG_CHECK_MODULES might not happen, then PKG_PROG_PKG_CONFIG should be called. Presumably the same is meant for PKG_CHECK_EXISTS?
Comment 1 Dan Nicholson 2017-03-20 11:52:12 UTC
Fixed in commit 99ef6fd. Thanks for the report.


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.