xref: /freebsd/lib/libmagic/config.h (revision 7f8f120439b77e60a1070d87f4dc6cb9a43d0335)
1ef19c627SDavid E. O'Brien /* config.h.  Generated from config.h.in by configure.  */
2ae4ecfffSMarius Strobl /* config.h.in.  Generated from configure.ac by autoheader.  */
320164649SDavid E. O'Brien 
4*7f8f1204SXin LI /* FreeBSD */
5*7f8f1204SXin LI #include <osreldate.h>
6*7f8f1204SXin LI 
7b6cee71dSXin LI /* Define if building universal (internal helper macro) */
8b6cee71dSXin LI /* #undef AC_APPLE_UNIVERSAL_BUILD */
9b6cee71dSXin LI 
10ae4ecfffSMarius Strobl /* Define in built-in ELF support is used */
1120164649SDavid E. O'Brien #define BUILTIN_ELF 1
1220164649SDavid E. O'Brien 
1390266521SXin LI /* Enable bzlib compression support */
1490266521SXin LI /* #undef BZLIBSUPPORT */
1590266521SXin LI 
16ae4ecfffSMarius Strobl /* Define for ELF core file support */
1720164649SDavid E. O'Brien #define ELFCORE 1
1820164649SDavid E. O'Brien 
19ae316d1dSXin LI /* Define to 1 if you have the 'asctime_r' function. */
20b6cee71dSXin LI #define HAVE_ASCTIME_R 1
21b6cee71dSXin LI 
22ae316d1dSXin LI /* Define to 1 if you have the 'asprintf' function. */
237dbb948bSDavid E. O'Brien #define HAVE_ASPRINTF 1
247dbb948bSDavid E. O'Brien 
25a4d6d3b8SXin LI /* Define to 1 if you have the <byteswap.h> header file. */
26ae316d1dSXin LI #ifndef __APPLE__ /* Cross building tools on macOS */
27*7f8f1204SXin LI #if __FreeBSD_version >= 1400079 || (__FreeBSD_version < 1400000 && __FreeBSD_version >= 1302500)
28ae316d1dSXin LI #define HAVE_BYTESWAP_H 1
29ae316d1dSXin LI #endif
30*7f8f1204SXin LI #endif
31a4d6d3b8SXin LI 
3290266521SXin LI /* Define to 1 if you have the <bzlib.h> header file. */
3390266521SXin LI /* #undef HAVE_BZLIB_H */
3490266521SXin LI 
35ae316d1dSXin LI /* Define to 1 if you have the 'ctime_r' function. */
36b6cee71dSXin LI #define HAVE_CTIME_R 1
37b6cee71dSXin LI 
38ae4ecfffSMarius Strobl /* HAVE_DAYLIGHT */
3920164649SDavid E. O'Brien /* #undef HAVE_DAYLIGHT */
4020164649SDavid E. O'Brien 
41ae316d1dSXin LI /* Define to 1 if you have the declaration of 'daylight', and to 0 if you
4280c86c36SDavid E. O'Brien    don't. */
4380c86c36SDavid E. O'Brien #define HAVE_DECL_DAYLIGHT 0
4480c86c36SDavid E. O'Brien 
45ae316d1dSXin LI /* Define to 1 if you have the declaration of 'tzname', and to 0 if you don't.
4680c86c36SDavid E. O'Brien    */
4780c86c36SDavid E. O'Brien #define HAVE_DECL_TZNAME 1
4880c86c36SDavid E. O'Brien 
49b3f1b4a2SDavid E. O'Brien /* Define to 1 if you have the <dlfcn.h> header file. */
50b3f1b4a2SDavid E. O'Brien #define HAVE_DLFCN_H 1
5120164649SDavid E. O'Brien 
52ae316d1dSXin LI /* Define to 1 if you have the 'dprintf' function. */
533e41d09dSXin LI #define HAVE_DPRINTF 1
543e41d09dSXin LI 
557dbb948bSDavid E. O'Brien /* Define to 1 if you have the <err.h> header file. */
567dbb948bSDavid E. O'Brien #define HAVE_ERR_H 1
577dbb948bSDavid E. O'Brien 
5820164649SDavid E. O'Brien /* Define to 1 if you have the <fcntl.h> header file. */
5920164649SDavid E. O'Brien #define HAVE_FCNTL_H 1
6020164649SDavid E. O'Brien 
61ae316d1dSXin LI /* Define to 1 if you have the 'fmtcheck' function. */
62b6cee71dSXin LI #define HAVE_FMTCHECK 1
63b6cee71dSXin LI 
64ae316d1dSXin LI /* Define to 1 if you have the 'fork' function. */
6580c86c36SDavid E. O'Brien #define HAVE_FORK 1
6680c86c36SDavid E. O'Brien 
67ae316d1dSXin LI /* Define to 1 if you have the 'freelocale' function. */
68c2931133SXin LI #define HAVE_FREELOCALE 1
69c2931133SXin LI 
70ae316d1dSXin LI /* Define to 1 if fseeko (and ftello) are declared in stdio.h. */
717dbb948bSDavid E. O'Brien #define HAVE_FSEEKO 1
727dbb948bSDavid E. O'Brien 
73ae316d1dSXin LI /* Define to 1 if you have the 'getline' function. */
7480c86c36SDavid E. O'Brien #define HAVE_GETLINE 1
7580c86c36SDavid E. O'Brien 
7620164649SDavid E. O'Brien /* Define to 1 if you have the <getopt.h> header file. */
7720164649SDavid E. O'Brien #define HAVE_GETOPT_H 1
7820164649SDavid E. O'Brien 
79ae316d1dSXin LI /* Define to 1 if you have the 'getopt_long' function. */
8020164649SDavid E. O'Brien #define HAVE_GETOPT_LONG 1
8120164649SDavid E. O'Brien 
82ae316d1dSXin LI /* Define to 1 if you have the 'getpagesize' function. */
83b6cee71dSXin LI #define HAVE_GETPAGESIZE 1
847dbb948bSDavid E. O'Brien 
85ae316d1dSXin LI /* Define to 1 if you have the 'gmtime_r' function. */
865f0216bdSXin LI #define HAVE_GMTIME_R 1
875f0216bdSXin LI 
88ae316d1dSXin LI /* Define to 1 if the system has the type 'intptr_t'. */
89b6cee71dSXin LI #define HAVE_INTPTR_T 1
907dbb948bSDavid E. O'Brien 
9120164649SDavid E. O'Brien /* Define to 1 if you have the <inttypes.h> header file. */
9220164649SDavid E. O'Brien #define HAVE_INTTYPES_H 1
9320164649SDavid E. O'Brien 
94ae316d1dSXin LI /* Define to 1 if you have the 'bz2' library (-lbz2). */
9590266521SXin LI /* #undef HAVE_LIBBZ2 */
9690266521SXin LI 
97ae316d1dSXin LI /* Define to 1 if you have the 'gnurx' library (-lgnurx). */
9880c86c36SDavid E. O'Brien /* #undef HAVE_LIBGNURX */
9980c86c36SDavid E. O'Brien 
100ae316d1dSXin LI /* Define to 1 if you have the 'lrzip' library (-llrzip). */
101ae316d1dSXin LI /* #undef HAVE_LIBLRZIP */
102ae316d1dSXin LI 
103ae316d1dSXin LI /* Define to 1 if you have the 'lz' library (-llz). */
104898496eeSXin LI /* #undef HAVE_LIBLZ */
105898496eeSXin LI 
106ae316d1dSXin LI /* Define to 1 if you have the 'lzma' library (-llzma). */
10790266521SXin LI /* #undef HAVE_LIBLZMA */
10890266521SXin LI 
109ae316d1dSXin LI /* Define to 1 if you have the 'seccomp' library (-lseccomp). */
11048c779cdSXin LI /* #undef HAVE_LIBSECCOMP */
11148c779cdSXin LI 
112ae316d1dSXin LI /* Define to 1 if you have the 'z' library (-lz). */
11320164649SDavid E. O'Brien #define HAVE_LIBZ 1
11420164649SDavid E. O'Brien 
115ae316d1dSXin LI /* Define to 1 if you have the 'zstd' library (-lzstd). */
116898496eeSXin LI /* #undef HAVE_LIBZSTD */
117898496eeSXin LI 
118ae316d1dSXin LI /* Define to 1 if you have the 'localtime_r' function. */
1195f0216bdSXin LI #define HAVE_LOCALTIME_R 1
1205f0216bdSXin LI 
121ae316d1dSXin LI /* Define to 1 if you have the <Lrzip.h> header file. */
122ae316d1dSXin LI /* #undef HAVE_LRZIP_H */
123ae316d1dSXin LI 
124898496eeSXin LI /* Define to 1 if you have the <lzlib.h> header file. */
125898496eeSXin LI /* #undef HAVE_LZLIB_H */
126898496eeSXin LI 
12790266521SXin LI /* Define to 1 if you have the <lzma.h> header file. */
12890266521SXin LI /* #undef HAVE_LZMA_H */
12990266521SXin LI 
130b6cee71dSXin LI /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
13120164649SDavid E. O'Brien #define HAVE_MBRTOWC 1
13220164649SDavid E. O'Brien 
133b3f1b4a2SDavid E. O'Brien /* Define to 1 if <wchar.h> declares mbstate_t. */
134b3f1b4a2SDavid E. O'Brien #define HAVE_MBSTATE_T 1
135b3f1b4a2SDavid E. O'Brien 
136ae316d1dSXin LI /* Define to 1 if you have the 'memmem' function. */
13748c779cdSXin LI #define HAVE_MEMMEM 1
13848c779cdSXin LI 
139a2dfb722SXin LI /* Define to 1 if you have the <minix/config.h> header file. */
140a2dfb722SXin LI /* #undef HAVE_MINIX_CONFIG_H */
14120164649SDavid E. O'Brien 
142ae316d1dSXin LI /* Define to 1 if you have the 'mkostemp' function. */
143b6cee71dSXin LI #define HAVE_MKOSTEMP 1
144b6cee71dSXin LI 
145ae316d1dSXin LI /* Define to 1 if you have the 'mkstemp' function. */
14620164649SDavid E. O'Brien #define HAVE_MKSTEMP 1
14720164649SDavid E. O'Brien 
148ae316d1dSXin LI /* Define to 1 if you have a working 'mmap' system call. */
14920164649SDavid E. O'Brien #define HAVE_MMAP 1
15020164649SDavid E. O'Brien 
151ae316d1dSXin LI /* Define to 1 if you have the 'newlocale' function. */
152c2931133SXin LI #define HAVE_NEWLOCALE 1
153c2931133SXin LI 
154ae316d1dSXin LI /* Define to 1 if you have the 'pipe2' function. */
155f5ccb3a3SJose Luis Duran #ifndef __APPLE__ /* Cross building tools on macOS */
15643a5ec4eSXin LI #define HAVE_PIPE2 1
157f5ccb3a3SJose Luis Duran #endif
15843a5ec4eSXin LI 
159ae316d1dSXin LI /* Define to 1 if you have the 'posix_spawnp' function. */
160a4d6d3b8SXin LI #define HAVE_POSIX_SPAWNP 1
161a4d6d3b8SXin LI 
162ae316d1dSXin LI /* Define to 1 if you have the 'pread' function. */
163b6cee71dSXin LI #define HAVE_PREAD 1
164b6cee71dSXin LI 
1655f0216bdSXin LI /* Have sig_t type */
1665f0216bdSXin LI #define HAVE_SIG_T 1
1675f0216bdSXin LI 
168a4d6d3b8SXin LI /* Define to 1 if you have the <spawn.h> header file. */
169a4d6d3b8SXin LI #define HAVE_SPAWN_H 1
170a4d6d3b8SXin LI 
17120164649SDavid E. O'Brien /* Define to 1 if you have the <stdint.h> header file. */
17220164649SDavid E. O'Brien #define HAVE_STDINT_H 1
17320164649SDavid E. O'Brien 
174a2dfb722SXin LI /* Define to 1 if you have the <stdio.h> header file. */
175a2dfb722SXin LI #define HAVE_STDIO_H 1
176a2dfb722SXin LI 
17720164649SDavid E. O'Brien /* Define to 1 if you have the <stdlib.h> header file. */
17820164649SDavid E. O'Brien #define HAVE_STDLIB_H 1
17920164649SDavid E. O'Brien 
180ae316d1dSXin LI /* Define to 1 if you have the 'strcasestr' function. */
181b6cee71dSXin LI #define HAVE_STRCASESTR 1
182b6cee71dSXin LI 
18320164649SDavid E. O'Brien /* Define to 1 if you have the <strings.h> header file. */
18420164649SDavid E. O'Brien #define HAVE_STRINGS_H 1
18520164649SDavid E. O'Brien 
18620164649SDavid E. O'Brien /* Define to 1 if you have the <string.h> header file. */
18720164649SDavid E. O'Brien #define HAVE_STRING_H 1
18820164649SDavid E. O'Brien 
189ae316d1dSXin LI /* Define to 1 if you have the 'strlcat' function. */
1907dbb948bSDavid E. O'Brien #define HAVE_STRLCAT 1
1917dbb948bSDavid E. O'Brien 
192ae316d1dSXin LI /* Define to 1 if you have the 'strlcpy' function. */
1937dbb948bSDavid E. O'Brien #define HAVE_STRLCPY 1
1947dbb948bSDavid E. O'Brien 
195ae316d1dSXin LI /* Define to 1 if you have the 'strndup' function. */
19620e76cb3SKonstantin Belousov #define HAVE_STRNDUP 1
197a90b38c0SDavid E. O'Brien 
198ae316d1dSXin LI /* Define to 1 if you have the 'strtof' function. */
199ef19c627SDavid E. O'Brien #define HAVE_STRTOF 1
200ef19c627SDavid E. O'Brien 
201ae4ecfffSMarius Strobl /* HAVE_STRUCT_OPTION */
202ae4ecfffSMarius Strobl #define HAVE_STRUCT_OPTION 1
203ae4ecfffSMarius Strobl 
204ae316d1dSXin LI /* Define to 1 if 'st_rdev' is a member of 'struct stat'. */
20520164649SDavid E. O'Brien #define HAVE_STRUCT_STAT_ST_RDEV 1
20620164649SDavid E. O'Brien 
207ae316d1dSXin LI /* Define to 1 if 'tm_gmtoff' is a member of 'struct tm'. */
2087dbb948bSDavid E. O'Brien #define HAVE_STRUCT_TM_TM_GMTOFF 1
2097dbb948bSDavid E. O'Brien 
210ae316d1dSXin LI /* Define to 1 if 'tm_zone' is a member of 'struct tm'. */
2117dbb948bSDavid E. O'Brien #define HAVE_STRUCT_TM_TM_ZONE 1
2127dbb948bSDavid E. O'Brien 
213a4d6d3b8SXin LI /* Define to 1 if you have the <sys/bswap.h> header file. */
214a4d6d3b8SXin LI /* #undef HAVE_SYS_BSWAP_H */
215a4d6d3b8SXin LI 
216a4d6d3b8SXin LI /* Define to 1 if you have the <sys/ioctl.h> header file. */
217a4d6d3b8SXin LI #define HAVE_SYS_IOCTL_H 1
218a4d6d3b8SXin LI 
21920164649SDavid E. O'Brien /* Define to 1 if you have the <sys/mman.h> header file. */
22020164649SDavid E. O'Brien #define HAVE_SYS_MMAN_H 1
22120164649SDavid E. O'Brien 
222b6cee71dSXin LI /* Define to 1 if you have the <sys/param.h> header file. */
223b6cee71dSXin LI #define HAVE_SYS_PARAM_H 1
224b6cee71dSXin LI 
22520164649SDavid E. O'Brien /* Define to 1 if you have the <sys/stat.h> header file. */
22620164649SDavid E. O'Brien #define HAVE_SYS_STAT_H 1
22720164649SDavid E. O'Brien 
22848c779cdSXin LI /* Define to 1 if you have the <sys/sysmacros.h> header file. */
22948c779cdSXin LI /* #undef HAVE_SYS_SYSMACROS_H */
23048c779cdSXin LI 
231a90b38c0SDavid E. O'Brien /* Define to 1 if you have the <sys/time.h> header file. */
232a90b38c0SDavid E. O'Brien #define HAVE_SYS_TIME_H 1
233a90b38c0SDavid E. O'Brien 
23420164649SDavid E. O'Brien /* Define to 1 if you have the <sys/types.h> header file. */
23520164649SDavid E. O'Brien #define HAVE_SYS_TYPES_H 1
23620164649SDavid E. O'Brien 
23720164649SDavid E. O'Brien /* Define to 1 if you have the <sys/utime.h> header file. */
23820164649SDavid E. O'Brien /* #undef HAVE_SYS_UTIME_H */
23920164649SDavid E. O'Brien 
24020164649SDavid E. O'Brien /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
24120164649SDavid E. O'Brien #define HAVE_SYS_WAIT_H 1
24220164649SDavid E. O'Brien 
243ae4ecfffSMarius Strobl /* HAVE_TM_ISDST */
244b3f1b4a2SDavid E. O'Brien #define HAVE_TM_ISDST 1
245b3f1b4a2SDavid E. O'Brien 
24620164649SDavid E. O'Brien /* HAVE_TM_ZONE */
24720164649SDavid E. O'Brien #define HAVE_TM_ZONE 1
24820164649SDavid E. O'Brien 
24920164649SDavid E. O'Brien /* HAVE_TZNAME */
25020164649SDavid E. O'Brien #define HAVE_TZNAME 1
25120164649SDavid E. O'Brien 
252ae316d1dSXin LI /* Define to 1 if the system has the type 'uintptr_t'. */
253b6cee71dSXin LI #define HAVE_UINTPTR_T 1
2547dbb948bSDavid E. O'Brien 
25520164649SDavid E. O'Brien /* Define to 1 if you have the <unistd.h> header file. */
25620164649SDavid E. O'Brien #define HAVE_UNISTD_H 1
25720164649SDavid E. O'Brien 
258ae316d1dSXin LI /* Define to 1 if you have the 'uselocale' function. */
259c2931133SXin LI #define HAVE_USELOCALE 1
260c2931133SXin LI 
261ae316d1dSXin LI /* Define to 1 if you have the 'utime' function. */
26220164649SDavid E. O'Brien #define HAVE_UTIME 1
26320164649SDavid E. O'Brien 
264ae316d1dSXin LI /* Define to 1 if you have the 'utimes' function. */
26520164649SDavid E. O'Brien #define HAVE_UTIMES 1
26620164649SDavid E. O'Brien 
26720164649SDavid E. O'Brien /* Define to 1 if you have the <utime.h> header file. */
26820164649SDavid E. O'Brien #define HAVE_UTIME_H 1
26920164649SDavid E. O'Brien 
270ae316d1dSXin LI /* Define to 1 if you have the 'vasprintf' function. */
2717dbb948bSDavid E. O'Brien #define HAVE_VASPRINTF 1
2727dbb948bSDavid E. O'Brien 
273ae316d1dSXin LI /* Define to 1 if you have the 'vfork' function. */
274b6cee71dSXin LI #define HAVE_VFORK 1
275b6cee71dSXin LI 
276b6cee71dSXin LI /* Define to 1 if you have the <vfork.h> header file. */
277b6cee71dSXin LI /* #undef HAVE_VFORK_H */
278b6cee71dSXin LI 
279b6cee71dSXin LI /* Define to 1 or 0, depending whether the compiler supports simple visibility
280b6cee71dSXin LI    declarations. */
281b6cee71dSXin LI #define HAVE_VISIBILITY 1
282b6cee71dSXin LI 
28320164649SDavid E. O'Brien /* Define to 1 if you have the <wchar.h> header file. */
28420164649SDavid E. O'Brien #define HAVE_WCHAR_H 1
28520164649SDavid E. O'Brien 
286a90b38c0SDavid E. O'Brien /* Define to 1 if you have the <wctype.h> header file. */
287a90b38c0SDavid E. O'Brien #define HAVE_WCTYPE_H 1
288a90b38c0SDavid E. O'Brien 
289ae316d1dSXin LI /* Define to 1 if you have the 'wcwidth' function. */
29020164649SDavid E. O'Brien #define HAVE_WCWIDTH 1
29120164649SDavid E. O'Brien 
292ae316d1dSXin LI /* Define to 1 if 'fork' works. */
293b6cee71dSXin LI #define HAVE_WORKING_FORK 1
294b6cee71dSXin LI 
295ae316d1dSXin LI /* Define to 1 if 'vfork' works. */
296b6cee71dSXin LI #define HAVE_WORKING_VFORK 1
297b6cee71dSXin LI 
298c2931133SXin LI /* Define to 1 if you have the <xlocale.h> header file. */
299f3d7ace4SWarner Losh #ifndef __linux__ /* Cross building tools build with glibc on linux */
300c2931133SXin LI #define HAVE_XLOCALE_H 1
301f3d7ace4SWarner Losh #endif
302c2931133SXin LI 
303ef19c627SDavid E. O'Brien /* Define to 1 if you have the <zlib.h> header file. */
304ef19c627SDavid E. O'Brien #define HAVE_ZLIB_H 1
305ef19c627SDavid E. O'Brien 
306898496eeSXin LI /* Define to 1 if you have the <zstd_errors.h> header file. */
307898496eeSXin LI /* #undef HAVE_ZSTD_ERRORS_H */
308898496eeSXin LI 
309898496eeSXin LI /* Define to 1 if you have the <zstd.h> header file. */
310898496eeSXin LI /* #undef HAVE_ZSTD_H */
311898496eeSXin LI 
312ae316d1dSXin LI /* Enable lrziplib compression support */
313ae316d1dSXin LI /* #undef LRZIPLIBSUPPORT */
314ae316d1dSXin LI 
315d38c30c0SXin LI /* Define to the sub-directory where libtool stores uninstalled libraries. */
31680c86c36SDavid E. O'Brien #define LT_OBJDIR ".libs/"
31780c86c36SDavid E. O'Brien 
318898496eeSXin LI /* Enable lzlib compression support */
319898496eeSXin LI /* #undef LZLIBSUPPORT */
320898496eeSXin LI 
321ae316d1dSXin LI /* Define to 1 if 'major', 'minor', and 'makedev' are declared in <mkdev.h>.
32220164649SDavid E. O'Brien    */
32320164649SDavid E. O'Brien /* #undef MAJOR_IN_MKDEV */
32420164649SDavid E. O'Brien 
325ae316d1dSXin LI /* Define to 1 if 'major', 'minor', and 'makedev' are declared in
32620164649SDavid E. O'Brien    <sysmacros.h>. */
32720164649SDavid E. O'Brien /* #undef MAJOR_IN_SYSMACROS */
32820164649SDavid E. O'Brien 
32920164649SDavid E. O'Brien /* Name of package */
33020164649SDavid E. O'Brien #define PACKAGE "file"
33120164649SDavid E. O'Brien 
33220164649SDavid E. O'Brien /* Define to the address where bug reports for this package should be sent. */
333ae4ecfffSMarius Strobl #define PACKAGE_BUGREPORT "christos@astron.com"
33420164649SDavid E. O'Brien 
33520164649SDavid E. O'Brien /* Define to the full name of this package. */
336ae4ecfffSMarius Strobl #define PACKAGE_NAME "file"
33720164649SDavid E. O'Brien 
33820164649SDavid E. O'Brien /* Define to the full name and version of this package. */
339ae316d1dSXin LI #define PACKAGE_STRING "file 5.46"
34020164649SDavid E. O'Brien 
34120164649SDavid E. O'Brien /* Define to the one symbol short name of this package. */
342ae4ecfffSMarius Strobl #define PACKAGE_TARNAME "file"
34320164649SDavid E. O'Brien 
34480c86c36SDavid E. O'Brien /* Define to the home page for this package. */
34580c86c36SDavid E. O'Brien #define PACKAGE_URL ""
34680c86c36SDavid E. O'Brien 
34720164649SDavid E. O'Brien /* Define to the version of this package. */
348ae316d1dSXin LI #define PACKAGE_VERSION "5.46"
349b3f1b4a2SDavid E. O'Brien 
350ae316d1dSXin LI /* Define to 1 if all of the C89 standard headers exist (not just the ones
351a2dfb722SXin LI    required in a freestanding environment). This macro is provided for
352a2dfb722SXin LI    backward compatibility; new code need not use it. */
35320164649SDavid E. O'Brien #define STDC_HEADERS 1
35420164649SDavid E. O'Brien 
355ae316d1dSXin LI /* Define to 1 if your <sys/time.h> declares 'struct tm'. */
35620164649SDavid E. O'Brien /* #undef TM_IN_SYS_TIME */
35720164649SDavid E. O'Brien 
358ae316d1dSXin LI /* Enable extensions on AIX, Interix, z/OS.  */
35980c86c36SDavid E. O'Brien #ifndef _ALL_SOURCE
36080c86c36SDavid E. O'Brien # define _ALL_SOURCE 1
36180c86c36SDavid E. O'Brien #endif
362a2dfb722SXin LI /* Enable general extensions on macOS.  */
363a2dfb722SXin LI #ifndef _DARWIN_C_SOURCE
364a2dfb722SXin LI # define _DARWIN_C_SOURCE 1
36580c86c36SDavid E. O'Brien #endif
36680c86c36SDavid E. O'Brien /* Enable general extensions on Solaris.  */
36780c86c36SDavid E. O'Brien #ifndef __EXTENSIONS__
36880c86c36SDavid E. O'Brien # define __EXTENSIONS__ 1
36980c86c36SDavid E. O'Brien #endif
370a2dfb722SXin LI /* Enable GNU extensions on systems that have them.  */
371a2dfb722SXin LI #ifndef _GNU_SOURCE
372a2dfb722SXin LI # define _GNU_SOURCE 1
373a2dfb722SXin LI #endif
374a2dfb722SXin LI /* Enable X/Open compliant socket functions that do not require linking
375a2dfb722SXin LI    with -lxnet on HP-UX 11.11.  */
376a2dfb722SXin LI #ifndef _HPUX_ALT_XOPEN_SOCKET_API
377a2dfb722SXin LI # define _HPUX_ALT_XOPEN_SOCKET_API 1
378a2dfb722SXin LI #endif
379a2dfb722SXin LI /* Identify the host operating system as Minix.
380a2dfb722SXin LI    This macro does not affect the system headers' behavior.
381a2dfb722SXin LI    A future release of Autoconf may stop defining this macro.  */
382a2dfb722SXin LI #ifndef _MINIX
383a2dfb722SXin LI /* # undef _MINIX */
384a2dfb722SXin LI #endif
385a2dfb722SXin LI /* Enable general extensions on NetBSD.
386a2dfb722SXin LI    Enable NetBSD compatibility extensions on Minix.  */
387a2dfb722SXin LI #ifndef _NETBSD_SOURCE
388a2dfb722SXin LI # define _NETBSD_SOURCE 1
389a2dfb722SXin LI #endif
390a2dfb722SXin LI /* Enable OpenBSD compatibility extensions on NetBSD.
391a2dfb722SXin LI    Oddly enough, this does nothing on OpenBSD.  */
392a2dfb722SXin LI #ifndef _OPENBSD_SOURCE
393a2dfb722SXin LI # define _OPENBSD_SOURCE 1
394a2dfb722SXin LI #endif
395a2dfb722SXin LI /* Define to 1 if needed for POSIX-compatible behavior.  */
396a2dfb722SXin LI #ifndef _POSIX_SOURCE
397a2dfb722SXin LI /* # undef _POSIX_SOURCE */
398a2dfb722SXin LI #endif
399a2dfb722SXin LI /* Define to 2 if needed for POSIX-compatible behavior.  */
400a2dfb722SXin LI #ifndef _POSIX_1_SOURCE
401a2dfb722SXin LI /* # undef _POSIX_1_SOURCE */
402a2dfb722SXin LI #endif
403a2dfb722SXin LI /* Enable POSIX-compatible threading on Solaris.  */
404a2dfb722SXin LI #ifndef _POSIX_PTHREAD_SEMANTICS
405a2dfb722SXin LI # define _POSIX_PTHREAD_SEMANTICS 1
406a2dfb722SXin LI #endif
407a2dfb722SXin LI /* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
408a2dfb722SXin LI #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
409a2dfb722SXin LI # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
410a2dfb722SXin LI #endif
411a2dfb722SXin LI /* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
412a2dfb722SXin LI #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
413a2dfb722SXin LI # define __STDC_WANT_IEC_60559_BFP_EXT__ 1
414a2dfb722SXin LI #endif
415a2dfb722SXin LI /* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
416a2dfb722SXin LI #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
417a2dfb722SXin LI # define __STDC_WANT_IEC_60559_DFP_EXT__ 1
418a2dfb722SXin LI #endif
419ae316d1dSXin LI /* Enable extensions specified by C23 Annex F.  */
420ae316d1dSXin LI #ifndef __STDC_WANT_IEC_60559_EXT__
421ae316d1dSXin LI # define __STDC_WANT_IEC_60559_EXT__ 1
422ae316d1dSXin LI #endif
423a2dfb722SXin LI /* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
424a2dfb722SXin LI #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
425a2dfb722SXin LI # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
426a2dfb722SXin LI #endif
427ae316d1dSXin LI /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015.  */
428a2dfb722SXin LI #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
429a2dfb722SXin LI # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
430a2dfb722SXin LI #endif
431a2dfb722SXin LI /* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
432a2dfb722SXin LI #ifndef __STDC_WANT_LIB_EXT2__
433a2dfb722SXin LI # define __STDC_WANT_LIB_EXT2__ 1
434a2dfb722SXin LI #endif
435a2dfb722SXin LI /* Enable extensions specified by ISO/IEC 24747:2009.  */
436a2dfb722SXin LI #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
437a2dfb722SXin LI # define __STDC_WANT_MATH_SPEC_FUNCS__ 1
438a2dfb722SXin LI #endif
439a2dfb722SXin LI /* Enable extensions on HP NonStop.  */
440a2dfb722SXin LI #ifndef _TANDEM_SOURCE
441a2dfb722SXin LI # define _TANDEM_SOURCE 1
442a2dfb722SXin LI #endif
443a2dfb722SXin LI /* Enable X/Open extensions.  Define to 500 only if necessary
444a2dfb722SXin LI    to make mbstate_t available.  */
445a2dfb722SXin LI #ifndef _XOPEN_SOURCE
446a2dfb722SXin LI /* # undef _XOPEN_SOURCE */
447a2dfb722SXin LI #endif
44880c86c36SDavid E. O'Brien 
44980c86c36SDavid E. O'Brien 
45080c86c36SDavid E. O'Brien /* Version number of package */
451ae316d1dSXin LI #define VERSION "5.46"
452b6cee71dSXin LI 
453b6cee71dSXin LI /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
454b6cee71dSXin LI    significant byte first (like Motorola and SPARC, unlike Intel). */
455b6cee71dSXin LI #if defined AC_APPLE_UNIVERSAL_BUILD
456b6cee71dSXin LI # if defined __BIG_ENDIAN__
457b6cee71dSXin LI #  define WORDS_BIGENDIAN 1
458b6cee71dSXin LI # endif
459b6cee71dSXin LI #else
460b6cee71dSXin LI # ifndef WORDS_BIGENDIAN
461b6cee71dSXin LI /* #  undef WORDS_BIGENDIAN */
462b6cee71dSXin LI # endif
463b6cee71dSXin LI #endif
464b6cee71dSXin LI 
46590266521SXin LI /* Enable xzlib compression support */
46690266521SXin LI /* #undef XZLIBSUPPORT */
46790266521SXin LI 
468282e23f0SXin LI /* Enable zlib compression support */
469282e23f0SXin LI #define ZLIBSUPPORT 1
470282e23f0SXin LI 
471898496eeSXin LI /* Enable zstdlib compression support */
472898496eeSXin LI /* #undef ZSTDLIBSUPPORT */
473898496eeSXin LI 
47480c86c36SDavid E. O'Brien /* Number of bits in a file offset, on hosts where this is settable. */
47580c86c36SDavid E. O'Brien /* #undef _FILE_OFFSET_BITS */
476ef19c627SDavid E. O'Brien 
477ae316d1dSXin LI /* Define to 1 if necessary to make fseeko visible. */
478ae4ecfffSMarius Strobl /* #undef _LARGEFILE_SOURCE */
479ae4ecfffSMarius Strobl 
480ae316d1dSXin LI /* Define to 1 on platforms where this makes off_t a 64-bit type. */
48120164649SDavid E. O'Brien /* #undef _LARGE_FILES */
48220164649SDavid E. O'Brien 
483ae316d1dSXin LI /* Number of bits in time_t, on hosts where this is settable. */
484ae316d1dSXin LI /* #undef _TIME_BITS */
485ae316d1dSXin LI 
486b6cee71dSXin LI /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
487b6cee71dSXin LI    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
488b6cee71dSXin LI    #define below would cause a syntax error. */
489b6cee71dSXin LI /* #undef _UINT32_T */
490b6cee71dSXin LI 
491b6cee71dSXin LI /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
492b6cee71dSXin LI    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
493b6cee71dSXin LI    #define below would cause a syntax error. */
494b6cee71dSXin LI /* #undef _UINT64_T */
495b6cee71dSXin LI 
496b6cee71dSXin LI /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
497b6cee71dSXin LI    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
498b6cee71dSXin LI    #define below would cause a syntax error. */
499b6cee71dSXin LI /* #undef _UINT8_T */
500b6cee71dSXin LI 
501ae316d1dSXin LI /* Define to 1 on platforms where this makes time_t a 64-bit type. */
502ae316d1dSXin LI /* #undef __MINGW_USE_VC2005_COMPAT */
503ae316d1dSXin LI 
504b6cee71dSXin LI /* Define to the type of a signed integer type of width exactly 32 bits if
505b6cee71dSXin LI    such a type exists and the standard includes do not define it. */
506b6cee71dSXin LI /* #undef int32_t */
507b6cee71dSXin LI 
508b6cee71dSXin LI /* Define to the type of a signed integer type of width exactly 64 bits if
509b6cee71dSXin LI    such a type exists and the standard includes do not define it. */
510b6cee71dSXin LI /* #undef int64_t */
511b6cee71dSXin LI 
512b6cee71dSXin LI /* Define to the type of a signed integer type wide enough to hold a pointer,
513b6cee71dSXin LI    if such a type exists, and if the system does not define it. */
514b6cee71dSXin LI /* #undef intptr_t */
515b6cee71dSXin LI 
516ae4ecfffSMarius Strobl /* Define to a type if <wchar.h> does not define. */
517ae4ecfffSMarius Strobl /* #undef mbstate_t */
518ae4ecfffSMarius Strobl 
519ae316d1dSXin LI /* Define to 'long int' if <sys/types.h> does not define. */
520ae4ecfffSMarius Strobl /* #undef off_t */
521ae4ecfffSMarius Strobl 
522a2dfb722SXin LI /* Define as a signed integer type capable of holding a process identifier. */
523b6cee71dSXin LI /* #undef pid_t */
524b6cee71dSXin LI 
525ae316d1dSXin LI /* Define as 'unsigned int' if <stddef.h> doesn't define. */
526ae4ecfffSMarius Strobl /* #undef size_t */
527ae4ecfffSMarius Strobl 
528b6cee71dSXin LI /* Define to the type of an unsigned integer type of width exactly 16 bits if
529b6cee71dSXin LI    such a type exists and the standard includes do not define it. */
530b6cee71dSXin LI /* #undef uint16_t */
531ae4ecfffSMarius Strobl 
532b6cee71dSXin LI /* Define to the type of an unsigned integer type of width exactly 32 bits if
533b6cee71dSXin LI    such a type exists and the standard includes do not define it. */
534b6cee71dSXin LI /* #undef uint32_t */
535ae4ecfffSMarius Strobl 
536b6cee71dSXin LI /* Define to the type of an unsigned integer type of width exactly 64 bits if
537b6cee71dSXin LI    such a type exists and the standard includes do not define it. */
538b6cee71dSXin LI /* #undef uint64_t */
539b6cee71dSXin LI 
540b6cee71dSXin LI /* Define to the type of an unsigned integer type of width exactly 8 bits if
541b6cee71dSXin LI    such a type exists and the standard includes do not define it. */
542b6cee71dSXin LI /* #undef uint8_t */
543b6cee71dSXin LI 
544b6cee71dSXin LI /* Define to the type of an unsigned integer type wide enough to hold a
545b6cee71dSXin LI    pointer, if such a type exists, and if the system does not define it. */
546b6cee71dSXin LI /* #undef uintptr_t */
547b6cee71dSXin LI 
548ae316d1dSXin LI /* Define as 'fork' if 'vfork' does not work. */
549b6cee71dSXin LI /* #undef vfork */
550