1133362Sobrien/* $FreeBSD$ */
2133362Sobrien
3284194Sdelphij/* Get __FreeBSD_version. */
4284194Sdelphij#include <osreldate.h>
5284194Sdelphij
6284194Sdelphij/* Only specific versions of FreeBSD support xlocale */
7284194Sdelphij#if __FreeBSD_version >= 1000002 || (__FreeBSD_version < 1000000 && __FreeBSD_version >= 900506)
8284194Sdelphij#define FREEBSD_XLOCALE_SUPPORT 1
9284194Sdelphij#endif
10284194Sdelphij
11175299Sobrien/* config.h.  Generated from config.h.in by configure.  */
12208341Smarius/* config.h.in.  Generated from configure.ac by autoheader.  */
13133362Sobrien
14284194Sdelphij/* Define if building universal (internal helper macro) */
15284194Sdelphij/* #undef AC_APPLE_UNIVERSAL_BUILD */
16284194Sdelphij
17208341Smarius/* Define in built-in ELF support is used */
18133362Sobrien#define BUILTIN_ELF 1
19133362Sobrien
20208341Smarius/* Define for ELF core file support */
21133362Sobrien#define ELFCORE 1
22133362Sobrien
23284194Sdelphij/* Define to 1 if you have the `asctime_r' function. */
24284194Sdelphij#define HAVE_ASCTIME_R 1
25284194Sdelphij
26191771Sobrien/* Define to 1 if you have the `asprintf' function. */
27191771Sobrien#define HAVE_ASPRINTF 1
28191771Sobrien
29284194Sdelphij/* Define to 1 if you have the `ctime_r' function. */
30284194Sdelphij#define HAVE_CTIME_R 1
31284194Sdelphij
32208341Smarius/* HAVE_DAYLIGHT */
33133362Sobrien/* #undef HAVE_DAYLIGHT */
34133362Sobrien
35237983Sobrien/* Define to 1 if you have the declaration of `daylight', and to 0 if you
36237983Sobrien   don't. */
37237983Sobrien#define HAVE_DECL_DAYLIGHT 0
38237983Sobrien
39237983Sobrien/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
40237983Sobrien   */
41237983Sobrien#define HAVE_DECL_TZNAME 1
42237983Sobrien
43159769Sobrien/* Define to 1 if you have the <dlfcn.h> header file. */
44159769Sobrien#define HAVE_DLFCN_H 1
45133362Sobrien
46191771Sobrien/* Define to 1 if you have the <err.h> header file. */
47191771Sobrien#define HAVE_ERR_H 1
48191771Sobrien
49133362Sobrien/* Define to 1 if you have the <fcntl.h> header file. */
50133362Sobrien#define HAVE_FCNTL_H 1
51133362Sobrien
52284194Sdelphij/* Define to 1 if you have the `fmtcheck' function. */
53284194Sdelphij#define HAVE_FMTCHECK 1
54284194Sdelphij
55237983Sobrien/* Define to 1 if you have the `fork' function. */
56237983Sobrien#define HAVE_FORK 1
57237983Sobrien
58284194Sdelphij/* Define to 1 if you have the `freelocale' function. */
59284194Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
60284194Sdelphij#define HAVE_FREELOCALE 1
61284194Sdelphij#endif
62284194Sdelphij
63191771Sobrien/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
64191771Sobrien#define HAVE_FSEEKO 1
65191771Sobrien
66237983Sobrien/* Define to 1 if you have the `getline' function. */
67240157Smckay#ifndef HOSTPROG
68237983Sobrien#define HAVE_GETLINE 1
69240157Smckay#endif
70237983Sobrien
71133362Sobrien/* Define to 1 if you have the <getopt.h> header file. */
72133362Sobrien#define HAVE_GETOPT_H 1
73133362Sobrien
74133362Sobrien/* Define to 1 if you have the `getopt_long' function. */
75133362Sobrien#define HAVE_GETOPT_LONG 1
76133362Sobrien
77284194Sdelphij/* Define to 1 if you have the `getpagesize' function. */
78284194Sdelphij#define HAVE_GETPAGESIZE 1
79191771Sobrien
80284194Sdelphij/* Define to 1 if the system has the type `intptr_t'. */
81284194Sdelphij#define HAVE_INTPTR_T 1
82191771Sobrien
83133362Sobrien/* Define to 1 if you have the <inttypes.h> header file. */
84133362Sobrien#define HAVE_INTTYPES_H 1
85133362Sobrien
86237983Sobrien/* Define to 1 if you have the `gnurx' library (-lgnurx). */
87237983Sobrien/* #undef HAVE_LIBGNURX */
88237983Sobrien
89133362Sobrien/* Define to 1 if you have the `z' library (-lz). */
90133362Sobrien#define HAVE_LIBZ 1
91133362Sobrien
92169967Sobrien/* Define to 1 if you have the <limits.h> header file. */
93169967Sobrien#define HAVE_LIMITS_H 1
94169967Sobrien
95133362Sobrien/* Define to 1 if you have the <locale.h> header file. */
96133362Sobrien#define HAVE_LOCALE_H 1
97133362Sobrien
98284194Sdelphij/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
99133362Sobrien#define HAVE_MBRTOWC 1
100133362Sobrien
101159769Sobrien/* Define to 1 if <wchar.h> declares mbstate_t. */
102159769Sobrien#define HAVE_MBSTATE_T 1
103159769Sobrien
104133362Sobrien/* Define to 1 if you have the <memory.h> header file. */
105133362Sobrien#define HAVE_MEMORY_H 1
106133362Sobrien
107284194Sdelphij/* Define to 1 if you have the `mkostemp' function. */
108284194Sdelphij#define HAVE_MKOSTEMP 1
109284194Sdelphij
110133362Sobrien/* Define to 1 if you have the `mkstemp' function. */
111133362Sobrien#define HAVE_MKSTEMP 1
112133362Sobrien
113284194Sdelphij/* Define to 1 if you have a working `mmap' system call. */
114133362Sobrien#define HAVE_MMAP 1
115133362Sobrien
116284194Sdelphij/* Define to 1 if you have the `newlocale' function. */
117284194Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
118284194Sdelphij#define HAVE_NEWLOCALE 1
119284194Sdelphij#endif
120237983Sobrien
121284194Sdelphij/* Define to 1 if you have the `pread' function. */
122284194Sdelphij#define HAVE_PREAD 1
123284194Sdelphij
124284194Sdelphij/* Define to 1 if you have the `setlocale' function. */
125284194Sdelphij#define HAVE_SETLOCALE 1
126284194Sdelphij
127284194Sdelphij/* Define to 1 if you have the <stddef.h> header file. */
128284194Sdelphij#define HAVE_STDDEF_H 1
129284194Sdelphij
130133362Sobrien/* Define to 1 if you have the <stdint.h> header file. */
131133362Sobrien#define HAVE_STDINT_H 1
132133362Sobrien
133133362Sobrien/* Define to 1 if you have the <stdlib.h> header file. */
134133362Sobrien#define HAVE_STDLIB_H 1
135133362Sobrien
136284194Sdelphij/* Define to 1 if you have the `strcasestr' function. */
137284194Sdelphij#define HAVE_STRCASESTR 1
138284194Sdelphij
139133362Sobrien/* Define to 1 if you have the `strerror' function. */
140133362Sobrien#define HAVE_STRERROR 1
141133362Sobrien
142133362Sobrien/* Define to 1 if you have the <strings.h> header file. */
143133362Sobrien#define HAVE_STRINGS_H 1
144133362Sobrien
145133362Sobrien/* Define to 1 if you have the <string.h> header file. */
146133362Sobrien#define HAVE_STRING_H 1
147133362Sobrien
148191771Sobrien/* Define to 1 if you have the `strlcat' function. */
149191771Sobrien#define HAVE_STRLCAT 1
150191771Sobrien
151191771Sobrien/* Define to 1 if you have the `strlcpy' function. */
152191771Sobrien#define HAVE_STRLCPY 1
153191771Sobrien
154169946Sobrien/* Define to 1 if you have the `strndup' function. */
155185777Skib#define HAVE_STRNDUP 1
156169946Sobrien
157175299Sobrien/* Define to 1 if you have the `strtof' function. */
158175299Sobrien#define HAVE_STRTOF 1
159175299Sobrien
160133362Sobrien/* Define to 1 if you have the `strtoul' function. */
161133362Sobrien#define HAVE_STRTOUL 1
162133362Sobrien
163208341Smarius/* HAVE_STRUCT_OPTION */
164208341Smarius#define HAVE_STRUCT_OPTION 1
165208341Smarius
166237983Sobrien/* Define to 1 if `st_rdev' is a member of `struct stat'. */
167133362Sobrien#define HAVE_STRUCT_STAT_ST_RDEV 1
168133362Sobrien
169237983Sobrien/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
170191771Sobrien#define HAVE_STRUCT_TM_TM_GMTOFF 1
171191771Sobrien
172237983Sobrien/* Define to 1 if `tm_zone' is a member of `struct tm'. */
173191771Sobrien#define HAVE_STRUCT_TM_TM_ZONE 1
174191771Sobrien
175133362Sobrien/* Define to 1 if you have the <sys/mman.h> header file. */
176133362Sobrien#define HAVE_SYS_MMAN_H 1
177133362Sobrien
178284194Sdelphij/* Define to 1 if you have the <sys/param.h> header file. */
179284194Sdelphij#define HAVE_SYS_PARAM_H 1
180284194Sdelphij
181133362Sobrien/* Define to 1 if you have the <sys/stat.h> header file. */
182133362Sobrien#define HAVE_SYS_STAT_H 1
183133362Sobrien
184169946Sobrien/* Define to 1 if you have the <sys/time.h> header file. */
185169946Sobrien#define HAVE_SYS_TIME_H 1
186169946Sobrien
187133362Sobrien/* Define to 1 if you have the <sys/types.h> header file. */
188133362Sobrien#define HAVE_SYS_TYPES_H 1
189133362Sobrien
190133362Sobrien/* Define to 1 if you have the <sys/utime.h> header file. */
191133362Sobrien/* #undef HAVE_SYS_UTIME_H */
192133362Sobrien
193133362Sobrien/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
194133362Sobrien#define HAVE_SYS_WAIT_H 1
195133362Sobrien
196208341Smarius/* HAVE_TM_ISDST */
197159769Sobrien#define HAVE_TM_ISDST 1
198159769Sobrien
199133362Sobrien/* HAVE_TM_ZONE */
200133362Sobrien#define HAVE_TM_ZONE 1
201133362Sobrien
202133362Sobrien/* HAVE_TZNAME */
203133362Sobrien#define HAVE_TZNAME 1
204133362Sobrien
205284194Sdelphij/* Define to 1 if the system has the type `uintptr_t'. */
206284194Sdelphij#define HAVE_UINTPTR_T 1
207191771Sobrien
208133362Sobrien/* Define to 1 if you have the <unistd.h> header file. */
209133362Sobrien#define HAVE_UNISTD_H 1
210133362Sobrien
211284194Sdelphij/* Define to 1 if you have the `uselocale' function. */
212284194Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
213284194Sdelphij#define HAVE_USELOCALE 1
214284194Sdelphij#endif
215284194Sdelphij
216133362Sobrien/* Define to 1 if you have the `utime' function. */
217133362Sobrien#define HAVE_UTIME 1
218133362Sobrien
219133362Sobrien/* Define to 1 if you have the `utimes' function. */
220133362Sobrien#define HAVE_UTIMES 1
221133362Sobrien
222133362Sobrien/* Define to 1 if you have the <utime.h> header file. */
223133362Sobrien#define HAVE_UTIME_H 1
224133362Sobrien
225191771Sobrien/* Define to 1 if you have the `vasprintf' function. */
226191771Sobrien#define HAVE_VASPRINTF 1
227191771Sobrien
228284194Sdelphij/* Define to 1 if you have the `vfork' function. */
229284194Sdelphij#define HAVE_VFORK 1
230284194Sdelphij
231284194Sdelphij/* Define to 1 if you have the <vfork.h> header file. */
232284194Sdelphij/* #undef HAVE_VFORK_H */
233284194Sdelphij
234284194Sdelphij/* Define to 1 or 0, depending whether the compiler supports simple visibility
235284194Sdelphij   declarations. */
236284194Sdelphij#define HAVE_VISIBILITY 1
237284194Sdelphij
238133362Sobrien/* Define to 1 if you have the <wchar.h> header file. */
239133362Sobrien#define HAVE_WCHAR_H 1
240133362Sobrien
241169946Sobrien/* Define to 1 if you have the <wctype.h> header file. */
242169946Sobrien#define HAVE_WCTYPE_H 1
243169946Sobrien
244133362Sobrien/* Define to 1 if you have the `wcwidth' function. */
245133362Sobrien#define HAVE_WCWIDTH 1
246133362Sobrien
247284194Sdelphij/* Define to 1 if `fork' works. */
248284194Sdelphij#define HAVE_WORKING_FORK 1
249284194Sdelphij
250284194Sdelphij/* Define to 1 if `vfork' works. */
251284194Sdelphij#define HAVE_WORKING_VFORK 1
252284194Sdelphij
253284194Sdelphij/* Define to 1 if you have the <xlocale.h> header file. */
254284194Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
255284194Sdelphij#define HAVE_XLOCALE_H 1
256284194Sdelphij#endif
257284194Sdelphij
258175299Sobrien/* Define to 1 if you have the <zlib.h> header file. */
259175299Sobrien#define HAVE_ZLIB_H 1
260175299Sobrien
261237983Sobrien/* Define to the sub-directory in which libtool stores uninstalled libraries.
262237983Sobrien   */
263237983Sobrien#define LT_OBJDIR ".libs/"
264237983Sobrien
265133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
266133362Sobrien   */
267133362Sobrien/* #undef MAJOR_IN_MKDEV */
268133362Sobrien
269133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in
270133362Sobrien   <sysmacros.h>. */
271133362Sobrien/* #undef MAJOR_IN_SYSMACROS */
272133362Sobrien
273133362Sobrien/* Name of package */
274133362Sobrien#define PACKAGE "file"
275133362Sobrien
276133362Sobrien/* Define to the address where bug reports for this package should be sent. */
277208341Smarius#define PACKAGE_BUGREPORT "christos@astron.com"
278133362Sobrien
279133362Sobrien/* Define to the full name of this package. */
280208341Smarius#define PACKAGE_NAME "file"
281133362Sobrien
282133362Sobrien/* Define to the full name and version of this package. */
283284194Sdelphij#define PACKAGE_STRING "file 5.22"
284133362Sobrien
285133362Sobrien/* Define to the one symbol short name of this package. */
286208341Smarius#define PACKAGE_TARNAME "file"
287133362Sobrien
288237983Sobrien/* Define to the home page for this package. */
289237983Sobrien#define PACKAGE_URL ""
290237983Sobrien
291133362Sobrien/* Define to the version of this package. */
292284194Sdelphij#define PACKAGE_VERSION "5.22"
293133362Sobrien
294133362Sobrien/* Define to 1 if you have the ANSI C header files. */
295133362Sobrien#define STDC_HEADERS 1
296133362Sobrien
297133362Sobrien/* Define to 1 if your <sys/time.h> declares `struct tm'. */
298133362Sobrien/* #undef TM_IN_SYS_TIME */
299133362Sobrien
300237983Sobrien/* Enable extensions on AIX 3, Interix.  */
301237983Sobrien#ifndef _ALL_SOURCE
302237983Sobrien# define _ALL_SOURCE 1
303237983Sobrien#endif
304175299Sobrien/* Enable GNU extensions on systems that have them.  */
305175299Sobrien#ifndef _GNU_SOURCE
306175299Sobrien# define _GNU_SOURCE 1
307175299Sobrien#endif
308237983Sobrien/* Enable threading extensions on Solaris.  */
309237983Sobrien#ifndef _POSIX_PTHREAD_SEMANTICS
310237983Sobrien# define _POSIX_PTHREAD_SEMANTICS 1
311175299Sobrien#endif
312237983Sobrien/* Enable extensions on HP NonStop.  */
313237983Sobrien#ifndef _TANDEM_SOURCE
314237983Sobrien# define _TANDEM_SOURCE 1
315237983Sobrien#endif
316237983Sobrien/* Enable general extensions on Solaris.  */
317237983Sobrien#ifndef __EXTENSIONS__
318237983Sobrien# define __EXTENSIONS__ 1
319237983Sobrien#endif
320175299Sobrien
321237983Sobrien
322237983Sobrien/* Version number of package */
323284194Sdelphij#define VERSION "5.22"
324237983Sobrien
325284194Sdelphij/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
326284194Sdelphij   significant byte first (like Motorola and SPARC, unlike Intel). */
327284194Sdelphij#if defined AC_APPLE_UNIVERSAL_BUILD
328284194Sdelphij# if defined __BIG_ENDIAN__
329284194Sdelphij#  define WORDS_BIGENDIAN 1
330284194Sdelphij# endif
331284194Sdelphij#else
332284194Sdelphij# ifndef WORDS_BIGENDIAN
333284194Sdelphij/* #  undef WORDS_BIGENDIAN */
334284194Sdelphij# endif
335284194Sdelphij#endif
336284194Sdelphij
337284194Sdelphij/* Enable large inode numbers on Mac OS X 10.5.  */
338284194Sdelphij#ifndef _DARWIN_USE_64_BIT_INODE
339284194Sdelphij# define _DARWIN_USE_64_BIT_INODE 1
340284194Sdelphij#endif
341284194Sdelphij
342237983Sobrien/* Number of bits in a file offset, on hosts where this is settable. */
343237983Sobrien/* #undef _FILE_OFFSET_BITS */
344237983Sobrien
345208341Smarius/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
346208341Smarius/* #undef _LARGEFILE_SOURCE */
347208341Smarius
348133362Sobrien/* Define for large files, on AIX-style hosts. */
349133362Sobrien/* #undef _LARGE_FILES */
350133362Sobrien
351237983Sobrien/* Define to 1 if on MINIX. */
352237983Sobrien/* #undef _MINIX */
353237983Sobrien
354237983Sobrien/* Define to 2 if the system does not provide POSIX.1 features except with
355237983Sobrien   this defined. */
356237983Sobrien/* #undef _POSIX_1_SOURCE */
357237983Sobrien
358237983Sobrien/* Define to 1 if you need to in order for `stat' and other things to work. */
359237983Sobrien/* #undef _POSIX_SOURCE */
360237983Sobrien
361284194Sdelphij/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
362284194Sdelphij   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
363284194Sdelphij   #define below would cause a syntax error. */
364284194Sdelphij/* #undef _UINT32_T */
365284194Sdelphij
366284194Sdelphij/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
367284194Sdelphij   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
368284194Sdelphij   #define below would cause a syntax error. */
369284194Sdelphij/* #undef _UINT64_T */
370284194Sdelphij
371284194Sdelphij/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
372284194Sdelphij   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
373284194Sdelphij   #define below would cause a syntax error. */
374284194Sdelphij/* #undef _UINT8_T */
375284194Sdelphij
376133362Sobrien/* Define to empty if `const' does not conform to ANSI C. */
377133362Sobrien/* #undef const */
378208341Smarius
379284194Sdelphij/* Define to the type of a signed integer type of width exactly 32 bits if
380284194Sdelphij   such a type exists and the standard includes do not define it. */
381284194Sdelphij/* #undef int32_t */
382284194Sdelphij
383284194Sdelphij/* Define to the type of a signed integer type of width exactly 64 bits if
384284194Sdelphij   such a type exists and the standard includes do not define it. */
385284194Sdelphij/* #undef int64_t */
386284194Sdelphij
387284194Sdelphij/* Define to the type of a signed integer type wide enough to hold a pointer,
388284194Sdelphij   if such a type exists, and if the system does not define it. */
389284194Sdelphij/* #undef intptr_t */
390284194Sdelphij
391208341Smarius/* Define to a type if <wchar.h> does not define. */
392208341Smarius/* #undef mbstate_t */
393208341Smarius
394208341Smarius/* Define to `long int' if <sys/types.h> does not define. */
395208341Smarius/* #undef off_t */
396208341Smarius
397284194Sdelphij/* Define to `int' if <sys/types.h> does not define. */
398284194Sdelphij/* #undef pid_t */
399284194Sdelphij
400208341Smarius/* Define to `unsigned int' if <sys/types.h> does not define. */
401208341Smarius/* #undef size_t */
402208341Smarius
403284194Sdelphij/* Define to the type of an unsigned integer type of width exactly 16 bits if
404284194Sdelphij   such a type exists and the standard includes do not define it. */
405284194Sdelphij/* #undef uint16_t */
406208341Smarius
407284194Sdelphij/* Define to the type of an unsigned integer type of width exactly 32 bits if
408284194Sdelphij   such a type exists and the standard includes do not define it. */
409284194Sdelphij/* #undef uint32_t */
410208341Smarius
411284194Sdelphij/* Define to the type of an unsigned integer type of width exactly 64 bits if
412284194Sdelphij   such a type exists and the standard includes do not define it. */
413284194Sdelphij/* #undef uint64_t */
414284194Sdelphij
415284194Sdelphij/* Define to the type of an unsigned integer type of width exactly 8 bits if
416284194Sdelphij   such a type exists and the standard includes do not define it. */
417284194Sdelphij/* #undef uint8_t */
418284194Sdelphij
419284194Sdelphij/* Define to the type of an unsigned integer type wide enough to hold a
420284194Sdelphij   pointer, if such a type exists, and if the system does not define it. */
421284194Sdelphij/* #undef uintptr_t */
422284194Sdelphij
423284194Sdelphij/* Define as `fork' if `vfork' does not work. */
424284194Sdelphij/* #undef vfork */
425