xref: /dragonfly/lib/libmagic/libmagic/config.h (revision b97fef05)
1 /* config.h.  Generated from config.h.in by configure.  */
2 /* config.h.in.  Generated from configure.ac by autoheader.  */
3 
4 #include <sys/param.h>
5 
6 /* Define if building universal (internal helper macro) */
7 /* #undef AC_APPLE_UNIVERSAL_BUILD */
8 
9 /* Define in built-in ELF support is used */
10 #define BUILTIN_ELF 1
11 
12 /* Enable bzlib compression support */
13 #define BZLIBSUPPORT 1
14 
15 /* Define for ELF core file support */
16 #define ELFCORE 1
17 
18 /* Define to 1 if you have the `asctime_r' function. */
19 #define HAVE_ASCTIME_R 1
20 
21 /* Define to 1 if you have the `asprintf' function. */
22 #define HAVE_ASPRINTF 1
23 
24 /* Define to 1 if you have the <byteswap.h> header file. */
25 #if __DragonFly_version >= 500908
26 #define HAVE_BYTESWAP_H 1
27 #endif
28 
29 /* Define to 1 if you have the <bzlib.h> header file. */
30 #define HAVE_BZLIB_H 1
31 
32 /* Define to 1 if you have the `ctime_r' function. */
33 #define HAVE_CTIME_R 1
34 
35 /* HAVE_DAYLIGHT */
36 #define HAVE_DAYLIGHT 1
37 
38 /* Define to 1 if you have the declaration of `daylight', and to 0 if you
39    don't. */
40 #define HAVE_DECL_DAYLIGHT 1
41 
42 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
43    */
44 #define HAVE_DECL_TZNAME 1
45 
46 /* Define to 1 if you have the <dlfcn.h> header file. */
47 #define HAVE_DLFCN_H 1
48 
49 /* Define to 1 if you have the `dprintf' function. */
50 #define HAVE_DPRINTF 1
51 
52 /* Define to 1 if you have the <err.h> header file. */
53 #define HAVE_ERR_H 1
54 
55 /* Define to 1 if you have the <fcntl.h> header file. */
56 #define HAVE_FCNTL_H 1
57 
58 /* Define to 1 if you have the `fmtcheck' function. */
59 #define HAVE_FMTCHECK 1
60 
61 /* Define to 1 if you have the `fork' function. */
62 #define HAVE_FORK 1
63 
64 /* Define to 1 if you have the `freelocale' function. */
65 #define HAVE_FREELOCALE 1
66 
67 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
68 #define HAVE_FSEEKO 1
69 
70 /* Define to 1 if you have the `getline' function. */
71 #define HAVE_GETLINE 1
72 
73 /* Define to 1 if you have the <getopt.h> header file. */
74 #define HAVE_GETOPT_H 1
75 
76 /* Define to 1 if you have the `getopt_long' function. */
77 #define HAVE_GETOPT_LONG 1
78 
79 /* Define to 1 if you have the `getpagesize' function. */
80 #define HAVE_GETPAGESIZE 1
81 
82 /* Define to 1 if you have the `gmtime_r' function. */
83 #define HAVE_GMTIME_R 1
84 
85 /* Define to 1 if the system has the type `intptr_t'. */
86 #define HAVE_INTPTR_T 1
87 
88 /* Define to 1 if you have the <inttypes.h> header file. */
89 #define HAVE_INTTYPES_H 1
90 
91 /* Define to 1 if you have the `bz2' library (-lbz2). */
92 #define HAVE_LIBBZ2 1
93 
94 /* Define to 1 if you have the `gnurx' library (-lgnurx). */
95 /* #undef HAVE_LIBGNURX */
96 
97 /* Define to 1 if you have the `lzma' library (-llzma). */
98 #define HAVE_LIBLZMA 1
99 
100 /* Define to 1 if you have the `seccomp' library (-lseccomp). */
101 /* #undef HAVE_LIBSECCOMP */
102 
103 /* Define to 1 if you have the `z' library (-lz). */
104 #define HAVE_LIBZ 1
105 
106 /* Define to 1 if you have the `localtime_r' function. */
107 #define HAVE_LOCALTIME_R 1
108 
109 /* Define to 1 if you have the <lzma.h> header file. */
110 #define HAVE_LZMA_H 1
111 
112 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
113 #define HAVE_MBRTOWC 1
114 
115 /* Define to 1 if <wchar.h> declares mbstate_t. */
116 #define HAVE_MBSTATE_T 1
117 
118 /* Define to 1 if you have the `memmem' function. */
119 #define HAVE_MEMMEM 1
120 
121 /* Define to 1 if you have the <minix/config.h> header file. */
122 /* #undef HAVE_MINIX_CONFIG_H */
123 
124 /* Define to 1 if you have the `mkostemp' function. */
125 #define HAVE_MKOSTEMP 1
126 
127 /* Define to 1 if you have the `mkstemp' function. */
128 #define HAVE_MKSTEMP 1
129 
130 /* Define to 1 if you have a working `mmap' system call. */
131 #define HAVE_MMAP 1
132 
133 /* Define to 1 if you have the `newlocale' function. */
134 #define HAVE_NEWLOCALE 1
135 
136 /* Define to 1 if you have the `pipe2' function. */
137 #define HAVE_PIPE2 1
138 
139 /* Define to 1 if you have the `posix_spawnp' function. */
140 #define HAVE_POSIX_SPAWNP 1
141 
142 /* Define to 1 if you have the `pread' function. */
143 #define HAVE_PREAD 1
144 
145 /* Have sig_t type */
146 #define HAVE_SIG_T 1
147 
148 /* Define to 1 if you have the <spawn.h> header file. */
149 #define HAVE_SPAWN_H 1
150 
151 /* Define to 1 if you have the <stdint.h> header file. */
152 #define HAVE_STDINT_H 1
153 
154 /* Define to 1 if you have the <stdio.h> header file. */
155 #define HAVE_STDIO_H 1
156 
157 /* Define to 1 if you have the <stdlib.h> header file. */
158 #define HAVE_STDLIB_H 1
159 
160 /* Define to 1 if you have the `strcasestr' function. */
161 #define HAVE_STRCASESTR 1
162 
163 /* Define to 1 if you have the <strings.h> header file. */
164 #define HAVE_STRINGS_H 1
165 
166 /* Define to 1 if you have the <string.h> header file. */
167 #define HAVE_STRING_H 1
168 
169 /* Define to 1 if you have the `strlcat' function. */
170 #define HAVE_STRLCAT 1
171 
172 /* Define to 1 if you have the `strlcpy' function. */
173 #define HAVE_STRLCPY 1
174 
175 /* Define to 1 if you have the `strndup' function. */
176 #define HAVE_STRNDUP 1
177 
178 /* Define to 1 if you have the `strtof' function. */
179 #define HAVE_STRTOF 1
180 
181 /* HAVE_STRUCT_OPTION */
182 #define HAVE_STRUCT_OPTION 1
183 
184 /* Define to 1 if `st_rdev' is a member of `struct stat'. */
185 #define HAVE_STRUCT_STAT_ST_RDEV 1
186 
187 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
188 #define HAVE_STRUCT_TM_TM_GMTOFF 1
189 
190 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
191 #define HAVE_STRUCT_TM_TM_ZONE 1
192 
193 /* Define to 1 if you have the <sys/bswap.h> header file. */
194 /* #undef HAVE_SYS_BSWAP_H */
195 
196 /* Define to 1 if you have the <sys/ioctl.h> header file. */
197 #define HAVE_SYS_IOCTL_H 1
198 
199 /* Define to 1 if you have the <sys/mman.h> header file. */
200 #define HAVE_SYS_MMAN_H 1
201 
202 /* Define to 1 if you have the <sys/param.h> header file. */
203 #define HAVE_SYS_PARAM_H 1
204 
205 /* Define to 1 if you have the <sys/stat.h> header file. */
206 #define HAVE_SYS_STAT_H 1
207 
208 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
209 /* #undef HAVE_SYS_SYSMACROS_H */
210 
211 /* Define to 1 if you have the <sys/time.h> header file. */
212 #define HAVE_SYS_TIME_H 1
213 
214 /* Define to 1 if you have the <sys/types.h> header file. */
215 #define HAVE_SYS_TYPES_H 1
216 
217 /* Define to 1 if you have the <sys/utime.h> header file. */
218 /* #undef HAVE_SYS_UTIME_H */
219 
220 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
221 #define HAVE_SYS_WAIT_H 1
222 
223 /* HAVE_TM_ISDST */
224 #define HAVE_TM_ISDST 1
225 
226 /* HAVE_TM_ZONE */
227 #define HAVE_TM_ZONE 1
228 
229 /* HAVE_TZNAME */
230 #define HAVE_TZNAME 1
231 
232 /* Define to 1 if the system has the type `uintptr_t'. */
233 #define HAVE_UINTPTR_T 1
234 
235 /* Define to 1 if you have the <unistd.h> header file. */
236 #define HAVE_UNISTD_H 1
237 
238 /* Define to 1 if you have the `uselocale' function. */
239 #define HAVE_USELOCALE 1
240 
241 /* Define to 1 if you have the `utime' function. */
242 #define HAVE_UTIME 1
243 
244 /* Define to 1 if you have the `utimes' function. */
245 #define HAVE_UTIMES 1
246 
247 /* Define to 1 if you have the <utime.h> header file. */
248 #define HAVE_UTIME_H 1
249 
250 /* Define to 1 if you have the `vasprintf' function. */
251 #define HAVE_VASPRINTF 1
252 
253 /* Define to 1 if you have the `vfork' function. */
254 #define HAVE_VFORK 1
255 
256 /* Define to 1 if you have the <vfork.h> header file. */
257 /* #undef HAVE_VFORK_H */
258 
259 /* Define to 1 or 0, depending whether the compiler supports simple visibility
260    declarations. */
261 #define HAVE_VISIBILITY 1
262 
263 /* Define to 1 if you have the <wchar.h> header file. */
264 #define HAVE_WCHAR_H 1
265 
266 /* Define to 1 if you have the <wctype.h> header file. */
267 #define HAVE_WCTYPE_H 1
268 
269 /* Define to 1 if you have the `wcwidth' function. */
270 #define HAVE_WCWIDTH 1
271 
272 /* Define to 1 if `fork' works. */
273 #define HAVE_WORKING_FORK 1
274 
275 /* Define to 1 if `vfork' works. */
276 #define HAVE_WORKING_VFORK 1
277 
278 /* Define to 1 if you have the <xlocale.h> header file. */
279 #define HAVE_XLOCALE_H 1
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 #define XZLIBSUPPORT 1
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