1133362Sobrien/* $FreeBSD$ */
2133362Sobrien
3284193Sdelphij/* Get __FreeBSD_version. */
4284193Sdelphij#include <osreldate.h>
5284193Sdelphij
6284193Sdelphij/* Only specific versions of FreeBSD support xlocale */
7284193Sdelphij#if __FreeBSD_version >= 1000002 || (__FreeBSD_version < 1000000 && __FreeBSD_version >= 900506)
8284193Sdelphij#define FREEBSD_XLOCALE_SUPPORT 1
9284193Sdelphij#endif
10284193Sdelphij
11175299Sobrien/* config.h.  Generated from config.h.in by configure.  */
12208341Smarius/* config.h.in.  Generated from configure.ac by autoheader.  */
13133362Sobrien
14268515Sdelphij/* Define if building universal (internal helper macro) */
15268515Sdelphij/* #undef AC_APPLE_UNIVERSAL_BUILD */
16268515Sdelphij
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
23268515Sdelphij/* Define to 1 if you have the `asctime_r' function. */
24268515Sdelphij#define HAVE_ASCTIME_R 1
25268515Sdelphij
26191771Sobrien/* Define to 1 if you have the `asprintf' function. */
27191771Sobrien#define HAVE_ASPRINTF 1
28191771Sobrien
29268515Sdelphij/* Define to 1 if you have the `ctime_r' function. */
30268515Sdelphij#define HAVE_CTIME_R 1
31268515Sdelphij
32208341Smarius/* HAVE_DAYLIGHT */
33133362Sobrien/* #undef HAVE_DAYLIGHT */
34133362Sobrien
35234449Sobrien/* Define to 1 if you have the declaration of `daylight', and to 0 if you
36234449Sobrien   don't. */
37234449Sobrien#define HAVE_DECL_DAYLIGHT 0
38234449Sobrien
39234449Sobrien/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
40234449Sobrien   */
41234449Sobrien#define HAVE_DECL_TZNAME 1
42234449Sobrien
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
52268515Sdelphij/* Define to 1 if you have the `fmtcheck' function. */
53268515Sdelphij#define HAVE_FMTCHECK 1
54268515Sdelphij
55234449Sobrien/* Define to 1 if you have the `fork' function. */
56234449Sobrien#define HAVE_FORK 1
57234449Sobrien
58284193Sdelphij/* Define to 1 if you have the `freelocale' function. */
59284193Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
60284193Sdelphij#define HAVE_FREELOCALE 1
61284193Sdelphij#endif
62284193Sdelphij
63191771Sobrien/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
64191771Sobrien#define HAVE_FSEEKO 1
65191771Sobrien
66234449Sobrien/* Define to 1 if you have the `getline' function. */
67234449Sobrien#define HAVE_GETLINE 1
68234449Sobrien
69133362Sobrien/* Define to 1 if you have the <getopt.h> header file. */
70133362Sobrien#define HAVE_GETOPT_H 1
71133362Sobrien
72133362Sobrien/* Define to 1 if you have the `getopt_long' function. */
73133362Sobrien#define HAVE_GETOPT_LONG 1
74133362Sobrien
75268515Sdelphij/* Define to 1 if you have the `getpagesize' function. */
76268515Sdelphij#define HAVE_GETPAGESIZE 1
77191771Sobrien
78268515Sdelphij/* Define to 1 if the system has the type `intptr_t'. */
79268515Sdelphij#define HAVE_INTPTR_T 1
80191771Sobrien
81133362Sobrien/* Define to 1 if you have the <inttypes.h> header file. */
82133362Sobrien#define HAVE_INTTYPES_H 1
83133362Sobrien
84234449Sobrien/* Define to 1 if you have the `gnurx' library (-lgnurx). */
85234449Sobrien/* #undef HAVE_LIBGNURX */
86234449Sobrien
87133362Sobrien/* Define to 1 if you have the `z' library (-lz). */
88133362Sobrien#define HAVE_LIBZ 1
89133362Sobrien
90169967Sobrien/* Define to 1 if you have the <limits.h> header file. */
91169967Sobrien#define HAVE_LIMITS_H 1
92169967Sobrien
93133362Sobrien/* Define to 1 if you have the <locale.h> header file. */
94133362Sobrien#define HAVE_LOCALE_H 1
95133362Sobrien
96268515Sdelphij/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
97133362Sobrien#define HAVE_MBRTOWC 1
98133362Sobrien
99159769Sobrien/* Define to 1 if <wchar.h> declares mbstate_t. */
100159769Sobrien#define HAVE_MBSTATE_T 1
101159769Sobrien
102133362Sobrien/* Define to 1 if you have the <memory.h> header file. */
103133362Sobrien#define HAVE_MEMORY_H 1
104133362Sobrien
105268515Sdelphij/* Define to 1 if you have the `mkostemp' function. */
106268515Sdelphij#define HAVE_MKOSTEMP 1
107268515Sdelphij
108133362Sobrien/* Define to 1 if you have the `mkstemp' function. */
109133362Sobrien#define HAVE_MKSTEMP 1
110133362Sobrien
111268515Sdelphij/* Define to 1 if you have a working `mmap' system call. */
112133362Sobrien#define HAVE_MMAP 1
113133362Sobrien
114284193Sdelphij/* Define to 1 if you have the `newlocale' function. */
115284193Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
116284193Sdelphij#define HAVE_NEWLOCALE 1
117284193Sdelphij#endif
118284193Sdelphij
119268515Sdelphij/* Define to 1 if you have the `pread' function. */
120268515Sdelphij#define HAVE_PREAD 1
121234449Sobrien
122284193Sdelphij/* Define to 1 if you have the `setlocale' function. */
123284193Sdelphij#define HAVE_SETLOCALE 1
124284193Sdelphij
125268515Sdelphij/* Define to 1 if you have the <stddef.h> header file. */
126268515Sdelphij#define HAVE_STDDEF_H 1
127268515Sdelphij
128133362Sobrien/* Define to 1 if you have the <stdint.h> header file. */
129133362Sobrien#define HAVE_STDINT_H 1
130133362Sobrien
131133362Sobrien/* Define to 1 if you have the <stdlib.h> header file. */
132133362Sobrien#define HAVE_STDLIB_H 1
133133362Sobrien
134268515Sdelphij/* Define to 1 if you have the `strcasestr' function. */
135268515Sdelphij#define HAVE_STRCASESTR 1
136268515Sdelphij
137133362Sobrien/* Define to 1 if you have the `strerror' function. */
138133362Sobrien#define HAVE_STRERROR 1
139133362Sobrien
140133362Sobrien/* Define to 1 if you have the <strings.h> header file. */
141133362Sobrien#define HAVE_STRINGS_H 1
142133362Sobrien
143133362Sobrien/* Define to 1 if you have the <string.h> header file. */
144133362Sobrien#define HAVE_STRING_H 1
145133362Sobrien
146191771Sobrien/* Define to 1 if you have the `strlcat' function. */
147191771Sobrien#define HAVE_STRLCAT 1
148191771Sobrien
149191771Sobrien/* Define to 1 if you have the `strlcpy' function. */
150191771Sobrien#define HAVE_STRLCPY 1
151191771Sobrien
152169946Sobrien/* Define to 1 if you have the `strndup' function. */
153185777Skib#define HAVE_STRNDUP 1
154169946Sobrien
155175299Sobrien/* Define to 1 if you have the `strtof' function. */
156175299Sobrien#define HAVE_STRTOF 1
157175299Sobrien
158133362Sobrien/* Define to 1 if you have the `strtoul' function. */
159133362Sobrien#define HAVE_STRTOUL 1
160133362Sobrien
161208341Smarius/* HAVE_STRUCT_OPTION */
162208341Smarius#define HAVE_STRUCT_OPTION 1
163208341Smarius
164234449Sobrien/* Define to 1 if `st_rdev' is a member of `struct stat'. */
165133362Sobrien#define HAVE_STRUCT_STAT_ST_RDEV 1
166133362Sobrien
167234449Sobrien/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
168191771Sobrien#define HAVE_STRUCT_TM_TM_GMTOFF 1
169191771Sobrien
170234449Sobrien/* Define to 1 if `tm_zone' is a member of `struct tm'. */
171191771Sobrien#define HAVE_STRUCT_TM_TM_ZONE 1
172191771Sobrien
173133362Sobrien/* Define to 1 if you have the <sys/mman.h> header file. */
174133362Sobrien#define HAVE_SYS_MMAN_H 1
175133362Sobrien
176268515Sdelphij/* Define to 1 if you have the <sys/param.h> header file. */
177268515Sdelphij#define HAVE_SYS_PARAM_H 1
178268515Sdelphij
179133362Sobrien/* Define to 1 if you have the <sys/stat.h> header file. */
180133362Sobrien#define HAVE_SYS_STAT_H 1
181133362Sobrien
182169946Sobrien/* Define to 1 if you have the <sys/time.h> header file. */
183169946Sobrien#define HAVE_SYS_TIME_H 1
184169946Sobrien
185133362Sobrien/* Define to 1 if you have the <sys/types.h> header file. */
186133362Sobrien#define HAVE_SYS_TYPES_H 1
187133362Sobrien
188133362Sobrien/* Define to 1 if you have the <sys/utime.h> header file. */
189133362Sobrien/* #undef HAVE_SYS_UTIME_H */
190133362Sobrien
191133362Sobrien/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
192133362Sobrien#define HAVE_SYS_WAIT_H 1
193133362Sobrien
194208341Smarius/* HAVE_TM_ISDST */
195159769Sobrien#define HAVE_TM_ISDST 1
196159769Sobrien
197133362Sobrien/* HAVE_TM_ZONE */
198133362Sobrien#define HAVE_TM_ZONE 1
199133362Sobrien
200133362Sobrien/* HAVE_TZNAME */
201133362Sobrien#define HAVE_TZNAME 1
202133362Sobrien
203268515Sdelphij/* Define to 1 if the system has the type `uintptr_t'. */
204268515Sdelphij#define HAVE_UINTPTR_T 1
205191771Sobrien
206133362Sobrien/* Define to 1 if you have the <unistd.h> header file. */
207133362Sobrien#define HAVE_UNISTD_H 1
208133362Sobrien
209284193Sdelphij/* Define to 1 if you have the `uselocale' function. */
210284193Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
211284193Sdelphij#define HAVE_USELOCALE 1
212284193Sdelphij#endif
213284193Sdelphij
214133362Sobrien/* Define to 1 if you have the `utime' function. */
215133362Sobrien#define HAVE_UTIME 1
216133362Sobrien
217133362Sobrien/* Define to 1 if you have the `utimes' function. */
218133362Sobrien#define HAVE_UTIMES 1
219133362Sobrien
220133362Sobrien/* Define to 1 if you have the <utime.h> header file. */
221133362Sobrien#define HAVE_UTIME_H 1
222133362Sobrien
223191771Sobrien/* Define to 1 if you have the `vasprintf' function. */
224191771Sobrien#define HAVE_VASPRINTF 1
225191771Sobrien
226268515Sdelphij/* Define to 1 if you have the `vfork' function. */
227268515Sdelphij#define HAVE_VFORK 1
228268515Sdelphij
229268515Sdelphij/* Define to 1 if you have the <vfork.h> header file. */
230268515Sdelphij/* #undef HAVE_VFORK_H */
231268515Sdelphij
232268515Sdelphij/* Define to 1 or 0, depending whether the compiler supports simple visibility
233268515Sdelphij   declarations. */
234268515Sdelphij#define HAVE_VISIBILITY 1
235268515Sdelphij
236133362Sobrien/* Define to 1 if you have the <wchar.h> header file. */
237133362Sobrien#define HAVE_WCHAR_H 1
238133362Sobrien
239169946Sobrien/* Define to 1 if you have the <wctype.h> header file. */
240169946Sobrien#define HAVE_WCTYPE_H 1
241169946Sobrien
242133362Sobrien/* Define to 1 if you have the `wcwidth' function. */
243133362Sobrien#define HAVE_WCWIDTH 1
244133362Sobrien
245268515Sdelphij/* Define to 1 if `fork' works. */
246268515Sdelphij#define HAVE_WORKING_FORK 1
247268515Sdelphij
248268515Sdelphij/* Define to 1 if `vfork' works. */
249268515Sdelphij#define HAVE_WORKING_VFORK 1
250268515Sdelphij
251284193Sdelphij/* Define to 1 if you have the <xlocale.h> header file. */
252284193Sdelphij#ifdef FREEBSD_XLOCALE_SUPPORT
253284193Sdelphij#define HAVE_XLOCALE_H 1
254284193Sdelphij#endif
255284193Sdelphij
256175299Sobrien/* Define to 1 if you have the <zlib.h> header file. */
257175299Sobrien#define HAVE_ZLIB_H 1
258175299Sobrien
259234449Sobrien/* Define to the sub-directory in which libtool stores uninstalled libraries.
260234449Sobrien   */
261234449Sobrien#define LT_OBJDIR ".libs/"
262234449Sobrien
263133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
264133362Sobrien   */
265133362Sobrien/* #undef MAJOR_IN_MKDEV */
266133362Sobrien
267133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in
268133362Sobrien   <sysmacros.h>. */
269133362Sobrien/* #undef MAJOR_IN_SYSMACROS */
270133362Sobrien
271133362Sobrien/* Name of package */
272133362Sobrien#define PACKAGE "file"
273133362Sobrien
274133362Sobrien/* Define to the address where bug reports for this package should be sent. */
275208341Smarius#define PACKAGE_BUGREPORT "christos@astron.com"
276133362Sobrien
277133362Sobrien/* Define to the full name of this package. */
278208341Smarius#define PACKAGE_NAME "file"
279133362Sobrien
280133362Sobrien/* Define to the full name and version of this package. */
281284193Sdelphij#define PACKAGE_STRING "file 5.22"
282133362Sobrien
283133362Sobrien/* Define to the one symbol short name of this package. */
284208341Smarius#define PACKAGE_TARNAME "file"
285133362Sobrien
286234449Sobrien/* Define to the home page for this package. */
287234449Sobrien#define PACKAGE_URL ""
288234449Sobrien
289133362Sobrien/* Define to the version of this package. */
290284193Sdelphij#define PACKAGE_VERSION "5.22"
291133362Sobrien
292133362Sobrien/* Define to 1 if you have the ANSI C header files. */
293133362Sobrien#define STDC_HEADERS 1
294133362Sobrien
295133362Sobrien/* Define to 1 if your <sys/time.h> declares `struct tm'. */
296133362Sobrien/* #undef TM_IN_SYS_TIME */
297133362Sobrien
298234449Sobrien/* Enable extensions on AIX 3, Interix.  */
299234449Sobrien#ifndef _ALL_SOURCE
300234449Sobrien# define _ALL_SOURCE 1
301234449Sobrien#endif
302175299Sobrien/* Enable GNU extensions on systems that have them.  */
303175299Sobrien#ifndef _GNU_SOURCE
304175299Sobrien# define _GNU_SOURCE 1
305175299Sobrien#endif
306234449Sobrien/* Enable threading extensions on Solaris.  */
307234449Sobrien#ifndef _POSIX_PTHREAD_SEMANTICS
308234449Sobrien# define _POSIX_PTHREAD_SEMANTICS 1
309175299Sobrien#endif
310234449Sobrien/* Enable extensions on HP NonStop.  */
311234449Sobrien#ifndef _TANDEM_SOURCE
312234449Sobrien# define _TANDEM_SOURCE 1
313234449Sobrien#endif
314234449Sobrien/* Enable general extensions on Solaris.  */
315234449Sobrien#ifndef __EXTENSIONS__
316234449Sobrien# define __EXTENSIONS__ 1
317234449Sobrien#endif
318175299Sobrien
319234449Sobrien
320234449Sobrien/* Version number of package */
321284193Sdelphij#define VERSION "5.22"
322234449Sobrien
323268515Sdelphij/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
324268515Sdelphij   significant byte first (like Motorola and SPARC, unlike Intel). */
325268515Sdelphij#if defined AC_APPLE_UNIVERSAL_BUILD
326268515Sdelphij# if defined __BIG_ENDIAN__
327268515Sdelphij#  define WORDS_BIGENDIAN 1
328268515Sdelphij# endif
329268515Sdelphij#else
330268515Sdelphij# ifndef WORDS_BIGENDIAN
331268515Sdelphij/* #  undef WORDS_BIGENDIAN */
332268515Sdelphij# endif
333268515Sdelphij#endif
334268515Sdelphij
335268515Sdelphij/* Enable large inode numbers on Mac OS X 10.5.  */
336268515Sdelphij#ifndef _DARWIN_USE_64_BIT_INODE
337268515Sdelphij# define _DARWIN_USE_64_BIT_INODE 1
338268515Sdelphij#endif
339268515Sdelphij
340234449Sobrien/* Number of bits in a file offset, on hosts where this is settable. */
341234449Sobrien/* #undef _FILE_OFFSET_BITS */
342234449Sobrien
343208341Smarius/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
344208341Smarius/* #undef _LARGEFILE_SOURCE */
345208341Smarius
346133362Sobrien/* Define for large files, on AIX-style hosts. */
347133362Sobrien/* #undef _LARGE_FILES */
348133362Sobrien
349234449Sobrien/* Define to 1 if on MINIX. */
350234449Sobrien/* #undef _MINIX */
351234449Sobrien
352234449Sobrien/* Define to 2 if the system does not provide POSIX.1 features except with
353234449Sobrien   this defined. */
354234449Sobrien/* #undef _POSIX_1_SOURCE */
355234449Sobrien
356234449Sobrien/* Define to 1 if you need to in order for `stat' and other things to work. */
357234449Sobrien/* #undef _POSIX_SOURCE */
358234449Sobrien
359268515Sdelphij/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
360268515Sdelphij   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
361268515Sdelphij   #define below would cause a syntax error. */
362268515Sdelphij/* #undef _UINT32_T */
363268515Sdelphij
364268515Sdelphij/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
365268515Sdelphij   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
366268515Sdelphij   #define below would cause a syntax error. */
367268515Sdelphij/* #undef _UINT64_T */
368268515Sdelphij
369268515Sdelphij/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
370268515Sdelphij   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
371268515Sdelphij   #define below would cause a syntax error. */
372268515Sdelphij/* #undef _UINT8_T */
373268515Sdelphij
374133362Sobrien/* Define to empty if `const' does not conform to ANSI C. */
375133362Sobrien/* #undef const */
376208341Smarius
377268515Sdelphij/* Define to the type of a signed integer type of width exactly 32 bits if
378268515Sdelphij   such a type exists and the standard includes do not define it. */
379268515Sdelphij/* #undef int32_t */
380268515Sdelphij
381268515Sdelphij/* Define to the type of a signed integer type of width exactly 64 bits if
382268515Sdelphij   such a type exists and the standard includes do not define it. */
383268515Sdelphij/* #undef int64_t */
384268515Sdelphij
385268515Sdelphij/* Define to the type of a signed integer type wide enough to hold a pointer,
386268515Sdelphij   if such a type exists, and if the system does not define it. */
387268515Sdelphij/* #undef intptr_t */
388268515Sdelphij
389208341Smarius/* Define to a type if <wchar.h> does not define. */
390208341Smarius/* #undef mbstate_t */
391208341Smarius
392208341Smarius/* Define to `long int' if <sys/types.h> does not define. */
393208341Smarius/* #undef off_t */
394208341Smarius
395268515Sdelphij/* Define to `int' if <sys/types.h> does not define. */
396268515Sdelphij/* #undef pid_t */
397268515Sdelphij
398208341Smarius/* Define to `unsigned int' if <sys/types.h> does not define. */
399208341Smarius/* #undef size_t */
400208341Smarius
401268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 16 bits if
402268515Sdelphij   such a type exists and the standard includes do not define it. */
403268515Sdelphij/* #undef uint16_t */
404208341Smarius
405268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 32 bits if
406268515Sdelphij   such a type exists and the standard includes do not define it. */
407268515Sdelphij/* #undef uint32_t */
408208341Smarius
409268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 64 bits if
410268515Sdelphij   such a type exists and the standard includes do not define it. */
411268515Sdelphij/* #undef uint64_t */
412268515Sdelphij
413268515Sdelphij/* Define to the type of an unsigned integer type of width exactly 8 bits if
414268515Sdelphij   such a type exists and the standard includes do not define it. */
415268515Sdelphij/* #undef uint8_t */
416268515Sdelphij
417268515Sdelphij/* Define to the type of an unsigned integer type wide enough to hold a
418268515Sdelphij   pointer, if such a type exists, and if the system does not define it. */
419268515Sdelphij/* #undef uintptr_t */
420268515Sdelphij
421268515Sdelphij/* Define as `fork' if `vfork' does not work. */
422268515Sdelphij/* #undef vfork */
423