config.h revision 235638
1/* $FreeBSD: head/lib/libmagic/config.h 235638 2012-05-19 02:30:10Z marcel $ */
2
3/* config.h.  Generated from config.h.in by configure.  */
4/* config.h.in.  Generated from configure.ac by autoheader.  */
5
6/* Define in built-in ELF support is used */
7#define BUILTIN_ELF 1
8
9/* Define for ELF core file support */
10#define ELFCORE 1
11
12/* Define to 1 if you have the `asprintf' function. */
13#define HAVE_ASPRINTF 1
14
15/* HAVE_DAYLIGHT */
16/* #undef HAVE_DAYLIGHT */
17
18/* Define to 1 if you have the declaration of `daylight', and to 0 if you
19   don't. */
20#define HAVE_DECL_DAYLIGHT 0
21
22/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
23   */
24#define HAVE_DECL_TZNAME 1
25
26/* Define to 1 if you have the <dlfcn.h> header file. */
27#define HAVE_DLFCN_H 1
28
29/* Define to 1 if you have the <err.h> header file. */
30#define HAVE_ERR_H 1
31
32/* Define to 1 if you have the <fcntl.h> header file. */
33#define HAVE_FCNTL_H 1
34
35/* Define to 1 if you have the `fork' function. */
36#define HAVE_FORK 1
37
38/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
39#define HAVE_FSEEKO 1
40
41/* Define to 1 if you have the `getline' function. */
42#ifndef HOSTPROG
43#define HAVE_GETLINE 1
44#endif
45
46/* Define to 1 if you have the <getopt.h> header file. */
47#define HAVE_GETOPT_H 1
48
49/* Define to 1 if you have the `getopt_long' function. */
50#define HAVE_GETOPT_LONG 1
51
52/* Define to 1 if the system has the type `int32_t'. */
53#define HAVE_INT32_T 1
54
55/* Define to 1 if the system has the type `int64_t'. */
56#define HAVE_INT64_T 1
57
58/* Define to 1 if you have the <inttypes.h> header file. */
59#define HAVE_INTTYPES_H 1
60
61/* Define to 1 if you have the `gnurx' library (-lgnurx). */
62/* #undef HAVE_LIBGNURX */
63
64/* Define to 1 if you have the `z' library (-lz). */
65#define HAVE_LIBZ 1
66
67/* Define to 1 if you have the <limits.h> header file. */
68#define HAVE_LIMITS_H 1
69
70/* Define to 1 if you have the <locale.h> header file. */
71#define HAVE_LOCALE_H 1
72
73/* Define to 1 if you have the `mbrtowc' function. */
74#define HAVE_MBRTOWC 1
75
76/* Define to 1 if <wchar.h> declares mbstate_t. */
77#define HAVE_MBSTATE_T 1
78
79/* Define to 1 if you have the <memory.h> header file. */
80#define HAVE_MEMORY_H 1
81
82/* Define to 1 if you have the `mkstemp' function. */
83#define HAVE_MKSTEMP 1
84
85/* Define to 1 if you have the `mmap' function. */
86#define HAVE_MMAP 1
87
88/* Define to 1 if the system has the type `pid_t'. */
89#define HAVE_PID_T 1
90
91/* Define to 1 if you have the <stdint.h> header file. */
92#define HAVE_STDINT_H 1
93
94/* Define to 1 if you have the <stdlib.h> header file. */
95#define HAVE_STDLIB_H 1
96
97/* Define to 1 if you have the `strerror' function. */
98#define HAVE_STRERROR 1
99
100/* Define to 1 if you have the <strings.h> header file. */
101#define HAVE_STRINGS_H 1
102
103/* Define to 1 if you have the <string.h> header file. */
104#define HAVE_STRING_H 1
105
106/* Define to 1 if you have the `strlcat' function. */
107#define HAVE_STRLCAT 1
108
109/* Define to 1 if you have the `strlcpy' function. */
110#define HAVE_STRLCPY 1
111
112/* Define to 1 if you have the `strndup' function. */
113#define HAVE_STRNDUP 1
114
115/* Define to 1 if you have the `strtof' function. */
116#define HAVE_STRTOF 1
117
118/* Define to 1 if you have the `strtoul' function. */
119#define HAVE_STRTOUL 1
120
121/* HAVE_STRUCT_OPTION */
122#define HAVE_STRUCT_OPTION 1
123
124/* Define to 1 if `st_rdev' is a member of `struct stat'. */
125#define HAVE_STRUCT_STAT_ST_RDEV 1
126
127/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
128#define HAVE_STRUCT_TM_TM_GMTOFF 1
129
130/* Define to 1 if `tm_zone' is a member of `struct tm'. */
131#define HAVE_STRUCT_TM_TM_ZONE 1
132
133/* Define to 1 if you have the <sys/mman.h> header file. */
134#define HAVE_SYS_MMAN_H 1
135
136/* Define to 1 if you have the <sys/stat.h> header file. */
137#define HAVE_SYS_STAT_H 1
138
139/* Define to 1 if you have the <sys/time.h> header file. */
140#define HAVE_SYS_TIME_H 1
141
142/* Define to 1 if you have the <sys/types.h> header file. */
143#define HAVE_SYS_TYPES_H 1
144
145/* Define to 1 if you have the <sys/utime.h> header file. */
146/* #undef HAVE_SYS_UTIME_H */
147
148/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
149#define HAVE_SYS_WAIT_H 1
150
151/* HAVE_TM_ISDST */
152#define HAVE_TM_ISDST 1
153
154/* HAVE_TM_ZONE */
155#define HAVE_TM_ZONE 1
156
157/* HAVE_TZNAME */
158#define HAVE_TZNAME 1
159
160/* Define to 1 if the system has the type `uint16_t'. */
161#define HAVE_UINT16_T 1
162
163/* Define to 1 if the system has the type `uint32_t'. */
164#define HAVE_UINT32_T 1
165
166/* Define to 1 if the system has the type `uint64_t'. */
167#define HAVE_UINT64_T 1
168
169/* Define to 1 if the system has the type `uint8_t'. */
170#define HAVE_UINT8_T 1
171
172/* Define to 1 if you have the <unistd.h> header file. */
173#define HAVE_UNISTD_H 1
174
175/* Define to 1 if you have the `utime' function. */
176#define HAVE_UTIME 1
177
178/* Define to 1 if you have the `utimes' function. */
179#define HAVE_UTIMES 1
180
181/* Define to 1 if you have the <utime.h> header file. */
182#define HAVE_UTIME_H 1
183
184/* Define to 1 if you have the `vasprintf' function. */
185#define HAVE_VASPRINTF 1
186
187/* Define to 1 if you have the <wchar.h> header file. */
188#define HAVE_WCHAR_H 1
189
190/* Define to 1 if you have the <wctype.h> header file. */
191#define HAVE_WCTYPE_H 1
192
193/* Define to 1 if you have the `wcwidth' function. */
194#define HAVE_WCWIDTH 1
195
196/* Define to 1 if you have the <zlib.h> header file. */
197#define HAVE_ZLIB_H 1
198
199/* Define to the sub-directory in which libtool stores uninstalled libraries.
200   */
201#define LT_OBJDIR ".libs/"
202
203/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
204   */
205/* #undef MAJOR_IN_MKDEV */
206
207/* Define to 1 if `major', `minor', and `makedev' are declared in
208   <sysmacros.h>. */
209/* #undef MAJOR_IN_SYSMACROS */
210
211/* Define to 1 if your C compiler doesn't accept -c and -o together. */
212/* #undef NO_MINUS_C_MINUS_O */
213
214/* Name of package */
215#define PACKAGE "file"
216
217/* Define to the address where bug reports for this package should be sent. */
218#define PACKAGE_BUGREPORT "christos@astron.com"
219
220/* Define to the full name of this package. */
221#define PACKAGE_NAME "file"
222
223/* Define to the full name and version of this package. */
224#define PACKAGE_STRING "file 5.11"
225
226/* Define to the one symbol short name of this package. */
227#define PACKAGE_TARNAME "file"
228
229/* Define to the home page for this package. */
230#define PACKAGE_URL ""
231
232/* Define to the version of this package. */
233#define PACKAGE_VERSION "5.11"
234
235/* The size of `long long', as computed by sizeof. */
236#define SIZEOF_LONG_LONG 8
237
238/* Define to 1 if you have the ANSI C header files. */
239#define STDC_HEADERS 1
240
241/* Define to 1 if your <sys/time.h> declares `struct tm'. */
242/* #undef TM_IN_SYS_TIME */
243
244/* Enable extensions on AIX 3, Interix.  */
245#ifndef _ALL_SOURCE
246# define _ALL_SOURCE 1
247#endif
248/* Enable GNU extensions on systems that have them.  */
249#ifndef _GNU_SOURCE
250# define _GNU_SOURCE 1
251#endif
252/* Enable threading extensions on Solaris.  */
253#ifndef _POSIX_PTHREAD_SEMANTICS
254# define _POSIX_PTHREAD_SEMANTICS 1
255#endif
256/* Enable extensions on HP NonStop.  */
257#ifndef _TANDEM_SOURCE
258# define _TANDEM_SOURCE 1
259#endif
260/* Enable general extensions on Solaris.  */
261#ifndef __EXTENSIONS__
262# define __EXTENSIONS__ 1
263#endif
264
265
266/* Version number of package */
267#define VERSION "5.11"
268
269/* Number of bits in a file offset, on hosts where this is settable. */
270/* #undef _FILE_OFFSET_BITS */
271
272/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
273/* #undef _LARGEFILE_SOURCE */
274
275/* Define for large files, on AIX-style hosts. */
276/* #undef _LARGE_FILES */
277
278/* Define to 1 if on MINIX. */
279/* #undef _MINIX */
280
281/* Define to 2 if the system does not provide POSIX.1 features except with
282   this defined. */
283/* #undef _POSIX_1_SOURCE */
284
285/* Define to 1 if you need to in order for `stat' and other things to work. */
286/* #undef _POSIX_SOURCE */
287
288/* Define to empty if `const' does not conform to ANSI C. */
289/* #undef const */
290
291/* Define to a type if <wchar.h> does not define. */
292/* #undef mbstate_t */
293
294/* Define to `long int' if <sys/types.h> does not define. */
295/* #undef off_t */
296
297/* Define to `unsigned int' if <sys/types.h> does not define. */
298/* #undef size_t */
299
300
301#ifdef _FREEBSD_UNUSED_
302#ifndef HAVE_UINT8_T
303typedef unsigned char uint8_t;
304#endif
305#ifndef HAVE_UINT16_T
306typedef unsigned short uint16_t;
307#endif
308#ifndef HAVE_UINT32_T
309typedef unsigned int uint32_t;
310#endif
311#ifndef HAVE_INT32_T
312typedef int int32_t;
313#endif
314#ifndef HAVE_UINT64_T
315#if SIZEOF_LONG_LONG == 8
316typedef unsigned long long uint64_t;
317#else
318typedef unsigned long uint64_t;
319#endif
320#endif
321#ifndef HAVE_INT64_T
322#if SIZEOF_LONG_LONG == 8
323typedef long long int64_t;
324#else
325typedef long int64_t;
326#endif
327#endif
328#endif /* _FREEBSD_UNUSED_ */
329
330