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