[PATCH 3/4] Add option to print the path used by pkg-config

Dan Nicholson dbn.lists at gmail.com
Sun May 9 10:48:52 PDT 2010


On Sat, May 8, 2010 at 1:28 PM, Tollef Fog Heen <tfheen at err.no> wrote:
>
> First, I'd like to apologise for taking forever to review this.
>
> | The --list-path option provides a means to find out the current
> | pkg-config search path. in search path being used by pkg-config is.
>
> pkg-config already has --variable=pc_path pkg-config, and this seems to
> just do the same, except use puts (and thereby giving you one path per
> line instead of :-separated)?  If there's a demand for this, I'm willing
> to consider it, but I'd rather not have multiple ways to do the same
> thing if we can avoid it.

The one thing I like about this is that it gives you confirmation of
what happens when you fool with PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR.
It would give you confirmation of how pkg-config will actually behave.

It's not a big deal, though. This is obviously not essential to the
operation of pkg-config.

> I don't think the internal variables are documented, so that should
> probably be done anyway.

Agreed.

--
Dan


More information about the pkg-config mailing list