diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-11-21 10:41:33 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-11-21 10:41:33 +0000 |
commit | 79cdd3b029fba34fb463ba619277474e552f7c16 (patch) | |
tree | c92d5344999a92d360fc98622eebb2af9b1b3e17 /configure.in | |
parent | 67292de0e257033c9276cbe53a6d504dc67eaf89 (diff) | |
download | emacs-79cdd3b029fba34fb463ba619277474e552f7c16.tar.gz |
(HAVE_PNG): Check for the presence of
png_get_channels to rule out older PNG libs.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |