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

Fix configure test for Xpm

Problem reported by Ashish Shukla in
https://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00020.html.
* configure.ac (HAVE_XPM) [HAVE_X11]: Include X11/xpm.h instead of
noX/xpm.h in configure test.
This commit is contained in:
Ken Brown 2017-09-04 21:46:05 -04:00
parent d4c3669f9d
commit 979797b9ec

View File

@ -3364,7 +3364,7 @@ if test "${HAVE_X11}" = "yes"; then
AC_CACHE_CHECK([for XpmReturnAllocPixels preprocessor define],
[emacs_cv_cpp_xpm_return_alloc_pixels],
[AC_EGREP_CPP(no_return_alloc_pixels,
[#include "noX/xpm.h"
[#include "X11/xpm.h"
#ifndef XpmReturnAllocPixels
no_return_alloc_pixels
#endif