mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(HAVE_XPM): Check for XpmReturnAllocPixels
instead of XpmReadFileToPixmap.
This commit is contained in:
parent
dd8888a136
commit
3bf1f88207
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user