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