1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

(HAVE_XPM): Check for XpmReturnAllocPixels

instead of XpmReadFileToPixmap.
This commit is contained in:
Gerd Moellmann 2000-07-06 15:11:25 +00:00
parent dd8888a136
commit 3bf1f88207

View File

@ -1766,7 +1766,7 @@ if test "${HAVE_X11}" = "yes"; then
old_c_flags="${CFLAGS}"
CFLAGS="${LD_SWITCH_X_SITE}"
AC_CHECK_HEADER(X11/xpm.h,
AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11))
AC_CHECK_LIB(Xpm, XpmReturnAllocPixels, HAVE_XPM=yes, , -lX11))
CFLAGS="${old_c_flags}"
fi