Il 21.02.2012 13:46, Alon Bar-Lev ha scritto: > On Tue, Feb 21, 2012 at 1:39 PM, Adriaan de Jong <dej...@fox-it.com> wrote: >> Does pkgconfig work/exist across many platforms, or is it a dependency that >> might hurt us on for example Mac OS, Windows or *BSD? The reason why I ask >> is that an argument against other systems such as scons and cmake was that >> they created extra build dependencies. Is it difficult to install, or is it >> shipped by default on most platforms? > >From my experience with a lot of other projects, pkg-config exists in > most of them. > And when it is absent it is not too complex to specify the > *_CFLAGS/*_LIBS for the dependencies. > We have an open issue with OSX, we will see how it goes... but I > almost sure it also has pkg-config...
Pkg-config is available for most platforms, according to these: <http://www.freedesktop.org/wiki/Software/pkg-config> <http://en.wikipedia.org/wiki/Pkg-config> I did some checking, and it's in the default repos for these OSes: Ubuntu 10.04 Ubuntu 11.10 Debian 5 Debian 6 CentOS 6 Fedora 16 The same apparently applies for these: FreeBSD[1] OpenBSD[2] NetBSD[3] And it's available for these two, too: MacOS X[4] Windows[5] Nobody expects building to be super-easy on either of these. Samuli [1] <http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/pkg-config> [2] <http://openports.se/devel/pkgconfig> [3] <ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/pkg-config/README.html> [4] <http://mac.softpedia.com/get/Developer-Tools/pkg-config.shtml> [5] <http://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows>