From: Marcelo E. Magallon (mmagallo_at_[hidden])
Date: 2005-01-01 17:06:42
On Sat, Jan 01, 2005 at 09:46:22PM +0100, Andreas Pokorny wrote:
> > You can store arbitrary variables in .pc files and retrieve them
> > using pkg-config --variable=name. The only trick here is to
> > define the name of the package or packages and make that
> > consistent across all systems.
> Thats not enough, the return values of pkg-config must be dependant
> on the toolset setting, and a few flags like debug, multithreaded..
If you require something like that, then several boost.pc files is the
correct solution. You just need to have a sane way of finding out
which targets are available. And you can use pkg-config
--variable=name for that.
In fewer words, make:
$ pkg-config --foo boost-signals
do something useful.
Need to note that --define-variable is also available, and the output
of e.g. --libs is interpolated.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk