30 Jan
2011
30 Jan
'11
1:26 a.m.
On Sat, Jan 29, 2011 at 08:38:50PM +0000, corvid wrote:
Enrico wrote:
* corvid <corvid@lavabit.com> schrieb:
+ PNG_CONFIG=`which libpng-config` fi
Why not just using pkg-config ? (which would be _much_ more distmaintainer/packager-friendly)
Because most of the original libpng-config is older than the pkgconfig support in libpng :)
PKG_CHECK_MODULE([...])
Is pkg-config ubiquitous where we aren't adding to dependencies too much?
Pretty much. If you don't have it, you can still override the automatic detection via PNG_CFLAGS / PNG_LIBS or so. Joerg