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