aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Brown2017-09-04 21:46:05 -0400
committerKen Brown2017-09-04 21:46:05 -0400
commit979797b9eca0ab009cc75a29765f998ec2aa1b45 (patch)
tree2f4437dbe1afbd3077fa8cff0033f8962d7f85d6
parentd4c3669f9dd7a1da013c8d9d3d285fc3b67de533 (diff)
downloademacs-979797b9eca0ab009cc75a29765f998ec2aa1b45.tar.gz
emacs-979797b9eca0ab009cc75a29765f998ec2aa1b45.zip
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.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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
3364 AC_CACHE_CHECK([for XpmReturnAllocPixels preprocessor define], 3364 AC_CACHE_CHECK([for XpmReturnAllocPixels preprocessor define],
3365 [emacs_cv_cpp_xpm_return_alloc_pixels], 3365 [emacs_cv_cpp_xpm_return_alloc_pixels],
3366 [AC_EGREP_CPP(no_return_alloc_pixels, 3366 [AC_EGREP_CPP(no_return_alloc_pixels,
3367 [#include "noX/xpm.h" 3367 [#include "X11/xpm.h"
3368#ifndef XpmReturnAllocPixels 3368#ifndef XpmReturnAllocPixels
3369no_return_alloc_pixels 3369no_return_alloc_pixels
3370#endif 3370#endif