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