
Andreas Pokorny wrote:
Hi Boosters, I am using boost in several projects now, and some of these projects will be released as open source. So they will have a configure script that checks the compiling host, and which should report missing libraries. I saw many open source projects adding boost to their source code tree directly, thus these projects dont have to check the proper boost versions, or library names. That solve the problem, but thats not a fine solution. To simplify using boost libraries i would like to see boost supporting pkg-config or a different maybe better approach which fits better to boost's needs. But first I would like to explain how pkg-config works, and how pkg-config makes using librariers simple.
The pkg-config package can be found here: http://pgk-config.freedesktop.org/wiki/Software_2fpkgconfig
It seems to work on all unix systems and windows. The pkg-config script parses .pc files from several locations in the system, and allows querrying the existance, version, compiler flags and linker flags of installed libraries.
That sounds very similar to Ullrich Koethe's idea as described in http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Configuration... (http://tinyurl.com/6dbbl). Is that about right? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com