From: Ken Brown Date: Fri, 22 Aug 2014 13:03:05 +0000 (-0400) Subject: Backport: * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32... X-Git-Tag: emacs-24.3.94~81 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=09f3715543c655375e4b0b9cfab00b42b6a4ff0d;p=emacs.git Backport: * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32 build. (Bug#18302) --- diff --git a/ChangeLog b/ChangeLog index 6864b7043e1..e0090a45ced 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-08-22 Ken Brown + + * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the + Cygwin-w32 build. (Bug#18302) + 2014-08-10 Paul Eggert Don't prevent random file systems from being unmounted (Bug#18232). 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