From 979797b9eca0ab009cc75a29765f998ec2aa1b45 Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Mon, 4 Sep 2017 21:46:05 -0400 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2e0b416053b..250a51725b3 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.39.2