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 <GLUT/glut.h> header file. */
44 /* #undef HAVE_GLUT_GLUT_H */
45 
46 /* Define to 1 if you have the <GL/glut.h> header file. */
47 /* #undef HAVE_GL_GLUT_H */
48 
49 /* Define to 1 if you have the <GL/glu.h> header file. */
50 /* #undef HAVE_GL_GLU_H */
51 
52 /* Define to 1 if you have the <GL/gl.h> header file. */
53 /* #undef HAVE_GL_GL_H */
54 
55 /* Define to 1 if you have the <io.h> header file. */
56 /* #undef HAVE_IO_H */
57 
58 /* Define to 1 if you have the `jbg_newlen' function. */
59 /* #undef HAVE_JBG_NEWLEN */
60 
61 /* Define to 1 if you have the `mmap' function. */
62 #define HAVE_MMAP 1
63 
64 /* Define to 1 if you have the <OpenGL/glu.h> header file. */
65 /* #undef HAVE_OPENGL_GLU_H */
66 
67 /* Define to 1 if you have the <OpenGL/gl.h> header file. */
68 /* #undef HAVE_OPENGL_GL_H */
69 
70 /* Define to 1 if you have the `setmode' function. */
71 /* #undef HAVE_SETMODE */
72 
73 /* Define to 1 if you have the <strings.h> header file. */
74 #define HAVE_STRINGS_H 1
75 
76 /* Define to 1 if you have the <sys/types.h> header file. */
77 #define HAVE_SYS_TYPES_H 1
78 
79 /* Define to 1 if you have the <unistd.h> header file. */
80 #define HAVE_UNISTD_H 1
81 
82 /* 8/12 bit libjpeg dual mode enabled */
83 /* #undef JPEG_DUAL_MODE_8_12 */
84 
85 /* Support LERC compression */
86 /* #undef LERC_SUPPORT */
87 
88 /* 12bit libjpeg primary include file with path */
89 #define LIBJPEG_12_PATH ""
90 
91 /* Support LZMA2 compression */
92 /* #undef LZMA_SUPPORT */
93 
94 /* Name of package */
95 #define PACKAGE "LibTIFF Software"
96 
97 /* Define to the address where bug reports for this package should be sent. */
98 #define PACKAGE_BUGREPORT "tiff@lists.osgeo.org"
99 
100 /* Define to the full name of this package. */
101 #define PACKAGE_NAME "LibTIFF Software"
102 
103 /* Define to the one symbol short name of this package. */
104 #define PACKAGE_TARNAME "tiff"
105 
106 /* Define to the home page for this package. */
107 #define PACKAGE_URL ""
108 
109 /* Size of size_t */
110 #define SIZEOF_SIZE_T 8
111 
112 /* Default size of the strip in bytes (when strip chopping enabled) */
113 #define STRIP_SIZE_DEFAULT 8192
114 
116 #define TIFF_MAX_DIR_COUNT 1048576
117 
118 /* define to use win32 IO system */
119 /* #undef USE_WIN32_FILEIO */
120 
121 /* Support WEBP compression */
122 /* #undef WEBP_SUPPORT */
123 
124 /* Support ZSTD compression */
125 /* #undef ZSTD_SUPPORT */
126 
127 
128 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
129  significant byte first (like Motorola and SPARC, unlike Intel). */
130 #if defined AC_APPLE_UNIVERSAL_BUILD
131 # if defined __BIG_ENDIAN__
132 # define WORDS_BIGENDIAN 1
133 # endif
134 #else
135 # ifndef WORDS_BIGENDIAN
136 # undef WORDS_BIGENDIAN
137 # endif
138 #endif
139 
140 #if !defined(__MINGW32__)
141 # define TIFF_SIZE_FORMAT "zu"
142 #endif
143 #if SIZEOF_SIZE_T == 8
144 # define TIFF_SSIZE_FORMAT PRId64
145 # if defined(__MINGW32__)
146 # define TIFF_SIZE_FORMAT PRIu64
147 # endif
148 #elif SIZEOF_SIZE_T == 4
149 # define TIFF_SSIZE_FORMAT PRId32
150 # if defined(__MINGW32__)
151 # define TIFF_SIZE_FORMAT PRIu32
152 # endif
153 #else
154 # error "Unsupported size_t size; please submit a bug report"
155 #endif
156 
157 /* clang-format on */