]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix configure test for Xpm
authorKen Brown <kbrown@cornell.edu>
Tue, 5 Sep 2017 01:46:05 +0000 (21:46 -0400)
committerKen Brown <kbrown@cornell.edu>
Tue, 5 Sep 2017 01:46:05 +0000 (21:46 -0400)
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

index 2e0b416053b07f895707764420f3e76fc40204a0..250a51725b334bf51b650ff8dbac94397ac77e69 100644 (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