From: Ken Brown Date: Tue, 5 Sep 2017 01:46:05 +0000 (-0400) Subject: Fix configure test for Xpm X-Git-Tag: emacs-26.0.90~258 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=979797b9eca0ab009cc75a29765f998ec2aa1b45;p=emacs.git 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. --- 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