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