comparison configure.in @ 30097:ad53f03540e3

(HAVE_XPM): Check for XpmReturnAllocPixels instead of XpmReadFileToPixmap.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 06 Jul 2000 15:11:25 +0000
parents 58ce7aad3fff
children 1311deba5ed3
comparison
equal deleted inserted replaced
30096:c7db89eda6a4 30097:ad53f03540e3
1764 if test "${HAVE_X11}" = "yes"; then 1764 if test "${HAVE_X11}" = "yes"; then
1765 if test "${with_xpm}" != "no"; then 1765 if test "${with_xpm}" != "no"; then
1766 old_c_flags="${CFLAGS}" 1766 old_c_flags="${CFLAGS}"
1767 CFLAGS="${LD_SWITCH_X_SITE}" 1767 CFLAGS="${LD_SWITCH_X_SITE}"
1768 AC_CHECK_HEADER(X11/xpm.h, 1768 AC_CHECK_HEADER(X11/xpm.h,
1769 AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) 1769 AC_CHECK_LIB(Xpm, XpmReturnAllocPixels, HAVE_XPM=yes, , -lX11))
1770 CFLAGS="${old_c_flags}" 1770 CFLAGS="${old_c_flags}"
1771 fi 1771 fi
1772 1772
1773 if test "${HAVE_XPM}" = "yes"; then 1773 if test "${HAVE_XPM}" = "yes"; then
1774 AC_DEFINE(HAVE_XPM) 1774 AC_DEFINE(HAVE_XPM)