comparison configure.in @ 27355:0a57c4f130bd

(HAVE_GIF): Check for DGifOpen instead of DGifOpenFileName.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 18 Jan 2000 10:51:21 +0000
parents 01ecec96b82d
children 45efdc6ea7ea
comparison
equal deleted inserted replaced
27354:d56b84cbed9d 27355:0a57c4f130bd
1757 if test "${HAVE_X11}" = "yes"; then 1757 if test "${HAVE_X11}" = "yes"; then
1758 if test "${with_gif}" != "no"; then 1758 if test "${with_gif}" != "no"; then
1759 old_c_flags="${CFLAGS}" 1759 old_c_flags="${CFLAGS}"
1760 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" 1760 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}"
1761 AC_CHECK_HEADER(gif_lib.h, 1761 AC_CHECK_HEADER(gif_lib.h,
1762 AC_CHECK_LIB(ungif, DGifOpenFileName, HAVE_GIF=yes, , -lX11)) 1762 AC_CHECK_LIB(ungif, DGifOpen, HAVE_GIF=yes, , -lX11))
1763 CFLAGS="${old_c_flags}" 1763 CFLAGS="${old_c_flags}"
1764 fi 1764 fi
1765 1765
1766 if test "${HAVE_GIF}" = "yes"; then 1766 if test "${HAVE_GIF}" = "yes"; then
1767 AC_DEFINE(HAVE_GIF) 1767 AC_DEFINE(HAVE_GIF)