* Joerg Sonnenberger <joerg.sonnenberger@web.de> schrieb:
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...
Lets see, how long ...
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.
No, upstream should do that (packagers should not have to touch any area of the sourcecode). And importing packages should _use_ it. (instead of old legacy cruft like the -config scripts or esoteric autofool macros).
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.
Why should some refuse to install such an fundamental tool ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------