On Sun, Jan 30, 2011 at 09:47:05PM +0100, Enrico Weigelt wrote:
* Joerg Sonnenberger <joerg.sonnenberger@web.de> schrieb:
Because most of the original libpng-config is older than the pkgconfig support in libpng :)
Be prepared that it gets dropped some day. (some distros maybe already removed it already). And keep in mind that these *-config scripts are quite crosscompile-unfriedly.
Well, as long as upstream installs it...
Pretty much. If you don't have it, you can still override the automatic detection via PNG_CFLAGS / PNG_LIBS or so.
Which requires another special tweak in the distro's package build rules/descriptors - exactly what packagers do not like.
Packagers should provide pkg-config. The only situation in which the manual override is needed if you want to build it on a system that doesn't have pkg-config and where you don't want to install it. Joerg