AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2010.05.20 08:23 "[Tiff] [PATCH] tiff2ps: Ability to specify document title", by Thomas Jarosch
2010.05.20 19:30 "Re: [Tiff] [PATCH] tiff2ps: Ability to specify document title", by Lee Howard
2010.05.21 07:59 "Re: [Tiff] [PATCH] tiff2ps: Ability to specify document title", by Thomas Jarosch
2010.06.18 17:46 "[Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Adam Goode
2010.06.18 18:21 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Bob Friesenhahn
2010.06.18 18:32 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Adam Goode
2010.06.18 18:35 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Adam Goode
2010.06.28 13:25 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Edward Lam
2010.06.28 15:54 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Bob Friesenhahn
2010.06.29 11:23 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Andrey Kiselev
2010.06.29 13:46 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Adam Goode

2010.06.18 18:21 "Re: [Tiff] [PATCH] Build tif_win32.c on Windows except on Cygwin", by Bob Friesenhahn

>
> That would be a nice patch.

Here's a patch, can someone apply it?

diff --git a/configure.ac b/configure.ac
index 954a0c5..2d8743b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,6 +147,18 @@ AC_TYPE_SIZE_T
 AC_HEADER_TIME
 AC_STRUCT_TM

+dnl Check for Win32 IO: make sure we have windows.h but not cygwin +case "${host_os}" in

+    cygwin*)
+        win32_io_ok=no

This bit seems wrong in the case where Cygwin is used to build a native Windows (MinGW) application. It is also wrong for a MinGW cross-compiler. The target OS should be what matters.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/