config.h revision 208341
1133362Sobrien/* $FreeBSD: head/lib/libmagic/config.h 208341 2010-05-20 08:56:50Z marius $ */
2133362Sobrien
3175299Sobrien/* config.h.  Generated from config.h.in by configure.  */
4208341Smarius/* config.h.in.  Generated from configure.ac by autoheader.  */
5133362Sobrien
6208341Smarius/* Define in built-in ELF support is used */
7133362Sobrien#define BUILTIN_ELF 1
8133362Sobrien
9208341Smarius/* Define for ELF core file support */
10133362Sobrien#define ELFCORE 1
11133362Sobrien
12191771Sobrien/* Define to 1 if you have the `asprintf' function. */
13191771Sobrien#define HAVE_ASPRINTF 1
14191771Sobrien
15208341Smarius/* HAVE_DAYLIGHT */
16133362Sobrien/* #undef HAVE_DAYLIGHT */
17133362Sobrien
18159769Sobrien/* Define to 1 if you have the <dlfcn.h> header file. */
19159769Sobrien#define HAVE_DLFCN_H 1
20133362Sobrien
21191771Sobrien/* Define to 1 if you have the <err.h> header file. */
22191771Sobrien#define HAVE_ERR_H 1
23191771Sobrien
24133362Sobrien/* Define to 1 if you have the <fcntl.h> header file. */
25133362Sobrien#define HAVE_FCNTL_H 1
26133362Sobrien
27191771Sobrien/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
28191771Sobrien#define HAVE_FSEEKO 1
29191771Sobrien
30133362Sobrien/* Define to 1 if you have the <getopt.h> header file. */
31133362Sobrien#define HAVE_GETOPT_H 1
32133362Sobrien
33133362Sobrien/* Define to 1 if you have the `getopt_long' function. */
34133362Sobrien#define HAVE_GETOPT_LONG 1
35133362Sobrien
36191771Sobrien/* Define to 1 if the system has the type `int32_t'. */
37191771Sobrien#define HAVE_INT32_T 1
38191771Sobrien
39191771Sobrien/* Define to 1 if the system has the type `int64_t'. */
40191771Sobrien#define HAVE_INT64_T 1
41191771Sobrien
42133362Sobrien/* Define to 1 if you have the <inttypes.h> header file. */
43133362Sobrien#define HAVE_INTTYPES_H 1
44133362Sobrien
45133362Sobrien/* Define to 1 if you have the `z' library (-lz). */
46133362Sobrien#define HAVE_LIBZ 1
47133362Sobrien
48169967Sobrien/* Define to 1 if you have the <limits.h> header file. */
49169967Sobrien#define HAVE_LIMITS_H 1
50169967Sobrien
51133362Sobrien/* Define to 1 if you have the <locale.h> header file. */
52133362Sobrien#define HAVE_LOCALE_H 1
53133362Sobrien
54133362Sobrien/* Define to 1 if you have the `mbrtowc' function. */
55133362Sobrien#define HAVE_MBRTOWC 1
56133362Sobrien
57159769Sobrien/* Define to 1 if <wchar.h> declares mbstate_t. */
58159769Sobrien#define HAVE_MBSTATE_T 1
59159769Sobrien
60133362Sobrien/* Define to 1 if you have the <memory.h> header file. */
61133362Sobrien#define HAVE_MEMORY_H 1
62133362Sobrien
63133362Sobrien/* Define to 1 if you have the `mkstemp' function. */
64133362Sobrien#define HAVE_MKSTEMP 1
65133362Sobrien
66133362Sobrien/* Define to 1 if you have the `mmap' function. */
67133362Sobrien#define HAVE_MMAP 1
68133362Sobrien
69133362Sobrien/* Define to 1 if you have the <stdint.h> header file. */
70133362Sobrien#define HAVE_STDINT_H 1
71133362Sobrien
72133362Sobrien/* Define to 1 if you have the <stdlib.h> header file. */
73133362Sobrien#define HAVE_STDLIB_H 1
74133362Sobrien
75133362Sobrien/* Define to 1 if you have the `strerror' function. */
76133362Sobrien#define HAVE_STRERROR 1
77133362Sobrien
78133362Sobrien/* Define to 1 if you have the <strings.h> header file. */
79133362Sobrien#define HAVE_STRINGS_H 1
80133362Sobrien
81133362Sobrien/* Define to 1 if you have the <string.h> header file. */
82133362Sobrien#define HAVE_STRING_H 1
83133362Sobrien
84191771Sobrien/* Define to 1 if you have the `strlcat' function. */
85191771Sobrien#define HAVE_STRLCAT 1
86191771Sobrien
87191771Sobrien/* Define to 1 if you have the `strlcpy' function. */
88191771Sobrien#define HAVE_STRLCPY 1
89191771Sobrien
90169946Sobrien/* Define to 1 if you have the `strndup' function. */
91185777Skib#define HAVE_STRNDUP 1
92169946Sobrien
93175299Sobrien/* Define to 1 if you have the `strtof' function. */
94175299Sobrien#define HAVE_STRTOF 1
95175299Sobrien
96133362Sobrien/* Define to 1 if you have the `strtoul' function. */
97133362Sobrien#define HAVE_STRTOUL 1
98133362Sobrien
99208341Smarius/* HAVE_STRUCT_OPTION */
100208341Smarius#define HAVE_STRUCT_OPTION 1
101208341Smarius
102133362Sobrien/* Define to 1 if `st_rdev' is member of `struct stat'. */
103133362Sobrien#define HAVE_STRUCT_STAT_ST_RDEV 1
104133362Sobrien
105191771Sobrien/* Define to 1 if `tm_gmtoff' is member of `struct tm'. */
106191771Sobrien#define HAVE_STRUCT_TM_TM_GMTOFF 1
107191771Sobrien
108191771Sobrien/* Define to 1 if `tm_zone' is member of `struct tm'. */
109191771Sobrien#define HAVE_STRUCT_TM_TM_ZONE 1
110191771Sobrien
111133362Sobrien/* Define to 1 if you have the <sys/mman.h> header file. */
112133362Sobrien#define HAVE_SYS_MMAN_H 1
113133362Sobrien
114133362Sobrien/* Define to 1 if you have the <sys/stat.h> header file. */
115133362Sobrien#define HAVE_SYS_STAT_H 1
116133362Sobrien
117169946Sobrien/* Define to 1 if you have the <sys/time.h> header file. */
118169946Sobrien#define HAVE_SYS_TIME_H 1
119169946Sobrien
120133362Sobrien/* Define to 1 if you have the <sys/types.h> header file. */
121133362Sobrien#define HAVE_SYS_TYPES_H 1
122133362Sobrien
123133362Sobrien/* Define to 1 if you have the <sys/utime.h> header file. */
124133362Sobrien/* #undef HAVE_SYS_UTIME_H */
125133362Sobrien
126133362Sobrien/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
127133362Sobrien#define HAVE_SYS_WAIT_H 1
128133362Sobrien
129208341Smarius/* HAVE_TM_ISDST */
130159769Sobrien#define HAVE_TM_ISDST 1
131159769Sobrien
132133362Sobrien/* HAVE_TM_ZONE */
133133362Sobrien#define HAVE_TM_ZONE 1
134133362Sobrien
135133362Sobrien/* HAVE_TZNAME */
136133362Sobrien#define HAVE_TZNAME 1
137133362Sobrien
138191771Sobrien/* Define to 1 if the system has the type `uint16_t'. */
139191771Sobrien#define HAVE_UINT16_T 1
140191771Sobrien
141191771Sobrien/* Define to 1 if the system has the type `uint32_t'. */
142191771Sobrien#define HAVE_UINT32_T 1
143191771Sobrien
144191771Sobrien/* Define to 1 if the system has the type `uint64_t'. */
145191771Sobrien#define HAVE_UINT64_T 1
146191771Sobrien
147191771Sobrien/* Define to 1 if the system has the type `uint8_t'. */
148191771Sobrien#define HAVE_UINT8_T 1
149191771Sobrien
150133362Sobrien/* Define to 1 if you have the <unistd.h> header file. */
151133362Sobrien#define HAVE_UNISTD_H 1
152133362Sobrien
153133362Sobrien/* Define to 1 if you have the `utime' function. */
154133362Sobrien#define HAVE_UTIME 1
155133362Sobrien
156133362Sobrien/* Define to 1 if you have the `utimes' function. */
157133362Sobrien#define HAVE_UTIMES 1
158133362Sobrien
159133362Sobrien/* Define to 1 if you have the <utime.h> header file. */
160133362Sobrien#define HAVE_UTIME_H 1
161133362Sobrien
162191771Sobrien/* Define to 1 if you have the `vasprintf' function. */
163191771Sobrien#define HAVE_VASPRINTF 1
164191771Sobrien
165133362Sobrien/* Define to 1 if you have the <wchar.h> header file. */
166133362Sobrien#define HAVE_WCHAR_H 1
167133362Sobrien
168169946Sobrien/* Define to 1 if you have the <wctype.h> header file. */
169169946Sobrien#define HAVE_WCTYPE_H 1
170169946Sobrien
171133362Sobrien/* Define to 1 if you have the `wcwidth' function. */
172133362Sobrien#define HAVE_WCWIDTH 1
173133362Sobrien
174175299Sobrien/* Define to 1 if you have the <zlib.h> header file. */
175175299Sobrien#define HAVE_ZLIB_H 1
176175299Sobrien
177133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
178133362Sobrien   */
179133362Sobrien/* #undef MAJOR_IN_MKDEV */
180133362Sobrien
181133362Sobrien/* Define to 1 if `major', `minor', and `makedev' are declared in
182133362Sobrien   <sysmacros.h>. */
183133362Sobrien/* #undef MAJOR_IN_SYSMACROS */
184133362Sobrien
185191771Sobrien/* Define to 1 if your C compiler doesn't accept -c and -o together. */
186191771Sobrien/* #undef NO_MINUS_C_MINUS_O */
187191771Sobrien
188133362Sobrien/* Name of package */
189133362Sobrien#define PACKAGE "file"
190133362Sobrien
191133362Sobrien/* Define to the address where bug reports for this package should be sent. */
192208341Smarius#define PACKAGE_BUGREPORT "christos@astron.com"
193133362Sobrien
194133362Sobrien/* Define to the full name of this package. */
195208341Smarius#define PACKAGE_NAME "file"
196133362Sobrien
197133362Sobrien/* Define to the full name and version of this package. */
198208341Smarius#define PACKAGE_STRING "file 5.03"
199133362Sobrien
200133362Sobrien/* Define to the one symbol short name of this package. */
201208341Smarius#define PACKAGE_TARNAME "file"
202133362Sobrien
203133362Sobrien/* Define to the version of this package. */
204208341Smarius#define PACKAGE_VERSION "5.03"
205133362Sobrien
206208341Smarius/* The size of `long long', as computed by sizeof. */
207208341Smarius#define SIZEOF_LONG_LONG 8
208175299Sobrien
209133362Sobrien/* Define to 1 if you have the ANSI C header files. */
210133362Sobrien#define STDC_HEADERS 1
211133362Sobrien
212133362Sobrien/* Define to 1 if your <sys/time.h> declares `struct tm'. */
213133362Sobrien/* #undef TM_IN_SYS_TIME */
214133362Sobrien
215133362Sobrien/* Version number of package */
216208341Smarius#define VERSION "5.03"
217133362Sobrien
218133362Sobrien/* Number of bits in a file offset, on hosts where this is settable. */
219133362Sobrien/* #undef _FILE_OFFSET_BITS */
220133362Sobrien
221175299Sobrien/* Enable GNU extensions on systems that have them.  */
222175299Sobrien#ifndef __FreeBSD__
223175299Sobrien#ifndef _GNU_SOURCE
224175299Sobrien# define _GNU_SOURCE 1
225175299Sobrien#endif
226175299Sobrien#endif
227175299Sobrien
228208341Smarius/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
229208341Smarius/* #undef _LARGEFILE_SOURCE */
230208341Smarius
231133362Sobrien/* Define for large files, on AIX-style hosts. */
232133362Sobrien/* #undef _LARGE_FILES */
233133362Sobrien
234133362Sobrien/* Define to empty if `const' does not conform to ANSI C. */
235133362Sobrien/* #undef const */
236208341Smarius
237208341Smarius/* Define to a type if <wchar.h> does not define. */
238208341Smarius/* #undef mbstate_t */
239208341Smarius
240208341Smarius/* Define to `long int' if <sys/types.h> does not define. */
241208341Smarius/* #undef off_t */
242208341Smarius
243208341Smarius/* Define to `unsigned int' if <sys/types.h> does not define. */
244208341Smarius/* #undef size_t */
245208341Smarius
246208341Smarius
247208341Smarius#ifndef HAVE_UINT8_T
248208341Smariustypedef unsigned char uint8_t;
249208341Smarius#endif
250208341Smarius#ifndef HAVE_UINT16_T
251208341Smariustypedef unsigned short uint16_t;
252208341Smarius#endif
253208341Smarius#ifndef HAVE_UINT32_T
254208341Smariustypedef unsigned int uint32_t;
255208341Smarius#endif
256208341Smarius#ifndef HAVE_INT32_T
257208341Smariustypedef int int32_t;
258208341Smarius#endif
259208341Smarius#ifndef HAVE_UINT64_T
260208341Smarius#if SIZEOF_LONG_LONG == 8
261208341Smariustypedef unsigned long long uint64_t;
262208341Smarius#else
263208341Smariustypedef unsigned long uint64_t;
264208341Smarius#endif
265208341Smarius#endif
266208341Smarius#ifndef HAVE_INT64_T
267208341Smarius#if SIZEOF_LONG_LONG == 8
268208341Smariustypedef long long int64_t;
269208341Smarius#else
270208341Smariustypedef long int64_t;
271208341Smarius#endif
272208341Smarius#endif
273208341Smarius
274