diff options
author | faxguy <faxguy> | 2010-12-15 00:37:00 +0000 |
---|---|---|
committer | faxguy <faxguy> | 2010-12-15 00:37:00 +0000 |
commit | 5ed776a5d7fbc2de3f01a1e9543b6b36c5c880f3 (patch) | |
tree | 89fc0e7cef795fc2bef9f5574351b5597825d240 /configure.ac | |
parent | b00c1c95878f6fbd5c0d9d4b60f929d88e464ece (diff) | |
download | libtiff-5ed776a5d7fbc2de3f01a1e9543b6b36c5c880f3.tar.gz |
* configure.ac, libtiff/Makefile.am: Build tif_win32.c on
Windows except on Cygwin
http://bugzilla.maptools.org/show_bug.cgi?id=2224
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cd892bd9..fd4fcb4e 100644 --- a/configure.ac +++ b/configure.ac @@ -777,6 +777,25 @@ fi AM_CONDITIONAL(HAVE_OPENGL, test "$HAVE_OPENGL" = "yes") dnl --------------------------------------------------------------------------- +dnl Check for Win32 IO: make sure we have windows.h but not cygwin +dnl this must be after the ogl test, since that looks for windows.h and we +dnl test it +dnl --------------------------------------------------------------------------- + +win32_io_ok=no +case "${host_os}" in + cygwin*) + ;; + *) + if test x"$ac_cv_header_windows_h" = xyes; then + win32_io_ok=yes + AC_DEFINE(USE_WIN32_FILEIO,1,[define to use win32 IO system]) + fi + ;; +esac +AM_CONDITIONAL([WIN32_IO], [test "$win32_io_ok" = yes]) + +dnl --------------------------------------------------------------------------- dnl Check for X Athena Widgets dnl --------------------------------------------------------------------------- @@ -898,6 +917,7 @@ LOC_MSG([ C compiler: ${CC} ${CFLAGS}]) LOC_MSG([ C++ compiler: ${CXX} ${CXXFLAGS}]) LOC_MSG([ Enable runtime linker paths: ${HAVE_RPATH}]) LOC_MSG([ Support Microsoft Document Imaging: ${HAVE_MDI}]) +LOC_MSG([ Use win32 IO: ${win32_io_ok}]) LOC_MSG() LOC_MSG([ Support for internal codecs:]) LOC_MSG([ CCITT Group 3 & 4 algorithms: ${HAVE_CCITT}]) |