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