pkg-config --exists does not check Requires: any longer
pkg-config at mlists.thewrittenword.com
Thu Feb 17 12:54:29 PST 2011
On Thu, Feb 17, 2011 at 09:16:08PM +0100, Tollef Fog Heen wrote:
> ]] "Peter O'Gorman"
> | We have worked around this, patch below, but wonder if the above
> | behaviour is intentional?
> The m4 macro should certainly not be broken and I suspect the --exists
> handling is broken too.
The m4 macro uses --exists --print-errors to check the package exists
and then uses --cflags, --libs with stderr redirected to /dev/null to
populate the _CFLAGS and _LIBS variables, so it's the same problem, and
is fixed by recursing through Requires: when checking --exists.
pogma at thewrittenword.com
More information about the pkg-config