From: Gerd Moellmann Date: Tue, 21 Nov 2000 10:41:33 +0000 (+0000) Subject: (HAVE_PNG): Check for the presence of X-Git-Tag: emacs-pretest-21.0.92~250 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79cdd3b029fba34fb463ba619277474e552f7c16;p=emacs.git (HAVE_PNG): Check for the presence of png_get_channels to rule out older PNG libs. --- diff --git a/configure.in b/configure.in index 54ea7a70fa0..c62f6c3c305 100644 --- a/configure.in +++ b/configure.in @@ -1839,7 +1839,7 @@ if test "${HAVE_X11}" = "yes"; then 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