Bug 99885

Summary: Minor fix for pkg-config(1)
Product: pkg-config Reporter: Reuben Thomas <rrt>
Component: srcAssignee: pkg-config
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: medium CC: nicholson
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.