summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2014-08-21 17:52:26 -0400
committerKen Brown <kbrown@cornell.edu>2014-08-21 17:52:26 -0400
commit58e6bac86fd4eb02e49ae695ee4eddf8dd668d2a (patch)
tree3de7bff20467a9358ed7bd9d544bd209612fd50b /configure.ac
parent8ab2588c9d68a54900b58f6e304ab32aeec5f10a (diff)
downloademacs-58e6bac86fd4eb02e49ae695ee4eddf8dd668d2a.tar.gz
* configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32 build. (Bug#18302)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3e49527e0f1..806b1b4f308 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2991,6 +2991,9 @@ AC_SUBST(M17N_FLT_LIBS)
### Use -lXpm if available, unless `--with-xpm=no'.
### mingw32 doesn't use -lXpm, since it loads the library dynamically.
+### In the Cygwin-w32 build, we need to use /usr/include/noX/X11/xpm.h
+### rather than /usr/include/X11/xpm.h, so we set CPPFLAGS (and
+### LDFLAGS) accordingly.
HAVE_XPM=no
LIBXPM=
if test "${HAVE_W32}" = "yes" && test "${opsys}" = "cygwin"; then