Bug 100575

Summary: pkg.m4 should check that $PKG_CONFIG is a pkg-config binary
Product: pkg-config Reporter: Samuel Thibault <samuel.thibault>
Component: srcAssignee: pkg-config
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Samuel Thibault 2017-04-05 09:29:22 UTC
Hello,

We have seen a user erroneously define PKG_CONFIG to its /usr/local/lib/pkgconfig, and thus all our configure.ac pkg-config tests were failing and we were wondering why... pkg.m4 should make sure that $PKG_CONFIG really is a binary (e.g. by running it with --help) and loudly error out otherwise.

Samuel
Comment 1 GitLab Migration User 2018-08-25 12:56:49 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/46.

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.