xref: /freebsd/lib/libmagic/config.h (revision dd21556857e8d40f66bf5ad54754d9d52669ebf7)
1 /* config.h.  Generated from config.h.in by configure.  */
2 /* config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 /* FreeBSD */
5 #include <osreldate.h>
6 
7 /* Define if building universal (internal helper macro) */
8 /* #undef AC_APPLE_UNIVERSAL_BUILD */
9 
10 /* Define in built-in ELF support is used */
11 #define BUILTIN_ELF 1
12 
13 /* Enable bzlib compression support */
14 /* #undef BZLIBSUPPORT */
15 
16 /* Define for ELF core file support */
17 #define ELFCORE 1
18 
19 /* Define to 1 if you have the 'asctime_r' function. */
20 #define HAVE_ASCTIME_R 1
21 
22 /* Define to 1 if you have the 'asprintf' function. */
23 #define HAVE_ASPRINTF 1
24 
25 /* Define to 1 if you have the <byteswap.h> header file. */
26 #ifndef __APPLE__ /* Cross building tools on macOS */
27 #if __FreeBSD_version >= 1400079 || (__FreeBSD_version < 1400000 && __FreeBSD_version >= 1302500)
28 #define HAVE_BYTESWAP_H 1
29 #endif
30 #endif
31 
32 /* Define to 1 if you have the <bzlib.h> header file. */
33 /* #undef HAVE_BZLIB_H */
34 
35 /* Define to 1 if you have the 'ctime_r' function. */
36 #define HAVE_CTIME_R 1
37 
38 /* HAVE_DAYLIGHT */
39 /* #undef HAVE_DAYLIGHT */
40 
41 /* Define to 1 if you have the declaration of 'daylight', and to 0 if you
42    don't. */
43 #define HAVE_DECL_DAYLIGHT 0
44 
45 /* Define to 1 if you have the declaration of 'tzname', and to 0 if you don't.
46    */
47 #define HAVE_DECL_TZNAME 1
48 
49 /* Define to 1 if you have the <dlfcn.h> header file. */
50 #define HAVE_DLFCN_H 1
51 
52 /* Define to 1 if you have the 'dprintf' function. */
53 #define HAVE_DPRINTF 1
54 
55 /* Define to 1 if you have the <err.h> header file. */
56 #define HAVE_ERR_H 1
57 
58 /* Define to 1 if you have the <fcntl.h> header file. */
59 #define HAVE_FCNTL_H 1
60 
61 /* Define to 1 if you have the 'fmtcheck' function. */
62 #define HAVE_FMTCHECK 1
63 
64 /* Define to 1 if you have the 'fork' function. */
65 #define HAVE_FORK 1
66 
67 /* Define to 1 if you have the 'freelocale' function. */
68 #define HAVE_FREELOCALE 1
69 
70 /* Define to 1 if fseeko (and ftello) are declared in stdio.h. */
71 #define HAVE_FSEEKO 1
72 
73 /* Define to 1 if you have the 'getline' function. */
74 #define HAVE_GETLINE 1
75 
76 /* Define to 1 if you have the <getopt.h> header file. */
77 #define HAVE_GETOPT_H 1
78 
79 /* Define to 1 if you have the 'getopt_long' function. */
80 #define HAVE_GETOPT_LONG 1
81 
82 /* Define to 1 if you have the 'getpagesize' function. */
83 #define HAVE_GETPAGESIZE 1
84 
85 /* Define to 1 if you have the 'gmtime_r' function. */
86 #define HAVE_GMTIME_R 1
87 
88 /* Define to 1 if the system has the type 'intptr_t'. */
89 #define HAVE_INTPTR_T 1
90 
91 /* Define to 1 if you have the <inttypes.h> header file. */
92 #define HAVE_INTTYPES_H 1
93 
94 /* Define to 1 if you have the 'bz2' library (-lbz2). */
95 /* #undef HAVE_LIBBZ2 */
96 
97 /* Define to 1 if you have the 'gnurx' library (-lgnurx). */
98 /* #undef HAVE_LIBGNURX */
99 
100 /* Define to 1 if you have the 'lrzip' library (-llrzip). */
101 /* #undef HAVE_LIBLRZIP */
102 
103 /* Define to 1 if you have the 'lz' library (-llz). */
104 /* #undef HAVE_LIBLZ */
105 
106 /* Define to 1 if you have the 'lzma' library (-llzma). */
107 /* #undef HAVE_LIBLZMA */
108 
109 /* Define to 1 if you have the 'seccomp' library (-lseccomp). */
110 /* #undef HAVE_LIBSECCOMP */
111 
112 /* Define to 1 if you have the 'z' library (-lz). */
113 #define HAVE_LIBZ 1
114 
115 /* Define to 1 if you have the 'zstd' library (-lzstd). */
116 /* #undef HAVE_LIBZSTD */
117 
118 /* Define to 1 if you have the 'localtime_r' function. */
119 #define HAVE_LOCALTIME_R 1
120 
121 /* Define to 1 if you have the <Lrzip.h> header file. */
122 /* #undef HAVE_LRZIP_H */
123 
124 /* Define to 1 if you have the <lzlib.h> header file. */
125 /* #undef HAVE_LZLIB_H */
126 
127 /* Define to 1 if you have the <lzma.h> header file. */
128 /* #undef HAVE_LZMA_H */
129 
130 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
131 #define HAVE_MBRTOWC 1
132 
133 /* Define to 1 if <wchar.h> declares mbstate_t. */
134 #define HAVE_MBSTATE_T 1
135 
136 /* Define to 1 if you have the 'memmem' function. */
137 #define HAVE_MEMMEM 1
138 
139 /* Define to 1 if you have the <minix/config.h> header file. */
140 /* #undef HAVE_MINIX_CONFIG_H */
141 
142 /* Define to 1 if you have the 'mkostemp' function. */
143 #define HAVE_MKOSTEMP 1
144 
145 /* Define to 1 if you have the 'mkstemp' function. */
146 #define HAVE_MKSTEMP 1
147 
148 /* Define to 1 if you have a working 'mmap' system call. */
149 #define HAVE_MMAP 1
150 
151 /* Define to 1 if you have the 'newlocale' function. */
152 #define HAVE_NEWLOCALE 1
153 
154 /* Define to 1 if you have the 'pipe2' function. */
155 #ifndef __APPLE__ /* Cross building tools on macOS */
156 #define HAVE_PIPE2 1
157 #endif
158 
159 /* Define to 1 if you have the 'posix_spawnp' function. */
160 #define HAVE_POSIX_SPAWNP 1
161 
162 /* Define to 1 if you have the 'pread' function. */
163 #define HAVE_PREAD 1
164 
165 /* Have sig_t type */
166 #define HAVE_SIG_T 1
167 
168 /* Define to 1 if you have the <spawn.h> header file. */
169 #define HAVE_SPAWN_H 1
170 
171 /* Define to 1 if you have the <stdint.h> header file. */
172 #define HAVE_STDINT_H 1
173 
174 /* Define to 1 if you have the <stdio.h> header file. */
175 #define HAVE_STDIO_H 1
176 
177 /* Define to 1 if you have the <stdlib.h> header file. */
178 #define HAVE_STDLIB_H 1
179 
180 /* Define to 1 if you have the 'strcasestr' function. */
181 #define HAVE_STRCASESTR 1
182 
183 /* Define to 1 if you have the <strings.h> header file. */
184 #define HAVE_STRINGS_H 1
185 
186 /* Define to 1 if you have the <string.h> header file. */
187 #define HAVE_STRING_H 1
188 
189 /* Define to 1 if you have the 'strlcat' function. */
190 #define HAVE_STRLCAT 1
191 
192 /* Define to 1 if you have the 'strlcpy' function. */
193 #define HAVE_STRLCPY 1
194 
195 /* Define to 1 if you have the 'strndup' function. */
196 #define HAVE_STRNDUP 1
197 
198 /* Define to 1 if you have the 'strtof' function. */
199 #define HAVE_STRTOF 1
200 
201 /* HAVE_STRUCT_OPTION */
202 #define HAVE_STRUCT_OPTION 1
203 
204 /* Define to 1 if 'st_rdev' is a member of 'struct stat'. */
205 #define HAVE_STRUCT_STAT_ST_RDEV 1
206 
207 /* Define to 1 if 'tm_gmtoff' is a member of 'struct tm'. */
208 #define HAVE_STRUCT_TM_TM_GMTOFF 1
209 
210 /* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
211 #define HAVE_STRUCT_TM_TM_ZONE 1
212 
213 /* Define to 1 if you have the <sys/bswap.h> header file. */
214 /* #undef HAVE_SYS_BSWAP_H */
215 
216 /* Define to 1 if you have the <sys/ioctl.h> header file. */
217 #define HAVE_SYS_IOCTL_H 1
218 
219 /* Define to 1 if you have the <sys/mman.h> header file. */
220 #define HAVE_SYS_MMAN_H 1
221 
222 /* Define to 1 if you have the <sys/param.h> header file. */
223 #define HAVE_SYS_PARAM_H 1
224 
225 /* Define to 1 if you have the <sys/stat.h> header file. */
226 #define HAVE_SYS_STAT_H 1
227 
228 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
229 /* #undef HAVE_SYS_SYSMACROS_H */
230 
231 /* Define to 1 if you have the <sys/time.h> header file. */
232 #define HAVE_SYS_TIME_H 1
233 
234 /* Define to 1 if you have the <sys/types.h> header file. */
235 #define HAVE_SYS_TYPES_H 1
236 
237 /* Define to 1 if you have the <sys/utime.h> header file. */
238 /* #undef HAVE_SYS_UTIME_H */
239 
240 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
241 #define HAVE_SYS_WAIT_H 1
242 
243 /* HAVE_TM_ISDST */
244 #define HAVE_TM_ISDST 1
245 
246 /* HAVE_TM_ZONE */
247 #define HAVE_TM_ZONE 1
248 
249 /* HAVE_TZNAME */
250 #define HAVE_TZNAME 1
251 
252 /* Define to 1 if the system has the type 'uintptr_t'. */
253 #define HAVE_UINTPTR_T 1
254 
255 /* Define to 1 if you have the <unistd.h> header file. */
256 #define HAVE_UNISTD_H 1
257 
258 /* Define to 1 if you have the 'uselocale' function. */
259 #define HAVE_USELOCALE 1
260 
261 /* Define to 1 if you have the 'utime' function. */
262 #define HAVE_UTIME 1
263 
264 /* Define to 1 if you have the 'utimes' function. */
265 #define HAVE_UTIMES 1
266 
267 /* Define to 1 if you have the <utime.h> header file. */
268 #define HAVE_UTIME_H 1
269 
270 /* Define to 1 if you have the 'vasprintf' function. */
271 #define HAVE_VASPRINTF 1
272 
273 /* Define to 1 if you have the 'vfork' function. */
274 #define HAVE_VFORK 1
275 
276 /* Define to 1 if you have the <vfork.h> header file. */
277 /* #undef HAVE_VFORK_H */
278 
279 /* Define to 1 or 0, depending whether the compiler supports simple visibility
280    declarations. */
281 #define HAVE_VISIBILITY 1
282 
283 /* Define to 1 if you have the <wchar.h> header file. */
284 #define HAVE_WCHAR_H 1
285 
286 /* Define to 1 if you have the <wctype.h> header file. */
287 #define HAVE_WCTYPE_H 1
288 
289 /* Define to 1 if you have the 'wcwidth' function. */
290 #define HAVE_WCWIDTH 1
291 
292 /* Define to 1 if 'fork' works. */
293 #define HAVE_WORKING_FORK 1
294 
295 /* Define to 1 if 'vfork' works. */
296 #define HAVE_WORKING_VFORK 1
297 
298 /* Define to 1 if you have the <xlocale.h> header file. */
299 #ifndef __linux__ /* Cross building tools build with glibc on linux */
300 #define HAVE_XLOCALE_H 1
301 #endif
302 
303 /* Define to 1 if you have the <zlib.h> header file. */
304 #define HAVE_ZLIB_H 1
305 
306 /* Define to 1 if you have the <zstd_errors.h> header file. */
307 /* #undef HAVE_ZSTD_ERRORS_H */
308 
309 /* Define to 1 if you have the <zstd.h> header file. */
310 /* #undef HAVE_ZSTD_H */
311 
312 /* Enable lrziplib compression support */
313 /* #undef LRZIPLIBSUPPORT */
314 
315 /* Define to the sub-directory where libtool stores uninstalled libraries. */
316 #define LT_OBJDIR ".libs/"
317 
318 /* Enable lzlib compression support */
319 /* #undef LZLIBSUPPORT */
320 
321 /* Define to 1 if 'major', 'minor', and 'makedev' are declared in <mkdev.h>.
322    */
323 /* #undef MAJOR_IN_MKDEV */
324 
325 /* Define to 1 if 'major', 'minor', and 'makedev' are declared in
326    <sysmacros.h>. */
327 /* #undef MAJOR_IN_SYSMACROS */
328 
329 /* Name of package */
330 #define PACKAGE "file"
331 
332 /* Define to the address where bug reports for this package should be sent. */
333 #define PACKAGE_BUGREPORT "christos@astron.com"
334 
335 /* Define to the full name of this package. */
336 #define PACKAGE_NAME "file"
337 
338 /* Define to the full name and version of this package. */
339 #define PACKAGE_STRING "file 5.46"
340 
341 /* Define to the one symbol short name of this package. */
342 #define PACKAGE_TARNAME "file"
343 
344 /* Define to the home page for this package. */
345 #define PACKAGE_URL ""
346 
347 /* Define to the version of this package. */
348 #define PACKAGE_VERSION "5.46"
349 
350 /* Define to 1 if all of the C89 standard headers exist (not just the ones
351    required in a freestanding environment). This macro is provided for
352    backward compatibility; new code need not use it. */
353 #define STDC_HEADERS 1
354 
355 /* Define to 1 if your <sys/time.h> declares 'struct tm'. */
356 /* #undef TM_IN_SYS_TIME */
357 
358 /* Enable extensions on AIX, Interix, z/OS.  */
359 #ifndef _ALL_SOURCE
360 # define _ALL_SOURCE 1
361 #endif
362 /* Enable general extensions on macOS.  */
363 #ifndef _DARWIN_C_SOURCE
364 # define _DARWIN_C_SOURCE 1
365 #endif
366 /* Enable general extensions on Solaris.  */
367 #ifndef __EXTENSIONS__
368 # define __EXTENSIONS__ 1
369 #endif
370 /* Enable GNU extensions on systems that have them.  */
371 #ifndef _GNU_SOURCE
372 # define _GNU_SOURCE 1
373 #endif
374 /* Enable X/Open compliant socket functions that do not require linking
375    with -lxnet on HP-UX 11.11.  */
376 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
377 # define _HPUX_ALT_XOPEN_SOCKET_API 1
378 #endif
379 /* Identify the host operating system as Minix.
380    This macro does not affect the system headers' behavior.
381    A future release of Autoconf may stop defining this macro.  */
382 #ifndef _MINIX
383 /* # undef _MINIX */
384 #endif
385 /* Enable general extensions on NetBSD.
386    Enable NetBSD compatibility extensions on Minix.  */
387 #ifndef _NETBSD_SOURCE
388 # define _NETBSD_SOURCE 1
389 #endif
390 /* Enable OpenBSD compatibility extensions on NetBSD.
391    Oddly enough, this does nothing on OpenBSD.  */
392 #ifndef _OPENBSD_SOURCE
393 # define _OPENBSD_SOURCE 1
394 #endif
395 /* Define to 1 if needed for POSIX-compatible behavior.  */
396 #ifndef _POSIX_SOURCE
397 /* # undef _POSIX_SOURCE */
398 #endif
399 /* Define to 2 if needed for POSIX-compatible behavior.  */
400 #ifndef _POSIX_1_SOURCE
401 /* # undef _POSIX_1_SOURCE */
402 #endif
403 /* Enable POSIX-compatible threading on Solaris.  */
404 #ifndef _POSIX_PTHREAD_SEMANTICS
405 # define _POSIX_PTHREAD_SEMANTICS 1
406 #endif
407 /* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
408 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
409 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
410 #endif
411 /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
412 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
413 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
414 #endif
415 /* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
416 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
417 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
418 #endif
419 /* Enable extensions specified by C23 Annex F.  */
420 #ifndef __STDC_WANT_IEC_60559_EXT__
421 # define __STDC_WANT_IEC_60559_EXT__ 1
422 #endif
423 /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
424 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
425 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
426 #endif
427 /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015.  */
428 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
429 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
430 #endif
431 /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
432 #ifndef __STDC_WANT_LIB_EXT2__
433 # define __STDC_WANT_LIB_EXT2__ 1
434 #endif
435 /* Enable extensions specified by ISO/IEC 24747:2009.  */
436 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
437 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
438 #endif
439 /* Enable extensions on HP NonStop.  */
440 #ifndef _TANDEM_SOURCE
441 # define _TANDEM_SOURCE 1
442 #endif
443 /* Enable X/Open extensions.  Define to 500 only if necessary
444    to make mbstate_t available.  */
445 #ifndef _XOPEN_SOURCE
446 /* # undef _XOPEN_SOURCE */
447 #endif
448 
449 
450 /* Version number of package */
451 #define VERSION "5.46"
452 
453 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
454    significant byte first (like Motorola and SPARC, unlike Intel). */
455 #if defined AC_APPLE_UNIVERSAL_BUILD
456 # if defined __BIG_ENDIAN__
457 #  define WORDS_BIGENDIAN 1
458 # endif
459 #else
460 # ifndef WORDS_BIGENDIAN
461 /* #  undef WORDS_BIGENDIAN */
462 # endif
463 #endif
464 
465 /* Enable xzlib compression support */
466 /* #undef XZLIBSUPPORT */
467 
468 /* Enable zlib compression support */
469 #define ZLIBSUPPORT 1
470 
471 /* Enable zstdlib compression support */
472 /* #undef ZSTDLIBSUPPORT */
473 
474 /* Number of bits in a file offset, on hosts where this is settable. */
475 /* #undef _FILE_OFFSET_BITS */
476 
477 /* Define to 1 if necessary to make fseeko visible. */
478 /* #undef _LARGEFILE_SOURCE */
479 
480 /* Define to 1 on platforms where this makes off_t a 64-bit type. */
481 /* #undef _LARGE_FILES */
482 
483 /* Number of bits in time_t, on hosts where this is settable. */
484 /* #undef _TIME_BITS */
485 
486 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
487    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
488    #define below would cause a syntax error. */
489 /* #undef _UINT32_T */
490 
491 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
492    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
493    #define below would cause a syntax error. */
494 /* #undef _UINT64_T */
495 
496 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
497    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
498    #define below would cause a syntax error. */
499 /* #undef _UINT8_T */
500 
501 /* Define to 1 on platforms where this makes time_t a 64-bit type. */
502 /* #undef __MINGW_USE_VC2005_COMPAT */
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 a signed integer type wide enough to hold a pointer,
513    if such a type exists, and if the system does not define it. */
514 /* #undef intptr_t */
515 
516 /* Define to a type if <wchar.h> does not define. */
517 /* #undef mbstate_t */
518 
519 /* Define to 'long int' if <sys/types.h> does not define. */
520 /* #undef off_t */
521 
522 /* Define as a signed integer type capable of holding a process identifier. */
523 /* #undef pid_t */
524 
525 /* Define as 'unsigned int' if <stddef.h> doesn't define. */
526 /* #undef size_t */
527 
528 /* Define to the type of an unsigned integer type of width exactly 16 bits if
529    such a type exists and the standard includes do not define it. */
530 /* #undef uint16_t */
531 
532 /* Define to the type of an unsigned integer type of width exactly 32 bits if
533    such a type exists and the standard includes do not define it. */
534 /* #undef uint32_t */
535 
536 /* Define to the type of an unsigned integer type of width exactly 64 bits if
537    such a type exists and the standard includes do not define it. */
538 /* #undef uint64_t */
539 
540 /* Define to the type of an unsigned integer type of width exactly 8 bits if
541    such a type exists and the standard includes do not define it. */
542 /* #undef uint8_t */
543 
544 /* Define to the type of an unsigned integer type wide enough to hold a
545    pointer, if such a type exists, and if the system does not define it. */
546 /* #undef uintptr_t */
547 
548 /* Define as 'fork' if 'vfork' does not work. */
549 /* #undef vfork */
550