xref: /freebsd/lib/liblzma/config.h (revision e17f5b1d)
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 #define HAVE_SHA256_CTX 1
215 
216 /* Define to 1 if you have the <sha256.h> header file. */
217 #define HAVE_SHA256_H 1
218 
219 /* Define to 1 if you have the `SHA256_Init' function. */
220 #define HAVE_SHA256_INIT 1
221 
222 /* Define to 1 if the system has the type `SHA2_CTX'. */
223 /* #undef HAVE_SHA2_CTX */
224 
225 /* Define to 1 if you have the <sha2.h> header file. */
226 /* #undef HAVE_SHA2_H */
227 
228 /* Define to 1 if optimizing for size. */
229 /* #undef HAVE_SMALL */
230 
231 /* Define to 1 if stdbool.h conforms to C99. */
232 #define HAVE_STDBOOL_H 1
233 
234 /* Define to 1 if you have the <stdint.h> header file. */
235 #define HAVE_STDINT_H 1
236 
237 /* Define to 1 if you have the <stdlib.h> header file. */
238 #define HAVE_STDLIB_H 1
239 
240 /* Define to 1 if you have the <strings.h> header file. */
241 #define HAVE_STRINGS_H 1
242 
243 /* Define to 1 if you have the <string.h> header file. */
244 #define HAVE_STRING_H 1
245 
246 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
247 #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1
248 
249 /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
250 #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
251 
252 /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
253 /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */
254 
255 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
256 #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
257 
258 /* Define to 1 if `st_uatime' is a member of `struct stat'. */
259 /* #undef HAVE_STRUCT_STAT_ST_UATIME */
260 
261 /* Define to 1 if you have the <sys/byteorder.h> header file. */
262 /* #undef HAVE_SYS_BYTEORDER_H */
263 
264 /* Define to 1 if you have the <sys/capsicum.h> header file. */
265 #define HAVE_SYS_CAPSICUM_H 1
266 
267 /* Define to 1 if you have the <sys/endian.h> header file. */
268 #define HAVE_SYS_ENDIAN_H 1
269 
270 /* Define to 1 if you have the <sys/param.h> header file. */
271 #define HAVE_SYS_PARAM_H 1
272 
273 /* Define to 1 if you have the <sys/stat.h> header file. */
274 #define HAVE_SYS_STAT_H 1
275 
276 /* Define to 1 if you have the <sys/time.h> header file. */
277 #define HAVE_SYS_TIME_H 1
278 
279 /* Define to 1 if you have the <sys/types.h> header file. */
280 #define HAVE_SYS_TYPES_H 1
281 
282 /* Define to 1 if the system has the type `uintptr_t'. */
283 #define HAVE_UINTPTR_T 1
284 
285 /* Define to 1 if you have the <unistd.h> header file. */
286 #define HAVE_UNISTD_H 1
287 
288 /* Define to 1 if you have the `utime' function. */
289 /* #undef HAVE_UTIME */
290 
291 /* Define to 1 if you have the `utimes' function. */
292 /* #undef HAVE_UTIMES */
293 
294 /* Define to 1 or 0, depending whether the compiler supports simple visibility
295    declarations. */
296 #define HAVE_VISIBILITY 1
297 
298 /* Define to 1 if you have the `wcwidth' function. */
299 #define HAVE_WCWIDTH 1
300 
301 /* Define to 1 if the system has the type `_Bool'. */
302 #define HAVE__BOOL 1
303 
304 /* Define to 1 if you have the `_futime' function. */
305 /* #undef HAVE__FUTIME */
306 
307 /* Define to 1 if _mm_movemask_epi8 is available. */
308 #if defined(__FreeBSD__) && defined(__amd64__)
309 #define HAVE__MM_MOVEMASK_EPI8 1
310 #endif
311 
312 /* Define to 1 if the GNU C extension __builtin_assume_aligned is supported.
313    */
314 #define HAVE___BUILTIN_ASSUME_ALIGNED 1
315 
316 /* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported.
317    */
318 #define HAVE___BUILTIN_BSWAPXX 1
319 
320 /* Define to the sub-directory where libtool stores uninstalled libraries. */
321 #define LT_OBJDIR ".libs/"
322 
323 /* Define to 1 when using POSIX threads (pthreads). */
324 #define MYTHREAD_POSIX 1
325 
326 /* Define to 1 when using Windows Vista compatible threads. This uses features
327    that are not available on Windows XP. */
328 /* #undef MYTHREAD_VISTA */
329 
330 /* Define to 1 when using Windows 95 (and thus XP) compatible threads. This
331    avoids use of features that were added in Windows Vista. */
332 /* #undef MYTHREAD_WIN95 */
333 
334 /* Define to 1 to disable debugging code. */
335 #define NDEBUG 1
336 
337 /* Name of package */
338 #define PACKAGE "xz"
339 
340 /* Define to the address where bug reports for this package should be sent. */
341 #define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
342 
343 /* Define to the full name of this package. */
344 #define PACKAGE_NAME "XZ Utils"
345 
346 /* Define to the full name and version of this package. */
347 #define PACKAGE_STRING "XZ Utils 5.2.5"
348 
349 /* Define to the one symbol short name of this package. */
350 #define PACKAGE_TARNAME "xz"
351 
352 /* Define to the home page for this package. */
353 #define PACKAGE_URL "https://tukaani.org/xz/"
354 
355 /* Define to the version of this package. */
356 #define PACKAGE_VERSION "5.2.5"
357 
358 /* Define to necessary symbol if this constant uses a non-standard name on
359    your system. */
360 /* #undef PTHREAD_CREATE_JOINABLE */
361 
362 /* The size of `size_t', as computed by sizeof. */
363 #define SIZEOF_SIZE_T 8
364 
365 /* Define to 1 if you have the ANSI C header files. */
366 #define STDC_HEADERS 1
367 
368 /* Define to 1 if the number of available CPU cores can be detected with
369    cpuset(2). */
370 #define TUKLIB_CPUCORES_CPUSET 1
371 
372 /* Define to 1 if the number of available CPU cores can be detected with
373    pstat_getdynamic(). */
374 /* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */
375 
376 /* Define to 1 if the number of available CPU cores can be detected with
377    sched_getaffinity() */
378 /* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */
379 
380 /* Define to 1 if the number of available CPU cores can be detected with
381    sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */
382 /* #undef TUKLIB_CPUCORES_SYSCONF */
383 
384 /* Define to 1 if the number of available CPU cores can be detected with
385    sysctl(). */
386 /* #undef TUKLIB_CPUCORES_SYSCTL */
387 
388 /* Define to 1 if the system supports fast unaligned access to 16-bit and
389    32-bit integers. */
390 /* FreeBSD - derive from __NO_STRICT_ALIGNMENT */
391 /* #undef TUKLIB_FAST_UNALIGNED_ACCESS */
392 
393 /* Define to 1 if the amount of physical memory can be detected with
394    _system_configuration.physmem. */
395 /* #undef TUKLIB_PHYSMEM_AIX */
396 
397 /* Define to 1 if the amount of physical memory can be detected with
398    getinvent_r(). */
399 /* #undef TUKLIB_PHYSMEM_GETINVENT_R */
400 
401 /* Define to 1 if the amount of physical memory can be detected with
402    getsysinfo(). */
403 /* #undef TUKLIB_PHYSMEM_GETSYSINFO */
404 
405 /* Define to 1 if the amount of physical memory can be detected with
406    pstat_getstatic(). */
407 /* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */
408 
409 /* Define to 1 if the amount of physical memory can be detected with
410    sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */
411 #define TUKLIB_PHYSMEM_SYSCONF 1
412 
413 /* Define to 1 if the amount of physical memory can be detected with sysctl().
414    */
415 /* #undef TUKLIB_PHYSMEM_SYSCTL */
416 
417 /* Define to 1 if the amount of physical memory can be detected with Linux
418    sysinfo(). */
419 /* #undef TUKLIB_PHYSMEM_SYSINFO */
420 
421 /* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x =
422    123; which violates strict aliasing rules and thus is undefined behavior
423    and might result in broken code. */
424 /* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */
425 
426 /* Enable extensions on AIX 3, Interix.  */
427 #ifndef _ALL_SOURCE
428 # define _ALL_SOURCE 1
429 #endif
430 /* Enable GNU extensions on systems that have them.  */
431 #ifndef _GNU_SOURCE
432 # define _GNU_SOURCE 1
433 #endif
434 /* Enable threading extensions on Solaris.  */
435 #ifndef _POSIX_PTHREAD_SEMANTICS
436 # define _POSIX_PTHREAD_SEMANTICS 1
437 #endif
438 /* Enable extensions on HP NonStop.  */
439 #ifndef _TANDEM_SOURCE
440 # define _TANDEM_SOURCE 1
441 #endif
442 /* Enable general extensions on Solaris.  */
443 #ifndef __EXTENSIONS__
444 # define __EXTENSIONS__ 1
445 #endif
446 
447 
448 /* Version number of package */
449 #define VERSION "5.2.5"
450 
451 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
452    significant byte first (like Motorola and SPARC, unlike Intel). */
453 #if defined(__FreeBSD__)
454 #include <sys/_types.h>
455 #if defined(__NO_STRICT_ALIGNMENT)
456 #define TUKLIB_FAST_UNALIGNED_ACCESS 1
457 #endif
458 #include <machine/endian.h>
459 #if _BYTE_ORDER == _BIG_ENDIAN
460 # define WORDS_BIGENDIAN 1
461 #endif
462 #endif
463 
464 /* Enable large inode numbers on Mac OS X 10.5.  */
465 #ifndef _DARWIN_USE_64_BIT_INODE
466 # define _DARWIN_USE_64_BIT_INODE 1
467 #endif
468 
469 /* Number of bits in a file offset, on hosts where this is settable. */
470 /* #undef _FILE_OFFSET_BITS */
471 
472 /* Define for large files, on AIX-style hosts. */
473 /* #undef _LARGE_FILES */
474 
475 /* Define to 1 if on MINIX. */
476 /* #undef _MINIX */
477 
478 /* Define to 2 if the system does not provide POSIX.1 features except with
479    this defined. */
480 /* #undef _POSIX_1_SOURCE */
481 
482 /* Define to 1 if you need to in order for `stat' and other things to work. */
483 /* #undef _POSIX_SOURCE */
484 
485 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
486    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
487    #define below would cause a syntax error. */
488 /* #undef _UINT32_T */
489 
490 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
491    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
492    #define below would cause a syntax error. */
493 /* #undef _UINT64_T */
494 
495 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
496    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
497    #define below would cause a syntax error. */
498 /* #undef _UINT8_T */
499 
500 /* Define to rpl_ if the getopt replacement functions and variables should be
501    used. */
502 /* #undef __GETOPT_PREFIX */
503 
504 /* Define to the type of a signed integer type of width exactly 32 bits if
505    such a type exists and the standard includes do not define it. */
506 /* #undef int32_t */
507 
508 /* Define to the type of a signed integer type of width exactly 64 bits if
509    such a type exists and the standard includes do not define it. */
510 /* #undef int64_t */
511 
512 /* Define to the type of an unsigned integer type of width exactly 16 bits if
513    such a type exists and the standard includes do not define it. */
514 /* #undef uint16_t */
515 
516 /* Define to the type of an unsigned integer type of width exactly 32 bits if
517    such a type exists and the standard includes do not define it. */
518 /* #undef uint32_t */
519 
520 /* Define to the type of an unsigned integer type of width exactly 64 bits if
521    such a type exists and the standard includes do not define it. */
522 /* #undef uint64_t */
523 
524 /* Define to the type of an unsigned integer type of width exactly 8 bits if
525    such a type exists and the standard includes do not define it. */
526 /* #undef uint8_t */
527 
528 /* Define to the type of an unsigned integer type wide enough to hold a
529    pointer, if such a type exists, and if the system does not define it. */
530 /* #undef uintptr_t */
531