+++ /dev/null
-/* $Header: /usr/people/sam/tiff/libtiff/RCS/tiffconf.h,v 1.13 1996/04/05 17:36:53 sam Rel $ */\r
-/*\r
- * Copyright (c) 1988-1996 Sam Leffler\r
- * Copyright (c) 1991-1996 Silicon Graphics, Inc.\r
- *\r
- * Permission to use, copy, modify, distribute, and sell this software and \r
- * its documentation for any purpose is hereby granted without fee, provided\r
- * that (i) the above copyright notices and this permission notice appear in\r
- * all copies of the software and related documentation, and (ii) the names of\r
- * Sam Leffler and Silicon Graphics may not be used in any advertising or\r
- * publicity relating to the software without the specific, prior written\r
- * permission of Sam Leffler and Silicon Graphics.\r
- * \r
- * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, \r
- * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY \r
- * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. \r
- * \r
- * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR\r
- * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,\r
- * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\r
- * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF \r
- * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE \r
- * OF THIS SOFTWARE.\r
- */\r
-\r
-#ifndef _TIFFCONF_\r
-#define _TIFFCONF_\r
-/*\r
- * Library Configuration Definitions.\r
- *\r
- * This file defines the default configuration for the library.\r
- * If the target system does not have make or a way to specify\r
- * #defines on the command line, this file can be edited to\r
- * configure the library. Otherwise, one can override portability\r
- * and configuration-related definitions from a Makefile or command\r
- * line by defining FEATURE_SUPPORT and COMPRESSION_SUPPORT (see below).\r
- */\r
-\r
-/*\r
- * General portability-related defines:\r
- *\r
- * HAVE_IEEEFP define as 0 or 1 according to the floating point\r
- * format suported by the machine\r
- * BSDTYPES define this if your system does NOT define the\r
- * usual 4BSD typedefs u_int et. al.\r
- * HAVE_MMAP enable support for memory mapping read-only files;\r
- * this is typically deduced by the configure script\r
- * HOST_FILLORDER native cpu bit order: one of FILLORDER_MSB2LSB\r
- * or FILLODER_LSB2MSB; this is typically set by the\r
- * configure script\r
- * HOST_BIGENDIAN native cpu byte order: 1 if big-endian (Motorola)\r
- * or 0 if little-endian (Intel); this may be used\r
- * in codecs to optimize code\r
- */\r
-#ifndef HAVE_IEEEFP\r
-#define HAVE_IEEEFP 1\r
-#endif\r
-#ifndef HOST_FILLORDER\r
-#define HOST_FILLORDER FILLORDER_MSB2LSB\r
-#endif\r
-#ifndef HOST_BIGENDIAN\r
-#define HOST_BIGENDIAN 1\r
-#endif\r
-\r
-#ifndef FEATURE_SUPPORT\r
-/*\r
- * Feature support definitions:\r
- *\r
- * COLORIMETRY_SUPPORT enable support for 6.0 colorimetry tags\r
- * YCBCR_SUPPORT enable support for 6.0 YCbCr tags\r
- * CMYK_SUPPORT enable support for 6.0 CMYK tags\r
- */\r
-#define COLORIMETRY_SUPPORT\r
-#define YCBCR_SUPPORT\r
-#define CMYK_SUPPORT\r
-#endif /* FEATURE_SUPPORT */\r
-\r
-#ifndef COMPRESSION_SUPPORT\r
-/*\r
- * Compression support defines:\r
- *\r
- * CCITT_SUPPORT enable support for CCITT Group 3 & 4 algorithms\r
- * PACKBITS_SUPPORT enable support for Macintosh PackBits algorithm\r
- * LZW_SUPPORT enable support for LZW algorithm\r
- * THUNDER_SUPPORT enable support for ThunderScan 4-bit RLE algorithm\r
- * NEXT_SUPPORT enable support for NeXT 2-bit RLE algorithm\r
- * OJPEG_SUPPORT enable support for 6.0-style JPEG DCT algorithms\r
- * (no builtin support, only a codec hook)\r
- * JPEG_SUPPORT enable support for post-6.0-style JPEG DCT algorithms\r
- * (requires freely available IJG software, see tif_jpeg.c)\r
- * ZIP_SUPPORT enable support for Deflate algorithm\r
- * (requires freely available zlib software, see tif_zip.c)\r
- * PIXARLOG_SUPPORT enable support for Pixar log-format algorithm\r
- */\r
-/* doesn't work with Windows makefile??? */\r
-#if 0\r
-#define CCITT_SUPPORT\r
-#endif\r
-#define PACKBITS_SUPPORT\r
-#define LZW_SUPPORT\r
-#define THUNDER_SUPPORT\r
-#define NEXT_SUPPORT\r
-#endif /* COMPRESSION_SUPPORT */\r
-\r
-/*\r
- * If JPEG compression is enabled then we must also include\r
- * support for the colorimetry and YCbCr-related tags.\r
- */\r
-#ifdef JPEG_SUPPORT\r
-#ifndef YCBCR_SUPPORT\r
-#define YCBCR_SUPPORT\r
-#endif\r
-#ifndef COLORIMETRY_SUPPORT\r
-#define COLORIMETRY_SUPPORT\r
-#endif\r
-#endif /* JPEG_SUPPORT */\r
-\r
-/*\r
- * ``Orthogonal Features''\r
- *\r
- * STRIPCHOP_SUPPORT automatically convert single-strip uncompressed images\r
- * to mutiple strips of ~8Kb (for reducing memory use)\r
- * SUBIFD_SUPPORT enable support for SubIFD tag (thumbnails and such)\r
- */\r
-#ifndef STRIPCHOP_SUPPORT\r
-#define STRIPCHOP_SUPPORT 1 /* enable strip chopping */\r
-#endif\r
-#ifndef SUBIFD_SUPPORT\r
-#define SUBIFD_SUPPORT 1 /* enable SubIFD tag (330) support */\r
-#endif\r
-#endif /* _TIFFCONF_ */\r