Define NO_ZPIPE when building for MinGW, decompressing via a pipe isn't possible
Signed-off-by: Jon TURNEY <jon.tur...@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 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel