| 1 |
/* libtiff/tif_config.h. Copied from tif_config.h.in manually. */ |
| 2 |
/* clang-format off */ |
| 3 |
/* clang-format disabled because CMake scripts are very sensitive to the |
| 4 |
* formatting of this file. configure_file variables of type "@VAR@" are |
| 5 |
* modified by clang-format and won't be substituted. |
| 6 |
*/ |
| 7 |
|
| 8 |
/* libtiff/tif_config.h.in. Not generated, but originated from autoheader. */ |
| 9 |
|
| 10 |
#include "tiffconf.h" |
| 11 |
|
| 12 |
/* Support CCITT Group 3 & 4 algorithms */ |
| 13 |
#define CCITT_SUPPORT 1 |
| 14 |
|
| 15 |
/* Pick up YCbCr subsampling info from the JPEG data stream to support files |
| 16 |
lacking the tag (default enabled). */ |
| 17 |
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1 |
| 18 |
|
| 19 |
/* enable partial strip reading for large strips (experimental) */ |
| 20 |
/* #undef CHUNKY_STRIP_READ_SUPPORT */ |
| 21 |
|
| 22 |
/* Support C++ stream API (requires C++ compiler) */ |
| 23 |
#define CXX_SUPPORT 1 |
| 24 |
|
| 25 |
/* enable deferred strip/tile offset/size loading */ |
| 26 |
/* #undef DEFER_STRILE_LOAD */ |
| 27 |
|
| 28 |
/* Define to 1 if you have the <assert.h> header file. */ |
| 29 |
#define HAVE_ASSERT_H 1 |
| 30 |
|
| 31 |
/* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. |
| 32 |
*/ |
| 33 |
#undef HAVE_DECL_OPTARG |
| 34 |
|
| 35 |
/* Define to 1 if you have the <fcntl.h> header file. */ |
| 36 |
#define HAVE_FCNTL_H 1 |
| 37 |
|
| 38 |
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ |
| 39 |
#undef HAVE_FSEEKO |
| 40 |
|
| 41 |
/* Define to 1 if you have the `getopt' function. */ |
| 42 |
#undef HAVE_GETOPT |
| 43 |
|
| 44 |
/* Define to 1 if you have the <GLUT/glut.h> header file. */ |
| 45 |
#undef HAVE_GLUT_GLUT_H |
| 46 |
|
| 47 |
/* Define to 1 if you have the <GL/glut.h> header file. */ |
| 48 |
#undef HAVE_GL_GLUT_H |
| 49 |
|
| 50 |
/* Define to 1 if you have the <GL/glu.h> header file. */ |
| 51 |
#undef HAVE_GL_GLU_H |
| 52 |
|
| 53 |
/* Define to 1 if you have the <GL/gl.h> header file. */ |
| 54 |
#undef HAVE_GL_GL_H |
| 55 |
|
| 56 |
/* Define to 1 if you have the <io.h> header file. */ |
| 57 |
#undef HAVE_IO_H |
| 58 |
|
| 59 |
/* Define to 1 if you have the `jbg_newlen' function. */ |
| 60 |
#undef HAVE_JBG_NEWLEN |
| 61 |
|
| 62 |
/* Define to 1 if you have the `mmap' function. */ |
| 63 |
#undef HAVE_MMAP |
| 64 |
|
| 65 |
/* Define to 1 if you have the <OpenGL/glu.h> header file. */ |
| 66 |
#undef HAVE_OPENGL_GLU_H |
| 67 |
|
| 68 |
/* Define to 1 if you have the <OpenGL/gl.h> header file. */ |
| 69 |
#undef HAVE_OPENGL_GL_H |
| 70 |
|
| 71 |
/* Define to 1 if you have the `setmode' function. */ |
| 72 |
#undef HAVE_SETMODE |
| 73 |
|
| 74 |
/* Define to 1 if you have the `snprintf' function. */ |
| 75 |
#undef HAVE_SNPRINTF |
| 76 |
|
| 77 |
/* Define to 1 if you have the <strings.h> header file. */ |
| 78 |
#undef HAVE_STRINGS_H |
| 79 |
|
| 80 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
| 81 |
#undef HAVE_SYS_TYPES_H |
| 82 |
|
| 83 |
/* Define to 1 if you have the <unistd.h> header file. */ |
| 84 |
#undef HAVE_UNISTD_H |
| 85 |
|
| 86 |
/* 8/12 bit libjpeg dual mode enabled */ |
| 87 |
/* #undef JPEG_DUAL_MODE_8_12 */ |
| 88 |
|
| 89 |
/* Support LERC compression */ |
| 90 |
/* #undef LERC_SUPPORT */ |
| 91 |
|
| 92 |
/* 12bit libjpeg primary include file with path */ |
| 93 |
#define LIBJPEG_12_PATH |
| 94 |
|
| 95 |
/* Support LZMA2 compression */ |
| 96 |
/* #undef LZMA_SUPPORT */ |
| 97 |
|
| 98 |
/* Name of package */ |
| 99 |
#define PACKAGE "LibTIFF Software" |
| 100 |
|
| 101 |
/* Define to the address where bug reports for this package should be sent. */ |
| 102 |
#undef PACKAGE_BUGREPORT |
| 103 |
|
| 104 |
/* Define to the full name of this package. */ |
| 105 |
#define PACKAGE_NAME "LibTIFF Software" |
| 106 |
|
| 107 |
/* Define to the one symbol short name of this package. */ |
| 108 |
#define PACKAGE_TARNAME "tiff" |
| 109 |
|
| 110 |
/* Define to the home page for this package. */ |
| 111 |
#undef PACKAGE_URL |
| 112 |
|
| 113 |
/* The size of `size_t', as computed by sizeof. */ |
| 114 |
#undef SIZEOF_SIZE_T |
| 115 |
#ifdef _WIN64 |
| 116 |
#define SIZEOF_SIZE_T 8 |
| 117 |
#else |
| 118 |
#define SIZEOF_SIZE_T 4 |
| 119 |
#endif |
| 120 |
|
| 121 |
/* Default size of the strip in bytes (when strip chopping enabled) */ |
| 122 |
#define STRIP_SIZE_DEFAULT 8192 |
| 123 |
|
| 124 |
/* Maximum number of TIFF IFDs that libtiff can iterate through in a file. */ |
| 125 |
#undef TIFF_MAX_DIR_COUNT |
| 126 |
|
| 127 |
/* define to use win32 IO system */ |
| 128 |
#undef USE_WIN32_FILEIO |
| 129 |
|
| 130 |
/* Support webp compression */ |
| 131 |
#undef WEBP_SUPPORT |
| 132 |
|
| 133 |
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most |
| 134 |
significant byte first (like Motorola and SPARC, unlike Intel). */ |
| 135 |
#if defined AC_APPLE_UNIVERSAL_BUILD |
| 136 |
# if defined __BIG_ENDIAN__ |
| 137 |
# define WORDS_BIGENDIAN 1 |
| 138 |
# endif |
| 139 |
#else |
| 140 |
# ifndef WORDS_BIGENDIAN |
| 141 |
# undef WORDS_BIGENDIAN |
| 142 |
# endif |
| 143 |
#endif |
| 144 |
|
| 145 |
/* Support zstd compression */ |
| 146 |
#undef ZSTD_SUPPORT |
| 147 |
|
| 148 |
/* Enable large inode numbers on Mac OS X 10.5. */ |
| 149 |
#ifndef _DARWIN_USE_64_BIT_INODE |
| 150 |
# define _DARWIN_USE_64_BIT_INODE 1 |
| 151 |
#endif |
| 152 |
|
| 153 |
/* Number of bits in a file offset, on hosts where this is settable. */ |
| 154 |
#define _FILE_OFFSET_BITS 32 |
| 155 |
|
| 156 |
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ |
| 157 |
#undef _LARGEFILE_SOURCE |
| 158 |
|
| 159 |
/* Define for large files, on AIX-style hosts. */ |
| 160 |
#undef _LARGE_FILES |
| 161 |
|
| 162 |
#if !defined(__MINGW32__) |
| 163 |
# define TIFF_SIZE_FORMAT "zu" |
| 164 |
#endif |
| 165 |
#if SIZEOF_SIZE_T == 8 |
| 166 |
# define TIFF_SSIZE_FORMAT PRId64 |
| 167 |
# if defined(__MINGW32__) |
| 168 |
# define TIFF_SIZE_FORMAT PRIu64 |
| 169 |
# endif |
| 170 |
#elif SIZEOF_SIZE_T == 4 |
| 171 |
# define TIFF_SSIZE_FORMAT PRId32 |
| 172 |
# if defined(__MINGW32__) |
| 173 |
# define TIFF_SIZE_FORMAT PRIu32 |
| 174 |
# endif |
| 175 |
#else |
| 176 |
# error "Unsupported size_t size; please submit a bug report" |
| 177 |
#endif |
| 178 |
|
| 179 |
/* clang-format on */ |