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