xref: /freebsd/lib/libmagic/config.h (revision a259b98fa211ed87bfee58c575de4e2de94ee0fa)
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 <limits.h> header file. */
119 #define HAVE_LIMITS_H 1
120 
121 /* Define to 1 if you have the <linux/landlock.h> header file. */
122 /* #undef HAVE_LINUX_LANDLOCK_H */
123 
124 /* Define to 1 if you have the 'localtime_r' function. */
125 #define HAVE_LOCALTIME_R 1
126 
127 /* Define to 1 if you have the <Lrzip.h> header file. */
128 /* #undef HAVE_LRZIP_H */
129 
130 /* Define to 1 if you have the <lzlib.h> header file. */
131 /* #undef HAVE_LZLIB_H */
132 
133 /* Define to 1 if you have the <lzma.h> header file. */
134 /* #undef HAVE_LZMA_H */
135 
136 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
137 #define HAVE_MBRTOWC 1
138 
139 /* Define to 1 if <wchar.h> declares mbstate_t. */
140 #define HAVE_MBSTATE_T 1
141 
142 /* Define to 1 if you have the 'memmem' function. */
143 #define HAVE_MEMMEM 1
144 
145 /* Define to 1 if you have the <minix/config.h> header file. */
146 /* #undef HAVE_MINIX_CONFIG_H */
147 
148 /* Define to 1 if you have the 'mkostemp' function. */
149 #define HAVE_MKOSTEMP 1
150 
151 /* Define to 1 if you have the 'mkstemp' function. */
152 #define HAVE_MKSTEMP 1
153 
154 /* Define to 1 if you have a working 'mmap' system call. */
155 #define HAVE_MMAP 1
156 
157 /* Define to 1 if you have the 'newlocale' function. */
158 #define HAVE_NEWLOCALE 1
159 
160 /* Define to 1 if you have the 'pipe2' function. */
161 #ifndef __APPLE__ /* Cross building tools on macOS */
162 #define HAVE_PIPE2 1
163 #endif
164 
165 /* Define to 1 if you have the 'posix_spawnp' function. */
166 #define HAVE_POSIX_SPAWNP 1
167 
168 /* Define to 1 if you have the 'pread' function. */
169 #define HAVE_PREAD 1
170 
171 /* Have sig_t type */
172 #define HAVE_SIG_T 1
173 
174 /* Define to 1 if you have the <spawn.h> header file. */
175 #define HAVE_SPAWN_H 1
176 
177 /* Define to 1 if you have the <stdint.h> header file. */
178 #define HAVE_STDINT_H 1
179 
180 /* Define to 1 if you have the <stdio.h> header file. */
181 #define HAVE_STDIO_H 1
182 
183 /* Define to 1 if you have the <stdlib.h> header file. */
184 #define HAVE_STDLIB_H 1
185 
186 /* Define to 1 if you have the 'strcasestr' function. */
187 #define HAVE_STRCASESTR 1
188 
189 /* Define to 1 if you have the <strings.h> header file. */
190 #define HAVE_STRINGS_H 1
191 
192 /* Define to 1 if you have the <string.h> header file. */
193 #define HAVE_STRING_H 1
194 
195 /* Define to 1 if you have the 'strlcat' function. */
196 #define HAVE_STRLCAT 1
197 
198 /* Define to 1 if you have the 'strlcpy' function. */
199 #define HAVE_STRLCPY 1
200 
201 /* Define to 1 if you have the 'strndup' function. */
202 #define HAVE_STRNDUP 1
203 
204 /* Define to 1 if you have the 'strtof' function. */
205 #define HAVE_STRTOF 1
206 
207 /* HAVE_STRUCT_OPTION */
208 #define HAVE_STRUCT_OPTION 1
209 
210 /* Define to 1 if 'st_rdev' is a member of 'struct stat'. */
211 #define HAVE_STRUCT_STAT_ST_RDEV 1
212 
213 /* Define to 1 if 'tm_gmtoff' is a member of 'struct tm'. */
214 #define HAVE_STRUCT_TM_TM_GMTOFF 1
215 
216 /* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
217 #define HAVE_STRUCT_TM_TM_ZONE 1
218 
219 /* Define to 1 if you have the <sys/bswap.h> header file. */
220 /* #undef HAVE_SYS_BSWAP_H */
221 
222 /* Define to 1 if you have the <sys/ioctl.h> header file. */
223 #define HAVE_SYS_IOCTL_H 1
224 
225 /* Define to 1 if you have the <sys/mman.h> header file. */
226 #define HAVE_SYS_MMAN_H 1
227 
228 /* Define to 1 if you have the <sys/param.h> header file. */
229 #define HAVE_SYS_PARAM_H 1
230 
231 /* Define to 1 if you have the <sys/stat.h> header file. */
232 #define HAVE_SYS_STAT_H 1
233 
234 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
235 /* #undef HAVE_SYS_SYSMACROS_H */
236 
237 /* Define to 1 if you have the <sys/time.h> header file. */
238 #define HAVE_SYS_TIME_H 1
239 
240 /* Define to 1 if you have the <sys/types.h> header file. */
241 #define HAVE_SYS_TYPES_H 1
242 
243 /* Define to 1 if you have the <sys/utime.h> header file. */
244 /* #undef HAVE_SYS_UTIME_H */
245 
246 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
247 #define HAVE_SYS_WAIT_H 1
248 
249 /* HAVE_TM_ISDST */
250 #define HAVE_TM_ISDST 1
251 
252 /* HAVE_TM_ZONE */
253 #define HAVE_TM_ZONE 1
254 
255 /* HAVE_TZNAME */
256 #define HAVE_TZNAME 1
257 
258 /* Define to 1 if the system has the type 'uintptr_t'. */
259 #define HAVE_UINTPTR_T 1
260 
261 /* Define to 1 if you have the <unistd.h> header file. */
262 #define HAVE_UNISTD_H 1
263 
264 /* Define to 1 if you have the 'uselocale' function. */
265 #define HAVE_USELOCALE 1
266 
267 /* Define to 1 if you have the 'utime' function. */
268 #define HAVE_UTIME 1
269 
270 /* Define to 1 if you have the 'utimes' function. */
271 #define HAVE_UTIMES 1
272 
273 /* Define to 1 if you have the <utime.h> header file. */
274 #define HAVE_UTIME_H 1
275 
276 /* Define to 1 if you have the 'vasprintf' function. */
277 #define HAVE_VASPRINTF 1
278 
279 /* Define to 1 if you have the 'vfork' function. */
280 #define HAVE_VFORK 1
281 
282 /* Define to 1 if you have the <vfork.h> header file. */
283 /* #undef HAVE_VFORK_H */
284 
285 /* Define to 1 or 0, depending whether the compiler supports simple visibility
286    declarations. */
287 #define HAVE_VISIBILITY 1
288 
289 /* Define to 1 if you have the <wchar.h> header file. */
290 #define HAVE_WCHAR_H 1
291 
292 /* Define to 1 if you have the <wctype.h> header file. */
293 #define HAVE_WCTYPE_H 1
294 
295 /* Define to 1 if you have the 'wcwidth' function. */
296 #define HAVE_WCWIDTH 1
297 
298 /* Define to 1 if 'fork' works. */
299 #define HAVE_WORKING_FORK 1
300 
301 /* Define to 1 if 'vfork' works. */
302 #define HAVE_WORKING_VFORK 1
303 
304 /* Define to 1 if you have the <xlocale.h> header file. */
305 #ifndef __linux__ /* Cross building tools build with glibc on linux */
306 #define HAVE_XLOCALE_H 1
307 #endif
308 
309 /* Define to 1 if you have the <zlib.h> header file. */
310 #define HAVE_ZLIB_H 1
311 
312 /* Define to 1 if you have the <zstd_errors.h> header file. */
313 /* #undef HAVE_ZSTD_ERRORS_H */
314 
315 /* Define to 1 if you have the <zstd.h> header file. */
316 /* #undef HAVE_ZSTD_H */
317 
318 /* Enable lrziplib compression support */
319 /* #undef LRZIPLIBSUPPORT */
320 
321 /* Define to the sub-directory where libtool stores uninstalled libraries. */
322 #define LT_OBJDIR ".libs/"
323 
324 /* Enable lzlib compression support */
325 /* #undef LZLIBSUPPORT */
326 
327 /* Define to 1 if 'major', 'minor', and 'makedev' are declared in <mkdev.h>.
328    */
329 /* #undef MAJOR_IN_MKDEV */
330 
331 /* Define to 1 if 'major', 'minor', and 'makedev' are declared in
332    <sysmacros.h>. */
333 /* #undef MAJOR_IN_SYSMACROS */
334 
335 /* Name of package */
336 #define PACKAGE "file"
337 
338 /* Define to the address where bug reports for this package should be sent. */
339 #define PACKAGE_BUGREPORT "christos@astron.com"
340 
341 /* Define to the full name of this package. */
342 #define PACKAGE_NAME "file"
343 
344 /* Define to the full name and version of this package. */
345 #define PACKAGE_STRING "file 5.48"
346 
347 /* Define to the one symbol short name of this package. */
348 #define PACKAGE_TARNAME "file"
349 
350 /* Define to the home page for this package. */
351 #define PACKAGE_URL ""
352 
353 /* Define to the version of this package. */
354 #define PACKAGE_VERSION "5.48"
355 
356 /* Define to 1 if all of the C89 standard headers exist (not just the ones
357    required in a freestanding environment). This macro is provided for
358    backward compatibility; new code need not use it. */
359 #define STDC_HEADERS 1
360 
361 /* Define to 1 if your <sys/time.h> declares 'struct tm'. */
362 /* #undef TM_IN_SYS_TIME */
363 
364 /* Enable extensions on AIX, Interix, z/OS.  */
365 #ifndef _ALL_SOURCE
366 # define _ALL_SOURCE 1
367 #endif
368 /* Enable general extensions on macOS.  */
369 #ifndef _DARWIN_C_SOURCE
370 # define _DARWIN_C_SOURCE 1
371 #endif
372 /* Enable general extensions on Solaris.  */
373 #ifndef __EXTENSIONS__
374 # define __EXTENSIONS__ 1
375 #endif
376 /* Enable GNU extensions on systems that have them.  */
377 #ifndef _GNU_SOURCE
378 # define _GNU_SOURCE 1
379 #endif
380 /* Enable X/Open compliant socket functions that do not require linking
381    with -lxnet on HP-UX 11.11.  */
382 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
383 # define _HPUX_ALT_XOPEN_SOCKET_API 1
384 #endif
385 /* Identify the host operating system as Minix.
386    This macro does not affect the system headers' behavior.
387    A future release of Autoconf may stop defining this macro.  */
388 #ifndef _MINIX
389 /* # undef _MINIX */
390 #endif
391 /* Enable general extensions on NetBSD.
392    Enable NetBSD compatibility extensions on Minix.  */
393 #ifndef _NETBSD_SOURCE
394 # define _NETBSD_SOURCE 1
395 #endif
396 /* Enable OpenBSD compatibility extensions on NetBSD.
397    Oddly enough, this does nothing on OpenBSD.  */
398 #ifndef _OPENBSD_SOURCE
399 # define _OPENBSD_SOURCE 1
400 #endif
401 /* Define to 1 if needed for POSIX-compatible behavior.  */
402 #ifndef _POSIX_SOURCE
403 /* # undef _POSIX_SOURCE */
404 #endif
405 /* Define to 2 if needed for POSIX-compatible behavior.  */
406 #ifndef _POSIX_1_SOURCE
407 /* # undef _POSIX_1_SOURCE */
408 #endif
409 /* Enable POSIX-compatible threading on Solaris.  */
410 #ifndef _POSIX_PTHREAD_SEMANTICS
411 # define _POSIX_PTHREAD_SEMANTICS 1
412 #endif
413 /* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
414 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
415 # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
416 #endif
417 /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
418 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
419 # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
420 #endif
421 /* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
422 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
423 # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
424 #endif
425 /* Enable extensions specified by C23 Annex F.  */
426 #ifndef __STDC_WANT_IEC_60559_EXT__
427 # define __STDC_WANT_IEC_60559_EXT__ 1
428 #endif
429 /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
430 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
431 # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
432 #endif
433 /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015.  */
434 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
435 # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
436 #endif
437 /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
438 #ifndef __STDC_WANT_LIB_EXT2__
439 # define __STDC_WANT_LIB_EXT2__ 1
440 #endif
441 /* Enable extensions specified by ISO/IEC 24747:2009.  */
442 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
443 # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
444 #endif
445 /* Enable extensions on HP NonStop.  */
446 #ifndef _TANDEM_SOURCE
447 # define _TANDEM_SOURCE 1
448 #endif
449 /* Enable X/Open extensions.  Define to 500 only if necessary
450    to make mbstate_t available.  */
451 #ifndef _XOPEN_SOURCE
452 /* # undef _XOPEN_SOURCE */
453 #endif
454 
455 
456 /* Version number of package */
457 #define VERSION "5.48"
458 
459 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
460    significant byte first (like Motorola and SPARC, unlike Intel). */
461 #if defined AC_APPLE_UNIVERSAL_BUILD
462 # if defined __BIG_ENDIAN__
463 #  define WORDS_BIGENDIAN 1
464 # endif
465 #else
466 # ifndef WORDS_BIGENDIAN
467 /* #  undef WORDS_BIGENDIAN */
468 # endif
469 #endif
470 
471 /* Enable xzlib compression support */
472 /* #undef XZLIBSUPPORT */
473 
474 /* Enable zlib compression support */
475 #define ZLIBSUPPORT 1
476 
477 /* Enable zstdlib compression support */
478 /* #undef ZSTDLIBSUPPORT */
479 
480 /* Number of bits in a file offset, on hosts where this is settable. */
481 /* #undef _FILE_OFFSET_BITS */
482 
483 /* Define to 1 if necessary to make fseeko visible. */
484 /* #undef _LARGEFILE_SOURCE */
485 
486 /* Define to 1 on platforms where this makes off_t a 64-bit type. */
487 /* #undef _LARGE_FILES */
488 
489 /* Number of bits in time_t, on hosts where this is settable. */
490 /* #undef _TIME_BITS */
491 
492 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
493    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
494    #define below would cause a syntax error. */
495 /* #undef _UINT32_T */
496 
497 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
498    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
499    #define below would cause a syntax error. */
500 /* #undef _UINT64_T */
501 
502 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
503    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
504    #define below would cause a syntax error. */
505 /* #undef _UINT8_T */
506 
507 /* Define to 1 on platforms where this makes time_t a 64-bit type. */
508 /* #undef __MINGW_USE_VC2005_COMPAT */
509 
510 /* Define to the type of a signed integer type of width exactly 32 bits if
511    such a type exists and the standard includes do not define it. */
512 /* #undef int32_t */
513 
514 /* Define to the type of a signed integer type of width exactly 64 bits if
515    such a type exists and the standard includes do not define it. */
516 /* #undef int64_t */
517 
518 /* Define to the type of a signed integer type wide enough to hold a pointer,
519    if such a type exists, and if the system does not define it. */
520 /* #undef intptr_t */
521 
522 /* Define to a type if <wchar.h> does not define. */
523 /* #undef mbstate_t */
524 
525 /* Define to 'long int' if <sys/types.h> does not define. */
526 /* #undef off_t */
527 
528 /* Define as a signed integer type capable of holding a process identifier. */
529 /* #undef pid_t */
530 
531 /* Define as 'unsigned int' if <stddef.h> doesn't define. */
532 /* #undef size_t */
533 
534 /* Define to the type of an unsigned integer type of width exactly 16 bits if
535    such a type exists and the standard includes do not define it. */
536 /* #undef uint16_t */
537 
538 /* Define to the type of an unsigned integer type of width exactly 32 bits if
539    such a type exists and the standard includes do not define it. */
540 /* #undef uint32_t */
541 
542 /* Define to the type of an unsigned integer type of width exactly 64 bits if
543    such a type exists and the standard includes do not define it. */
544 /* #undef uint64_t */
545 
546 /* Define to the type of an unsigned integer type of width exactly 8 bits if
547    such a type exists and the standard includes do not define it. */
548 /* #undef uint8_t */
549 
550 /* Define to the type of an unsigned integer type wide enough to hold a
551    pointer, if such a type exists, and if the system does not define it. */
552 /* #undef uintptr_t */
553 
554 /* Define as 'fork' if 'vfork' does not work. */
555 /* #undef vfork */
556