[PATCH lib/libXpm] Define NO_ZPIPE when building for MinGW

Jon TURNEY jon.turney at dronecode.org.uk
Mon Oct 22 08:07:28 PDT 2012


Define NO_ZPIPE when building for MinGW, decompressing via a pipe isn't possible

Signed-off-by:  Jon TURNEY <jon.turney at dronecode.org.uk>

---
 configure.ac |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba7e3b4..5ac5d05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,15 @@ if test x$STAT_ZFILE = xyes ; then
 	AC_DEFINE(STAT_ZFILE, 1, [Define to 1 to automatically look for files with .Z & .gz extensions])
 fi
 
+
+case $host_os in
+	*mingw*)
+                AC_DEFINE(NO_ZPIPE, 1, [Define to 1 to disable decompression via pipes])
+	;;
+	*)
+	;;
+esac
+
 AC_CONFIG_FILES([Makefile
                  doc/Makefile
                  include/Makefile
-- 
1.7.9



More information about the xorg-devel mailing list