xref: /freebsd/lib/liblzma/config.h (revision 342bcb12328e23c22789253504c5664cfece4a9b)
1 /* $FreeBSD$ */
2 /* config.h.  Generated from config.h.in by configure.  */
3 /* config.h.in.  Generated from configure.ac by autoheader.  */
4 
5 /* Define if building universal (internal helper macro) */
6 /* #undef AC_APPLE_UNIVERSAL_BUILD */
7 
8 /* How many MiB of RAM to assume if the real amount cannot be determined. */
9 #define ASSUME_RAM 128
10 
11 /* Define to 1 if translation of program messages to the user's native
12    language is requested. */
13 /* FreeBSD - disabled intentionally */
14 /* #undef ENABLE_NLS */
15 
16 /* Define to 1 if bswap_16 is available. */
17 /* #undef HAVE_BSWAP_16 */
18 
19 /* Define to 1 if bswap_32 is available. */
20 /* #undef HAVE_BSWAP_32 */
21 
22 /* Define to 1 if bswap_64 is available. */
23 /* #undef HAVE_BSWAP_64 */
24 
25 /* Define to 1 if you have the <byteswap.h> header file. */
26 /* #undef HAVE_BYTESWAP_H */
27 
28 /* Define to 1 if the system has the type `CC_SHA256_CTX'. */
29 /* #undef HAVE_CC_SHA256_CTX */
30 
31 /* Define to 1 if you have the `CC_SHA256_Init' function. */
32 /* #undef HAVE_CC_SHA256_INIT */
33 
34 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
35    CoreFoundation framework. */
36 /* #undef HAVE_CFLOCALECOPYCURRENT */
37 
38 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
39    the CoreFoundation framework. */
40 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
41 
42 /* Define to 1 if crc32 integrity check is enabled. */
43 #define HAVE_CHECK_CRC32 1
44 
45 /* Define to 1 if crc64 integrity check is enabled. */
46 #define HAVE_CHECK_CRC64 1
47 
48 /* Define to 1 if sha256 integrity check is enabled. */
49 #define HAVE_CHECK_SHA256 1
50 
51 /* Define to 1 if you have the `clock_gettime' function. */
52 #define HAVE_CLOCK_GETTIME 1
53 
54 /* Define to 1 if you have the <CommonCrypto/CommonDigest.h> header file. */
55 /* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */
56 
57 /* Define if the GNU dcgettext() function is already present or preinstalled.
58    */
59 /* FreeBSD - disabled intentionally */
60 /* #undef HAVE_DCGETTEXT */
61 
62 /* Define to 1 if you have the declaration of `CLOCK_MONOTONIC', and to 0 if
63    you don't. */
64 #define HAVE_DECL_CLOCK_MONOTONIC 1
65 
66 /* Define to 1 if you have the declaration of `program_invocation_name', and
67    to 0 if you don't. */
68 #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
69 
70 /* Define to 1 if arm decoder is enabled. */
71 #define HAVE_DECODER_ARM 1
72 
73 /* Define to 1 if armthumb decoder is enabled. */
74 #define HAVE_DECODER_ARMTHUMB 1
75 
76 /* Define to 1 if delta decoder is enabled. */
77 #define HAVE_DECODER_DELTA 1
78 
79 /* Define to 1 if ia64 decoder is enabled. */
80 #define HAVE_DECODER_IA64 1
81 
82 /* Define to 1 if lzma1 decoder is enabled. */
83 #define HAVE_DECODER_LZMA1 1
84 
85 /* Define to 1 if lzma2 decoder is enabled. */
86 #define HAVE_DECODER_LZMA2 1
87 
88 /* Define to 1 if powerpc decoder is enabled. */
89 #define HAVE_DECODER_POWERPC 1
90 
91 /* Define to 1 if sparc decoder is enabled. */
92 #define HAVE_DECODER_SPARC 1
93 
94 /* Define to 1 if x86 decoder is enabled. */
95 #define HAVE_DECODER_X86 1
96 
97 /* Define to 1 if you have the <dlfcn.h> header file. */
98 #define HAVE_DLFCN_H 1
99 
100 /* Define to 1 if arm encoder is enabled. */
101 #define HAVE_ENCODER_ARM 1
102 
103 /* Define to 1 if armthumb encoder is enabled. */
104 #define HAVE_ENCODER_ARMTHUMB 1
105 
106 /* Define to 1 if delta encoder is enabled. */
107 #define HAVE_ENCODER_DELTA 1
108 
109 /* Define to 1 if ia64 encoder is enabled. */
110 #define HAVE_ENCODER_IA64 1
111 
112 /* Define to 1 if lzma1 encoder is enabled. */
113 #define HAVE_ENCODER_LZMA1 1
114 
115 /* Define to 1 if lzma2 encoder is enabled. */
116 #define HAVE_ENCODER_LZMA2 1
117 
118 /* Define to 1 if powerpc encoder is enabled. */
119 #define HAVE_ENCODER_POWERPC 1
120 
121 /* Define to 1 if sparc encoder is enabled. */
122 #define HAVE_ENCODER_SPARC 1
123 
124 /* Define to 1 if x86 encoder is enabled. */
125 #define HAVE_ENCODER_X86 1
126 
127 /* Define to 1 if you have the <fcntl.h> header file. */
128 #define HAVE_FCNTL_H 1
129 
130 /* Define to 1 if you have the `futimens' function. */
131 #define HAVE_FUTIMENS 1
132 
133 /* Define to 1 if you have the `futimes' function. */
134 /* #undef HAVE_FUTIMES */
135 
136 /* Define to 1 if you have the `futimesat' function. */
137 /* #undef HAVE_FUTIMESAT */
138 
139 /* Define to 1 if you have the <getopt.h> header file. */
140 #define HAVE_GETOPT_H 1
141 
142 /* Define to 1 if you have the `getopt_long' function. */
143 #define HAVE_GETOPT_LONG 1
144 
145 /* Define if the GNU gettext() function is already present or preinstalled. */
146 /* FreeBSD - disabled intentionally */
147 /* #undef HAVE_GETTEXT */
148 
149 /* Define if you have the iconv() function and it works. */
150 #define HAVE_ICONV 1
151 
152 /* Define to 1 if you have the <immintrin.h> header file. */
153 #if defined(__FreeBSD__) && defined(__amd64__)
154 #define HAVE_IMMINTRIN_H 1
155 #endif
156 
157 /* Define to 1 if you have the <inttypes.h> header file. */
158 #define HAVE_INTTYPES_H 1
159 
160 /* Define to 1 if you have the <limits.h> header file. */
161 #define HAVE_LIMITS_H 1
162 
163 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
164 #define HAVE_MBRTOWC 1
165 
166 /* Define to 1 if you have the <memory.h> header file. */
167 #define HAVE_MEMORY_H 1
168 
169 /* Define to 1 to enable bt2 match finder. */
170 #define HAVE_MF_BT2 1
171 
172 /* Define to 1 to enable bt3 match finder. */
173 #define HAVE_MF_BT3 1
174 
175 /* Define to 1 to enable bt4 match finder. */
176 #define HAVE_MF_BT4 1
177 
178 /* Define to 1 to enable hc3 match finder. */
179 #define HAVE_MF_HC3 1
180 
181 /* Define to 1 to enable hc4 match finder. */
182 #define HAVE_MF_HC4 1
183 
184 /* Define to 1 if you have the <minix/sha2.h> header file. */
185 /* #undef HAVE_MINIX_SHA2_H */
186 
187 /* Define to 1 if getopt.h declares extern int optreset. */
188 #define HAVE_OPTRESET 1
189 
190 /* Define to 1 if you have the `pipe2' function. */
191 #define HAVE_PIPE2 1
192 
193 /* Define to 1 if you have the `posix_fadvise' function. */
194 #define HAVE_POSIX_FADVISE 1
195 
196 /* Define to 1 if you have the `pthread_condattr_setclock' function. */
197 #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
198 
199 /* Have PTHREAD_PRIO_INHERIT. */
200 #define HAVE_PTHREAD_PRIO_INHERIT 1
201 
202 /* Define to 1 if you have the `SHA256Init' function. */
203 /* #undef HAVE_SHA256INIT */
204 
205 /* Define to 1 if the system has the type `SHA256_CTX'. */
206 #define HAVE_SHA256_CTX 1
207 
208 /* Define to 1 if you have the <sha256.h> header file. */
209 #define HAVE_SHA256_H 1
210 
211 /* Define to 1 if you have the `SHA256_Init' function. */
212 #define HAVE_SHA256_INIT 1
213 
214 /* Define to 1 if the system has the type `SHA2_CTX'. */
215 /* #undef HAVE_SHA2_CTX */
216 
217 /* Define to 1 if you have the <sha2.h> header file. */
218 /* #undef HAVE_SHA2_H */
219 
220 /* Define to 1 if optimizing for size. */
221 /* #undef HAVE_SMALL */
222 
223 /* Define to 1 if stdbool.h conforms to C99. */
224 #define HAVE_STDBOOL_H 1
225 
226 /* Define to 1 if you have the <stdint.h> header file. */
227 #define HAVE_STDINT_H 1
228 
229 /* Define to 1 if you have the <stdlib.h> header file. */
230 #define HAVE_STDLIB_H 1
231 
232 /* Define to 1 if you have the <strings.h> header file. */
233 #define HAVE_STRINGS_H 1
234 
235 /* Define to 1 if you have the <string.h> header file. */
236 #define HAVE_STRING_H 1
237 
238 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
239 /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
240 
241 /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
242 #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
243 
244 /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
245 /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */
246 
247 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
248 #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
249 
250 /* Define to 1 if `st_uatime' is a member of `struct stat'. */
251 /* #undef HAVE_STRUCT_STAT_ST_UATIME */
252 
253 /* Define to 1 if you have the <sys/byteorder.h> header file. */
254 /* #undef HAVE_SYS_BYTEORDER_H */
255 
256 /* Define to 1 if you have the <sys/endian.h> header file. */
257 #define HAVE_SYS_ENDIAN_H 1
258 
259 /* Define to 1 if you have the <sys/param.h> header file. */
260 #define HAVE_SYS_PARAM_H 1
261 
262 /* Define to 1 if you have the <sys/stat.h> header file. */
263 #define HAVE_SYS_STAT_H 1
264 
265 /* Define to 1 if you have the <sys/time.h> header file. */
266 #define HAVE_SYS_TIME_H 1
267 
268 /* Define to 1 if you have the <sys/types.h> header file. */
269 #define HAVE_SYS_TYPES_H 1
270 
271 /* Define to 1 if the system has the type `uintptr_t'. */
272 #define HAVE_UINTPTR_T 1
273 
274 /* Define to 1 if you have the <unistd.h> header file. */
275 #define HAVE_UNISTD_H 1
276 
277 /* Define to 1 if you have the `utime' function. */
278 /* #undef HAVE_UTIME */
279 
280 /* Define to 1 if you have the `utimes' function. */
281 /* #undef HAVE_UTIMES */
282 
283 /* Define to 1 or 0, depending whether the compiler supports simple visibility
284    declarations. */
285 #define HAVE_VISIBILITY 1
286 
287 /* Define to 1 if you have the `wcwidth' function. */
288 #define HAVE_WCWIDTH 1
289 
290 /* Define to 1 if the system has the type `_Bool'. */
291 #define HAVE__BOOL 1
292 
293 /* Define to 1 if _mm_movemask_epi8 is available. */
294 #if defined(__FreeBSD__) && defined(__amd64__)
295 #define HAVE__MM_MOVEMASK_EPI8 1
296 #endif
297 
298 /* Define to the sub-directory where libtool stores uninstalled libraries. */
299 #define LT_OBJDIR ".libs/"
300 
301 /* Define to 1 when using POSIX threads (pthreads). */
302 #define MYTHREAD_POSIX 1
303 
304 /* Define to 1 when using Windows Vista compatible threads. This uses features
305    that are not available on Windows XP. */
306 /* #undef MYTHREAD_VISTA */
307 
308 /* Define to 1 when using Windows 95 (and thus XP) compatible threads. This
309    avoids use of features that were added in Windows Vista. */
310 /* #undef MYTHREAD_WIN95 */
311 
312 /* Define to 1 to disable debugging code. */
313 #define NDEBUG 1
314 
315 /* Name of package */
316 #define PACKAGE "xz"
317 
318 /* Define to the address where bug reports for this package should be sent. */
319 #define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
320 
321 /* Define to the full name of this package. */
322 #define PACKAGE_NAME "XZ Utils"
323 
324 /* Define to the full name and version of this package. */
325 #define PACKAGE_STRING "XZ Utils 5.2.1"
326 
327 /* Define to the one symbol short name of this package. */
328 #define PACKAGE_TARNAME "xz"
329 
330 /* Define to the home page for this package. */
331 #define PACKAGE_URL "http://tukaani.org/xz/"
332 
333 /* Define to the version of this package. */
334 #define PACKAGE_VERSION "5.2.1"
335 
336 /* Define to necessary symbol if this constant uses a non-standard name on
337    your system. */
338 /* #undef PTHREAD_CREATE_JOINABLE */
339 
340 /* The size of `size_t', as computed by sizeof. */
341 #define SIZEOF_SIZE_T 8
342 
343 /* Define to 1 if you have the ANSI C header files. */
344 #define STDC_HEADERS 1
345 
346 /* Define to 1 if the number of available CPU cores can be detected with
347    cpuset(2). */
348 #define TUKLIB_CPUCORES_CPUSET 1
349 
350 /* Define to 1 if the number of available CPU cores can be detected with
351    pstat_getdynamic(). */
352 /* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */
353 
354 /* Define to 1 if the number of available CPU cores can be detected with
355    sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */
356 /* #undef TUKLIB_CPUCORES_SYSCONF */
357 
358 /* Define to 1 if the number of available CPU cores can be detected with
359    sysctl(). */
360 /* #undef TUKLIB_CPUCORES_SYSCTL */
361 
362 /* Define to 1 if the system supports fast unaligned access to 16-bit and
363    32-bit integers. */
364 /* FreeBSD - derive from __NO_STRICT_ALIGNMENT */
365 /* #undef TUKLIB_FAST_UNALIGNED_ACCESS */
366 
367 /* Define to 1 if the amount of physical memory can be detected with
368    _system_configuration.physmem. */
369 /* #undef TUKLIB_PHYSMEM_AIX */
370 
371 /* Define to 1 if the amount of physical memory can be detected with
372    getinvent_r(). */
373 /* #undef TUKLIB_PHYSMEM_GETINVENT_R */
374 
375 /* Define to 1 if the amount of physical memory can be detected with
376    getsysinfo(). */
377 /* #undef TUKLIB_PHYSMEM_GETSYSINFO */
378 
379 /* Define to 1 if the amount of physical memory can be detected with
380    pstat_getstatic(). */
381 /* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */
382 
383 /* Define to 1 if the amount of physical memory can be detected with
384    sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */
385 #define TUKLIB_PHYSMEM_SYSCONF 1
386 
387 /* Define to 1 if the amount of physical memory can be detected with sysctl().
388    */
389 /* #undef TUKLIB_PHYSMEM_SYSCTL */
390 
391 /* Define to 1 if the amount of physical memory can be detected with Linux
392    sysinfo(). */
393 /* #undef TUKLIB_PHYSMEM_SYSINFO */
394 
395 /* Enable extensions on AIX 3, Interix.  */
396 #ifndef _ALL_SOURCE
397 # define _ALL_SOURCE 1
398 #endif
399 /* Enable GNU extensions on systems that have them.  */
400 #ifndef _GNU_SOURCE
401 # define _GNU_SOURCE 1
402 #endif
403 /* Enable threading extensions on Solaris.  */
404 #ifndef _POSIX_PTHREAD_SEMANTICS
405 # define _POSIX_PTHREAD_SEMANTICS 1
406 #endif
407 /* Enable extensions on HP NonStop.  */
408 #ifndef _TANDEM_SOURCE
409 # define _TANDEM_SOURCE 1
410 #endif
411 /* Enable general extensions on Solaris.  */
412 #ifndef __EXTENSIONS__
413 # define __EXTENSIONS__ 1
414 #endif
415 
416 
417 /* Version number of package */
418 #define VERSION "5.2.1"
419 
420 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
421    significant byte first (like Motorola and SPARC, unlike Intel). */
422 #if defined(__FreeBSD__)
423 #include <sys/_types.h>
424 #if defined(__NO_STRICT_ALIGNMENT)
425 #define TUKLIB_FAST_UNALIGNED_ACCESS 1
426 #endif
427 #include <machine/endian.h>
428 #if _BYTE_ORDER == _BIG_ENDIAN
429 # define WORDS_BIGENDIAN 1
430 #endif
431 #endif
432 
433 /* Enable large inode numbers on Mac OS X 10.5.  */
434 #ifndef _DARWIN_USE_64_BIT_INODE
435 # define _DARWIN_USE_64_BIT_INODE 1
436 #endif
437 
438 /* Number of bits in a file offset, on hosts where this is settable. */
439 /* #undef _FILE_OFFSET_BITS */
440 
441 /* Define for large files, on AIX-style hosts. */
442 /* #undef _LARGE_FILES */
443 
444 /* Define to 1 if on MINIX. */
445 /* #undef _MINIX */
446 
447 /* Define to 2 if the system does not provide POSIX.1 features except with
448    this defined. */
449 /* #undef _POSIX_1_SOURCE */
450 
451 /* Define to 1 if you need to in order for `stat' and other things to work. */
452 /* #undef _POSIX_SOURCE */
453 
454 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
455    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
456    #define below would cause a syntax error. */
457 /* #undef _UINT32_T */
458 
459 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
460    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
461    #define below would cause a syntax error. */
462 /* #undef _UINT64_T */
463 
464 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
465    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
466    #define below would cause a syntax error. */
467 /* #undef _UINT8_T */
468 
469 /* Define to rpl_ if the getopt replacement functions and variables should be
470    used. */
471 /* #undef __GETOPT_PREFIX */
472 
473 /* Define to the type of a signed integer type of width exactly 32 bits if
474    such a type exists and the standard includes do not define it. */
475 /* #undef int32_t */
476 
477 /* Define to the type of a signed integer type of width exactly 64 bits if
478    such a type exists and the standard includes do not define it. */
479 /* #undef int64_t */
480 
481 /* Define to the type of an unsigned integer type of width exactly 16 bits if
482    such a type exists and the standard includes do not define it. */
483 /* #undef uint16_t */
484 
485 /* Define to the type of an unsigned integer type of width exactly 32 bits if
486    such a type exists and the standard includes do not define it. */
487 /* #undef uint32_t */
488 
489 /* Define to the type of an unsigned integer type of width exactly 64 bits if
490    such a type exists and the standard includes do not define it. */
491 /* #undef uint64_t */
492 
493 /* Define to the type of an unsigned integer type of width exactly 8 bits if
494    such a type exists and the standard includes do not define it. */
495 /* #undef uint8_t */
496 
497 /* Define to the type of an unsigned integer type wide enough to hold a
498    pointer, if such a type exists, and if the system does not define it. */
499 /* #undef uintptr_t */
500