summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2014-08-22 09:03:05 -0400
committerKen Brown <kbrown@cornell.edu>2014-08-22 09:03:05 -0400
commit09f3715543c655375e4b0b9cfab00b42b6a4ff0d (patch)
tree4736dc4eb9ffb8cac7a4b4a9ed05422d88878aa1 /configure.ac
parent0fcb3479d55ef40c1ecadcd378c05d4b4827c545 (diff)
downloademacs-09f3715543c655375e4b0b9cfab00b42b6a4ff0d.tar.gz
Backport: * 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 048728a0c61..d4e1d65ff56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2969,6 +2969,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