# HG changeset patch # User Gerd Moellmann # Date 974803293 0 # Node ID a6951040bb8e6a759cd939bc20e6e1cf119632f6 # Parent 646b893652e6d33a250fdef09b6bf7b8fd9af572 (HAVE_PNG): Check for the presence of png_get_channels to rule out older PNG libs. diff -r 646b893652e6 -r a6951040bb8e configure.in --- a/configure.in Tue Nov 21 10:08:52 2000 +0000 +++ b/configure.in Tue Nov 21 10:41:33 2000 +0000 @@ -1839,7 +1839,7 @@ old_c_flags="${CFLAGS}" CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" AC_CHECK_HEADER(png.h, - AC_CHECK_LIB(png, png_set_expand, HAVE_PNG=yes, , -lX11 -lz -lm)) + AC_CHECK_LIB(png, png_get_channels, HAVE_PNG=yes, , -lX11 -lz -lm)) CFLAGS="${old_c_flags}" fi