tif_config.h
Go to the documentation of this file.
1 /* clang-format off */
2 /* clang-format disabled because CMake scripts are very sensitive to the
3  * formatting of this file. configure_file variables of type "" are
4  * modified by clang-format and won't be substituted.
5  */
6 
7 /* libtiff/tif_config.h.cmake.in. Not generated, but originated from autoheader. */
8 /* This file must be kept up-to-date with needed substitutions from libtiff/tif_config.h.in. */
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 /* #undef CHECK_JPEG_YCBCR_SUBSAMPLING */
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 /* #undef CXX_SUPPORT */
24 
25 /* enable deferred strip/tile offset/size loading (experimental) */
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 #define HAVE_DECL_OPTARG 1
33 
34 /* Define to 1 if you have the <fcntl.h> header file. */
35 #define HAVE_FCNTL_H 1
36 
37 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
38 /* #undef HAVE_FSEEKO */
39 
40 /* Define to 1 if you have the `getopt' function. */
41 #define HAVE_GETOPT 1
42 
43 /* Define to 1 if you have the <io.h> header file. */
44 /* #undef HAVE_IO_H */
45 
46 /* Define to 1 if you have the `jbg_newlen' function. */
47 /* #undef HAVE_JBG_NEWLEN */
48 
49 /* Define to 1 if you have the `mmap' function. */
50 #define HAVE_MMAP 1
51 
52 /* Define to 1 if you have the `setmode' function. */
53 /* #undef HAVE_SETMODE */
54 
55 /* Define to 1 if you have the <strings.h> header file. */
56 #define HAVE_STRINGS_H 1
57 
58 /* Define to 1 if you have the <sys/types.h> header file. */
59 #define HAVE_SYS_TYPES_H 1
60 
61 /* Define to 1 if you have the <unistd.h> header file. */
62 #define HAVE_UNISTD_H 1
63 
64 /* 8/12 bit libjpeg dual mode enabled */
65 /* #undef JPEG_DUAL_MODE_8_12 */
66 
67 /* Support LERC compression */
68 /* #undef LERC_SUPPORT */
69 
70 /* 12bit libjpeg primary include file with path */
71 #define LIBJPEG_12_PATH ""
72 
73 /* Support LZMA2 compression */
74 /* #undef LZMA_SUPPORT */
75 
76 /* Name of package */
77 #define PACKAGE "LibTIFF Software"
78 
79 /* Define to the address where bug reports for this package should be sent. */
80 #define PACKAGE_BUGREPORT "tiff@lists.osgeo.org"
81 
82 /* Define to the full name of this package. */
83 #define PACKAGE_NAME "LibTIFF Software"
84 
85 /* Define to the one symbol short name of this package. */
86 #define PACKAGE_TARNAME "tiff"
87 
88 /* Define to the home page for this package. */
89 #define PACKAGE_URL ""
90 
91 /* Size of size_t */
92 #define SIZEOF_SIZE_T 8
93 
94 /* Default size of the strip in bytes (when strip chopping enabled) */
95 #define STRIP_SIZE_DEFAULT 8192
96 
98 #define TIFF_MAX_DIR_COUNT 1048576
99 
100 /* define to use win32 IO system */
101 /* #undef USE_WIN32_FILEIO */
102 
103 /* Support WEBP compression */
104 /* #undef WEBP_SUPPORT */
105 
106 /* Support ZSTD compression */
107 /* #undef ZSTD_SUPPORT */
108 
109 
110 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
111  significant byte first (like Motorola and SPARC, unlike Intel). */
112 #if defined AC_APPLE_UNIVERSAL_BUILD
113 # if defined __BIG_ENDIAN__
114 # define WORDS_BIGENDIAN 1
115 # endif
116 #else
117 # ifndef WORDS_BIGENDIAN
118 # undef WORDS_BIGENDIAN
119 # endif
120 #endif
121 
122 #if !defined(__MINGW32__)
123 # define TIFF_SIZE_FORMAT "zu"
124 #endif
125 #if SIZEOF_SIZE_T == 8
126 # define TIFF_SSIZE_FORMAT PRId64
127 # if defined(__MINGW32__)
128 # define TIFF_SIZE_FORMAT PRIu64
129 # endif
130 #elif SIZEOF_SIZE_T == 4
131 # define TIFF_SSIZE_FORMAT PRId32
132 # if defined(__MINGW32__)
133 # define TIFF_SIZE_FORMAT PRIu32
134 # endif
135 #else
136 # error "Unsupported size_t size; please submit a bug report"
137 #endif
138 
139 /* clang-format on */