1
/* FreeImage libtiff config */
6
/* Define as 0 or 1 according to the floating point format suported by the
10
/* --- byte order --- */
12
/* Some versions of gcc may have BYTE_ORDER or __BYTE_ORDER defined
13
If your big endian system isn't being detected, add an OS specific check
15
#if (defined(BYTE_ORDER) && BYTE_ORDER==BIG_ENDIAN) || \
16
(defined(__BYTE_ORDER) && __BYTE_ORDER==__BIG_ENDIAN) || \
17
defined(__BIG_ENDIAN__)
18
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
19
#define HOST_FILLORDER FILLORDER_MSB2LSB
20
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel) */
21
#define WORDS_BIGENDIAN 1
23
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
24
#define HOST_FILLORDER FILLORDER_LSB2MSB
25
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel) */
26
#undef WORDS_BIGENDIAN
29
/* --- compression algorithms --- */
31
/* Support CCITT Group 3 & 4 algorithms */
32
#define CCITT_SUPPORT 1
34
/* Support JPEG compression (requires IJG JPEG library) */
35
#define JPEG_SUPPORT 1
37
/* Support LogLuv high dynamic range encoding */
38
#define LOGLUV_SUPPORT 1
40
/* Support LZW algorithm */
43
/* Support NeXT 2-bit RLE algorithm */
44
#define NEXT_SUPPORT 1
46
/* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
47
fails with unpatched IJG JPEG library) */
48
/* #undef OJPEG_SUPPORT */
50
/* Support Macintosh PackBits algorithm */
51
#define PACKBITS_SUPPORT 1
53
/* Support Pixar log-format algorithm (requires Zlib) */
54
#define PIXARLOG_SUPPORT 1
56
/* Support ThunderScan 4-bit RLE algorithm */
57
#define THUNDER_SUPPORT 1
59
/* Support Deflate compression */
62
/* --- ``Orthogonal Features'' --- */
64
/* Support strip chopping (whether or not to convert single-strip uncompressed
65
images to mutiple strips of ~8Kb to reduce memory usage) */
66
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
68
/* Enable SubIFD tag (330) support */
69
#define SUBIFD_SUPPORT 1
71
/* Treat extra sample as alpha (default enabled). The RGBA interface will
72
treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
73
packages produce RGBA files but don't mark the alpha properly. */
74
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
76
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
77
lacking the tag (default enabled). */
78
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
80
/* --- include files --- */
82
/* Use the Apple OpenGL framework. */
83
/* #undef HAVE_APPLE_OPENGL_FRAMEWORK */
85
/* Define to 1 if you have the <assert.h> header file. */
86
#define HAVE_ASSERT_H 1
88
/* Define to 1 if you have the <dlfcn.h> header file. */
89
#define HAVE_DLFCN_H 1
91
/* Define to 1 if you have the <fcntl.h> header file. */
92
#define HAVE_FCNTL_H 1
94
/* Define to 1 if you have the `floor' function. */
97
/* Define to 1 if you have the `getopt' function. */
100
/* Define as 0 or 1 according to the floating point format suported by the
102
#define HAVE_IEEEFP 1
104
/* Define to 1 if the system has the type `int16'. */
105
/* #undef HAVE_INT16 */
107
/* Define to 1 if the system has the type `int32'. */
108
/* #undef HAVE_INT32 */
110
/* Define to 1 if the system has the type `int8'. */
111
/* #undef HAVE_INT8 */
113
/* Define to 1 if you have the <inttypes.h> header file. */
114
#define HAVE_INTTYPES_H 1
116
/* Define to 1 if you have the `isascii' function. */
117
#define HAVE_ISASCII 1
119
/* Define to 1 if you have the `c' library (-lc). */
122
/* Define to 1 if you have the `m' library (-lm). */
125
/* Define to 1 if you have the <limits.h> header file. */
126
#define HAVE_LIMITS_H 1
128
/* Define to 1 if you have the <malloc.h> header file. */
129
#define HAVE_MALLOC_H 1
131
/* Define to 1 if you have the `memmove' function. */
132
#define HAVE_MEMMOVE 1
134
/* Define to 1 if you have the <memory.h> header file. */
135
#define HAVE_MEMORY_H 1
137
/* Define to 1 if you have the `memset' function. */
138
#define HAVE_MEMSET 1
140
/* Define to 1 if you have the `mmap' function. */
143
/* Define to 1 if you have the `pow' function. */
146
/* Define if you have POSIX threads libraries and header files. */
147
#define HAVE_PTHREAD 1
149
/* Define to 1 if you have the `sqrt' function. */
152
/* Define to 1 if you have the <stdint.h> header file. */
153
#define HAVE_STDINT_H 1
155
/* Define to 1 if you have the <stdlib.h> header file. */
156
#define HAVE_STDLIB_H 1
158
/* Define to 1 if you have the `strcasecmp' function. */
159
#define HAVE_STRCASECMP 1
161
/* Define to 1 if you have the `strchr' function. */
162
#define HAVE_STRCHR 1
164
/* Define to 1 if you have the <strings.h> header file. */
165
#define HAVE_STRINGS_H 1
167
/* Define to 1 if you have the <string.h> header file. */
168
#define HAVE_STRING_H 1
170
/* Define to 1 if you have the `strrchr' function. */
171
#define HAVE_STRRCHR 1
173
/* Define to 1 if you have the `strstr' function. */
174
#define HAVE_STRSTR 1
176
/* Define to 1 if you have the `strtol' function. */
177
#define HAVE_STRTOL 1
179
/* Define to 1 if you have the `strtoul' function. */
180
#define HAVE_STRTOUL 1
182
/* Define to 1 if you have the <sys/stat.h> header file. */
183
#define HAVE_SYS_STAT_H 1
185
/* Define to 1 if you have the <sys/time.h> header file. */
186
#define HAVE_SYS_TIME_H 1
188
/* Define to 1 if you have the <sys/types.h> header file. */
189
#define HAVE_SYS_TYPES_H 1
191
/* Define to 1 if you have the <unistd.h> header file. */
192
#define HAVE_UNISTD_H 1
194
/* Define to 1 if you have the <windows.h> header file. */
195
/* #undef HAVE_WINDOWS_H */
198
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
199
/* #undef NO_MINUS_C_MINUS_O */
202
/* Define to the necessary symbol if this constant uses a non-standard name on
204
/* #undef PTHREAD_CREATE_JOINABLE */
206
/* The size of a `int', as computed by sizeof. */
209
/* The size of a `long', as computed by sizeof. */
210
#define SIZEOF_LONG 4
212
/* Define to 1 if you have the ANSI C header files. */
213
#define STDC_HEADERS 1
215
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
216
#define TIME_WITH_SYS_TIME 1
218
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
219
/* #undef TM_IN_SYS_TIME */
222
/* Define to 1 if your processor stores words with the most significant byte
223
first (like Motorola and SPARC, unlike Intel and VAX). */
224
/* #undef WORDS_BIGENDIAN */
226
/* Define to 1 if the X Window System is missing or not being used. */
227
/* #undef X_DISPLAY_MISSING */
230
/* Number of bits in a file offset, on hosts where this is settable. */
231
#define _FILE_OFFSET_BITS 64
233
/* Define for large files, on AIX-style hosts. */
234
/* #undef _LARGE_FILES */
236
/* Define to empty if `const' does not conform to ANSI C. */
239
/* Define to `__inline__' or `__inline' if that's what the C compiler
240
calls it, or to nothing if 'inline' is not supported under any name. */
244
#define inline __inline
249
#endif // __cplusplus
253
/* Define to 1 if you have the <search.h> header file. */
254
#define HAVE_SEARCH_H 1
258
/* Define to `long' if <sys/types.h> does not define. */
261
/* Define to `unsigned' if <sys/types.h> does not define. */
264
#endif /* _TIFFCONF_ */
1
/* FreeImage libtiff config */
3
/* libtiff/tif_config.h. Generated from tif_config.h.in by configure. */
4
/* libtiff/tif_config.h.in. Generated from configure.ac by autoheader. */
6
/* Define if building universal (internal helper macro) */
7
/* #undef AC_APPLE_UNIVERSAL_BUILD */
9
/* Support CCITT Group 3 & 4 algorithms */
10
#define CCITT_SUPPORT 1
12
/* Pick up YCbCr subsampling info from the JPEG data stream to support files
13
lacking the tag (default enabled). */
14
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
16
/* Support C++ stream API (requires C++ compiler) */
19
/* Treat extra sample as alpha (default enabled). The RGBA interface will
20
treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
21
packages produce RGBA files but don't mark the alpha properly. */
22
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1
24
/* Use the Apple OpenGL framework. */
25
/* #undef HAVE_APPLE_OPENGL_FRAMEWORK */
27
/* Define to 1 if you have the <assert.h> header file. */
28
#define HAVE_ASSERT_H 1
30
/* Define to 1 if you have the <dlfcn.h> header file. */
31
#define HAVE_DLFCN_H 1
33
/* Define to 1 if you have the <fcntl.h> header file. */
34
#define HAVE_FCNTL_H 1
36
/* Define to 1 if you have the `floor' function. */
39
/* Define to 1 if you have the `getopt' function. */
42
/* Define as 0 or 1 according to the floating point format suported by the
46
/* Define to 1 if the system has the type `int16'. */
47
/* #undef HAVE_INT16 */
49
/* Define to 1 if the system has the type `int32'. */
50
/* #undef HAVE_INT32 */
52
/* Define to 1 if the system has the type `int8'. */
53
/* #undef HAVE_INT8 */
55
/* Define to 1 if you have the <inttypes.h> header file. */
56
#define HAVE_INTTYPES_H 1
58
/* Define to 1 if you have the <io.h> header file. */
59
/* #undef HAVE_IO_H */
61
/* Define to 1 if you have the `isascii' function. */
62
#define HAVE_ISASCII 1
64
/* Define to 1 if you have the `jbg_newlen' function. */
65
/* #undef HAVE_JBG_NEWLEN */
67
/* Define to 1 if you have the `lfind' function. */
70
/* Define to 1 if you have the `c' library (-lc). */
73
/* Define to 1 if you have the `m' library (-lm). */
76
/* Define to 1 if you have the <limits.h> header file. */
77
#define HAVE_LIMITS_H 1
79
/* Define to 1 if you have the <malloc.h> header file. */
80
#define HAVE_MALLOC_H 1
82
/* Define to 1 if you have the `memmove' function. */
83
#define HAVE_MEMMOVE 1
85
/* Define to 1 if you have the <memory.h> header file. */
86
#define HAVE_MEMORY_H 1
88
/* Define to 1 if you have the `memset' function. */
91
/* Define to 1 if you have the `mmap' function. */
94
/* Define to 1 if you have the `pow' function. */
97
/* Define if you have POSIX threads libraries and header files. */
98
#define HAVE_PTHREAD 1
100
/* Define to 1 if you have the <search.h> header file. */
101
#define HAVE_SEARCH_H 1
103
/* Define to 1 if you have the `setmode' function. */
104
/* #undef HAVE_SETMODE */
106
/* Define to 1 if you have the `sqrt' function. */
109
/* Define to 1 if you have the <stdint.h> header file. */
110
#define HAVE_STDINT_H 1
112
/* Define to 1 if you have the <stdlib.h> header file. */
113
#define HAVE_STDLIB_H 1
115
/* Define to 1 if you have the `strcasecmp' function. */
116
#define HAVE_STRCASECMP 1
118
/* Define to 1 if you have the `strchr' function. */
119
#define HAVE_STRCHR 1
121
/* Define to 1 if you have the <strings.h> header file. */
122
#define HAVE_STRINGS_H 1
124
/* Define to 1 if you have the <string.h> header file. */
125
#define HAVE_STRING_H 1
127
/* Define to 1 if you have the `strrchr' function. */
128
#define HAVE_STRRCHR 1
130
/* Define to 1 if you have the `strstr' function. */
131
#define HAVE_STRSTR 1
133
/* Define to 1 if you have the `strtol' function. */
134
#define HAVE_STRTOL 1
136
/* Define to 1 if you have the `strtoul' function. */
137
#define HAVE_STRTOUL 1
139
/* Define to 1 if you have the <sys/stat.h> header file. */
140
#define HAVE_SYS_STAT_H 1
142
/* Define to 1 if you have the <sys/time.h> header file. */
143
#define HAVE_SYS_TIME_H 1
145
/* Define to 1 if you have the <sys/types.h> header file. */
146
#define HAVE_SYS_TYPES_H 1
148
/* Define to 1 if you have the <unistd.h> header file. */
149
#define HAVE_UNISTD_H 1
151
/* Define to 1 if you have the <windows.h> header file. */
152
/* #undef HAVE_WINDOWS_H */
154
/* --- XXX byte order XXX --- */
155
/* hack for freeimage to avoid hardcoding a value */
157
/* Some versions of gcc may have BYTE_ORDER or __BYTE_ORDER defined
158
If your big endian system isn't being detected, add an OS specific check
160
#if (defined(BYTE_ORDER) && BYTE_ORDER==BIG_ENDIAN) || \
161
(defined(__BYTE_ORDER) && __BYTE_ORDER==__BIG_ENDIAN) || \
162
defined(__BIG_ENDIAN__)
163
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
164
#define HOST_FILLORDER FILLORDER_MSB2LSB
165
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel) */
166
#define WORDS_BIGENDIAN 1
167
#define HOST_BIGENDIAN 1
169
/* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
170
#define HOST_FILLORDER FILLORDER_LSB2MSB
171
/* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian (Intel) */
172
#undef WORDS_BIGENDIAN
173
#define HOST_BIGENDIAN 0
177
/* Support ISO JBIG compression (requires JBIG-KIT library) */
178
/* #undef JBIG_SUPPORT */
180
/* Support JPEG compression (requires IJG JPEG library) */
181
#define JPEG_SUPPORT 1
183
/* Support LogLuv high dynamic range encoding */
184
#define LOGLUV_SUPPORT 1
186
/* Define to the sub-directory in which libtool stores uninstalled libraries.
188
#define LT_OBJDIR ".libs/"
190
/* Support LZW algorithm */
191
#define LZW_SUPPORT 1
193
/* Support Microsoft Document Imaging format */
194
#define MDI_SUPPORT 1
196
/* Support NeXT 2-bit RLE algorithm */
197
#define NEXT_SUPPORT 1
199
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
200
/* #undef NO_MINUS_C_MINUS_O */
202
/* Support Old JPEG compresson (read-only) */
203
#define OJPEG_SUPPORT 1
205
/* Name of package */
206
#define PACKAGE "tiff"
208
/* Define to the address where bug reports for this package should be sent. */
209
#define PACKAGE_BUGREPORT "tiff@lists.maptools.org"
211
/* Define to the full name of this package. */
212
#define PACKAGE_NAME "LibTIFF Software"
214
/* Define to the full name and version of this package. */
215
#define PACKAGE_STRING "LibTIFF Software 3.9.4"
217
/* Define to the one symbol short name of this package. */
218
#define PACKAGE_TARNAME "tiff"
220
/* Define to the home page for this package. */
221
#define PACKAGE_URL ""
223
/* Define to the version of this package. */
224
#define PACKAGE_VERSION "3.9.4"
226
/* Support Macintosh PackBits algorithm */
227
#define PACKBITS_SUPPORT 1
229
/* Support Pixar log-format algorithm (requires Zlib) */
230
#define PIXARLOG_SUPPORT 1
232
/* Define to necessary symbol if this constant uses a non-standard name on
234
/* #undef PTHREAD_CREATE_JOINABLE */
236
/* The size of `int', as computed by sizeof. */
239
/* The size of `signed long long', as computed by sizeof. */
240
#define SIZEOF_SIGNED_LONG_LONG 8
242
/* The size of `unsigned long long', as computed by sizeof. */
243
#define SIZEOF_UNSIGNED_LONG_LONG 8
245
/* XXX size of long, hacked for freeimage XXX */
246
/* The size of `long', as computed by sizeof. */
247
#define SIZEOF_LONG __SIZEOF_LONG__
249
/* The size of `signed long', as computed by sizeof. */
250
#define SIZEOF_SIGNED_LONG __SIZEOF_LONG__
252
/* The size of `unsigned long', as computed by sizeof. */
253
#define SIZEOF_UNSIGNED_LONG __SIZEOF_LONG__
256
/* Define to 1 if you have the ANSI C header files. */
257
#define STDC_HEADERS 1
259
/* Support strip chopping (whether or not to convert single-strip uncompressed
260
images to mutiple strips of specified size to reduce memory usage) */
261
#define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
263
/* Default size of the strip in bytes (when strip chopping enabled) */
264
#define STRIP_SIZE_DEFAULT 8192
266
/* Enable SubIFD tag (330) support */
267
#define SUBIFD_SUPPORT 1
269
/* Support ThunderScan 4-bit RLE algorithm */
270
#define THUNDER_SUPPORT 1
272
/* XXX hack for freeimage XXX */
273
#include <inttypes.h>
275
/* Signed 64-bit type formatter */
276
#define TIFF_INT64_FORMAT "%" PRId64
278
/* Signed 64-bit type */
280
#define TIFF_INT64_T signed long
282
#define TIFF_INT64_T signed long long
285
/* Unsigned 64-bit type formatter */
286
#define TIFF_UINT64_FORMAT "%" PRIu64
288
/* Unsigned 64-bit type */
290
#define TIFF_UINT64_T unsigned long
292
#define TIFF_INT64_T unsigned long long
296
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
297
#define TIME_WITH_SYS_TIME 1
299
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
300
/* #undef TM_IN_SYS_TIME */
302
/* Version number of package */
303
#define VERSION "3.9.4"
305
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
306
significant byte first (like Motorola and SPARC, unlike Intel). */
307
#if defined AC_APPLE_UNIVERSAL_BUILD
308
# if defined __BIG_ENDIAN__
309
# define WORDS_BIGENDIAN 1
312
# ifndef WORDS_BIGENDIAN
313
/* # undef WORDS_BIGENDIAN */
317
/* Define to 1 if the X Window System is missing or not being used. */
318
/* #undef X_DISPLAY_MISSING */
320
/* Support Deflate compression */
321
#define ZIP_SUPPORT 1
323
/* Number of bits in a file offset, on hosts where this is settable. */
324
/* #undef _FILE_OFFSET_BITS */
326
/* Define for large files, on AIX-style hosts. */
327
/* #undef _LARGE_FILES */
329
/* Define to empty if `const' does not conform to ANSI C. */
332
/* Define to `__inline__' or `__inline' if that's what the C compiler
333
calls it, or to nothing if 'inline' is not supported under any name. */
338
/* Define to `long int' if <sys/types.h> does not define. */
341
/* Define to `unsigned int' if <sys/types.h> does not define. */