]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - lib/libmagic/config.h
MFC r363988:
[FreeBSD/stable/9.git] / lib / libmagic / config.h
1 /* $FreeBSD$ */
2
3 /* Get __FreeBSD_version. */
4 #include <osreldate.h>
5
6 /* Only specific versions of FreeBSD support xlocale */
7 #if __FreeBSD_version >= 1000002 || (__FreeBSD_version < 1000000 && __FreeBSD_version >= 900506)
8 #define FREEBSD_XLOCALE_SUPPORT 1
9 #endif
10
11 /* config.h.  Generated from config.h.in by configure.  */
12 /* config.h.in.  Generated from configure.ac by autoheader.  */
13
14 /* Define if building universal (internal helper macro) */
15 /* #undef AC_APPLE_UNIVERSAL_BUILD */
16
17 /* Define in built-in ELF support is used */
18 #define BUILTIN_ELF 1
19
20 /* Define for ELF core file support */
21 #define ELFCORE 1
22
23 /* Define to 1 if you have the `asctime_r' function. */
24 #define HAVE_ASCTIME_R 1
25
26 /* Define to 1 if you have the `asprintf' function. */
27 #define HAVE_ASPRINTF 1
28
29 /* Define to 1 if you have the `ctime_r' function. */
30 #define HAVE_CTIME_R 1
31
32 /* HAVE_DAYLIGHT */
33 /* #undef HAVE_DAYLIGHT */
34
35 /* Define to 1 if you have the declaration of `daylight', and to 0 if you
36    don't. */
37 #define HAVE_DECL_DAYLIGHT 0
38
39 /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
40    */
41 #define HAVE_DECL_TZNAME 1
42
43 /* Define to 1 if you have the <dlfcn.h> header file. */
44 #define HAVE_DLFCN_H 1
45
46 /* Define to 1 if you have the `dprintf' function. */
47 #define HAVE_DPRINTF 1
48
49 /* Define to 1 if you have the <err.h> header file. */
50 #define HAVE_ERR_H 1
51
52 /* Define to 1 if you have the <fcntl.h> header file. */
53 #define HAVE_FCNTL_H 1
54
55 /* Define to 1 if you have the `fmtcheck' function. */
56 #define HAVE_FMTCHECK 1
57
58 /* Define to 1 if you have the `fork' function. */
59 #define HAVE_FORK 1
60
61 /* Define to 1 if you have the `freelocale' function. */
62 #ifdef FREEBSD_XLOCALE_SUPPORT
63 #define HAVE_FREELOCALE 1
64 #endif
65
66 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
67 #define HAVE_FSEEKO 1
68
69 /* Define to 1 if you have the `getline' function. */
70 #ifndef HOSTPROG
71 #define HAVE_GETLINE 1
72 #endif
73
74 /* Define to 1 if you have the <getopt.h> header file. */
75 #define HAVE_GETOPT_H 1
76
77 /* Define to 1 if you have the `getopt_long' function. */
78 #define HAVE_GETOPT_LONG 1
79
80 /* Define to 1 if you have the `getpagesize' function. */
81 #define HAVE_GETPAGESIZE 1
82
83 /* Define to 1 if you have the `gmtime_r' function. */
84 #define HAVE_GMTIME_R 1
85
86 /* Define to 1 if the system has the type `intptr_t'. */
87 #define HAVE_INTPTR_T 1
88
89 /* Define to 1 if you have the <inttypes.h> header file. */
90 #define HAVE_INTTYPES_H 1
91
92 /* Define to 1 if you have the `gnurx' library (-lgnurx). */
93 /* #undef HAVE_LIBGNURX */
94
95 /* Define to 1 if you have the `z' library (-lz). */
96 #define HAVE_LIBZ 1
97
98 /* Define to 1 if you have the <limits.h> header file. */
99 #define HAVE_LIMITS_H 1
100
101 /* Define to 1 if you have the <locale.h> header file. */
102 #define HAVE_LOCALE_H 1
103
104 /* Define to 1 if you have the `localtime_r' function. */
105 #define HAVE_LOCALTIME_R 1
106
107 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
108 #define HAVE_MBRTOWC 1
109
110 /* Define to 1 if <wchar.h> declares mbstate_t. */
111 #define HAVE_MBSTATE_T 1
112
113 /* Define to 1 if you have the <memory.h> header file. */
114 #define HAVE_MEMORY_H 1
115
116 /* Define to 1 if you have the `mkostemp' function. */
117 #define HAVE_MKOSTEMP 1
118
119 /* Define to 1 if you have the `mkstemp' function. */
120 #define HAVE_MKSTEMP 1
121
122 /* Define to 1 if you have a working `mmap' system call. */
123 #define HAVE_MMAP 1
124
125 /* Define to 1 if you have the `newlocale' function. */
126 #ifdef FREEBSD_XLOCALE_SUPPORT
127 #define HAVE_NEWLOCALE 1
128 #endif
129
130 /* Define to 1 if you have the `pread' function. */
131 #define HAVE_PREAD 1
132
133 /* Define to 1 if you have the `setlocale' function. */
134 #define HAVE_SETLOCALE 1
135
136 /* Define to 1 if you have the <signal.h> header file. */
137 #define HAVE_SIGNAL_H 1
138
139 /* Have sig_t type */
140 #define HAVE_SIG_T 1
141
142 /* Define to 1 if you have the <stddef.h> header file. */
143 #define HAVE_STDDEF_H 1
144
145 /* Define to 1 if you have the <stdint.h> header file. */
146 #define HAVE_STDINT_H 1
147
148 /* Define to 1 if you have the <stdlib.h> header file. */
149 #define HAVE_STDLIB_H 1
150
151 /* Define to 1 if you have the `strcasestr' function. */
152 #define HAVE_STRCASESTR 1
153
154 /* Define to 1 if you have the `strerror' function. */
155 #define HAVE_STRERROR 1
156
157 /* Define to 1 if you have the <strings.h> header file. */
158 #define HAVE_STRINGS_H 1
159
160 /* Define to 1 if you have the <string.h> header file. */
161 #define HAVE_STRING_H 1
162
163 /* Define to 1 if you have the `strlcat' function. */
164 #define HAVE_STRLCAT 1
165
166 /* Define to 1 if you have the `strlcpy' function. */
167 #define HAVE_STRLCPY 1
168
169 /* Define to 1 if you have the `strndup' function. */
170 #define HAVE_STRNDUP 1
171
172 /* Define to 1 if you have the `strtof' function. */
173 #define HAVE_STRTOF 1
174
175 /* Define to 1 if you have the `strtoul' function. */
176 #define HAVE_STRTOUL 1
177
178 /* HAVE_STRUCT_OPTION */
179 #define HAVE_STRUCT_OPTION 1
180
181 /* Define to 1 if `st_rdev' is a member of `struct stat'. */
182 #define HAVE_STRUCT_STAT_ST_RDEV 1
183
184 /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
185 #define HAVE_STRUCT_TM_TM_GMTOFF 1
186
187 /* Define to 1 if `tm_zone' is a member of `struct tm'. */
188 #define HAVE_STRUCT_TM_TM_ZONE 1
189
190 /* Define to 1 if you have the <sys/mman.h> header file. */
191 #define HAVE_SYS_MMAN_H 1
192
193 /* Define to 1 if you have the <sys/param.h> header file. */
194 #define HAVE_SYS_PARAM_H 1
195
196 /* Define to 1 if you have the <sys/stat.h> header file. */
197 #define HAVE_SYS_STAT_H 1
198
199 /* Define to 1 if you have the <sys/time.h> header file. */
200 #define HAVE_SYS_TIME_H 1
201
202 /* Define to 1 if you have the <sys/types.h> header file. */
203 #define HAVE_SYS_TYPES_H 1
204
205 /* Define to 1 if you have the <sys/utime.h> header file. */
206 /* #undef HAVE_SYS_UTIME_H */
207
208 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
209 #define HAVE_SYS_WAIT_H 1
210
211 /* HAVE_TM_ISDST */
212 #define HAVE_TM_ISDST 1
213
214 /* HAVE_TM_ZONE */
215 #define HAVE_TM_ZONE 1
216
217 /* HAVE_TZNAME */
218 #define HAVE_TZNAME 1
219
220 /* Define to 1 if the system has the type `uintptr_t'. */
221 #define HAVE_UINTPTR_T 1
222
223 /* Define to 1 if you have the <unistd.h> header file. */
224 #define HAVE_UNISTD_H 1
225
226 /* Define to 1 if you have the `uselocale' function. */
227 #ifdef FREEBSD_XLOCALE_SUPPORT
228 #define HAVE_USELOCALE 1
229 #endif
230
231 /* Define to 1 if you have the `utime' function. */
232 #define HAVE_UTIME 1
233
234 /* Define to 1 if you have the `utimes' function. */
235 #define HAVE_UTIMES 1
236
237 /* Define to 1 if you have the <utime.h> header file. */
238 #define HAVE_UTIME_H 1
239
240 /* Define to 1 if you have the `vasprintf' function. */
241 #define HAVE_VASPRINTF 1
242
243 /* Define to 1 if you have the `vfork' function. */
244 #define HAVE_VFORK 1
245
246 /* Define to 1 if you have the <vfork.h> header file. */
247 /* #undef HAVE_VFORK_H */
248
249 /* Define to 1 or 0, depending whether the compiler supports simple visibility
250    declarations. */
251 #define HAVE_VISIBILITY 1
252
253 /* Define to 1 if you have the <wchar.h> header file. */
254 #define HAVE_WCHAR_H 1
255
256 /* Define to 1 if you have the <wctype.h> header file. */
257 #define HAVE_WCTYPE_H 1
258
259 /* Define to 1 if you have the `wcwidth' function. */
260 #define HAVE_WCWIDTH 1
261
262 /* Define to 1 if `fork' works. */
263 #define HAVE_WORKING_FORK 1
264
265 /* Define to 1 if `vfork' works. */
266 #define HAVE_WORKING_VFORK 1
267
268 /* Define to 1 if you have the <xlocale.h> header file. */
269 #ifdef FREEBSD_XLOCALE_SUPPORT
270 #define HAVE_XLOCALE_H 1
271 #endif
272
273 /* Define to 1 if you have the <zlib.h> header file. */
274 #define HAVE_ZLIB_H 1
275
276 /* Define to the sub-directory in which libtool stores uninstalled libraries.
277    */
278 #define LT_OBJDIR ".libs/"
279
280 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
281    */
282 /* #undef MAJOR_IN_MKDEV */
283
284 /* Define to 1 if `major', `minor', and `makedev' are declared in
285    <sysmacros.h>. */
286 /* #undef MAJOR_IN_SYSMACROS */
287
288 /* Name of package */
289 #define PACKAGE "file"
290
291 /* Define to the address where bug reports for this package should be sent. */
292 #define PACKAGE_BUGREPORT "christos@astron.com"
293
294 /* Define to the full name of this package. */
295 #define PACKAGE_NAME "file"
296
297 /* Define to the full name and version of this package. */
298 #define PACKAGE_STRING "file 5.29"
299
300 /* Define to the one symbol short name of this package. */
301 #define PACKAGE_TARNAME "file"
302
303 /* Define to the home page for this package. */
304 #define PACKAGE_URL ""
305
306 /* Define to the version of this package. */
307 #define PACKAGE_VERSION "5.29"
308
309 /* Define to 1 if you have the ANSI C header files. */
310 #define STDC_HEADERS 1
311
312 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
313 /* #undef TM_IN_SYS_TIME */
314
315 /* Enable extensions on AIX 3, Interix.  */
316 #ifndef _ALL_SOURCE
317 # define _ALL_SOURCE 1
318 #endif
319 /* Enable GNU extensions on systems that have them.  */
320 #ifndef _GNU_SOURCE
321 # define _GNU_SOURCE 1
322 #endif
323 /* Enable threading extensions on Solaris.  */
324 #ifndef _POSIX_PTHREAD_SEMANTICS
325 # define _POSIX_PTHREAD_SEMANTICS 1
326 #endif
327 /* Enable extensions on HP NonStop.  */
328 #ifndef _TANDEM_SOURCE
329 # define _TANDEM_SOURCE 1
330 #endif
331 /* Enable general extensions on Solaris.  */
332 #ifndef __EXTENSIONS__
333 # define __EXTENSIONS__ 1
334 #endif
335
336
337 /* Version number of package */
338 #define VERSION "5.29"
339
340 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
341    significant byte first (like Motorola and SPARC, unlike Intel). */
342 #if defined AC_APPLE_UNIVERSAL_BUILD
343 # if defined __BIG_ENDIAN__
344 #  define WORDS_BIGENDIAN 1
345 # endif
346 #else
347 # ifndef WORDS_BIGENDIAN
348 /* #  undef WORDS_BIGENDIAN */
349 # endif
350 #endif
351
352 /* Enable zlib compression support */
353 #define ZLIBSUPPORT 1
354
355 /* Enable large inode numbers on Mac OS X 10.5.  */
356 #ifndef _DARWIN_USE_64_BIT_INODE
357 # define _DARWIN_USE_64_BIT_INODE 1
358 #endif
359
360 /* Number of bits in a file offset, on hosts where this is settable. */
361 /* #undef _FILE_OFFSET_BITS */
362
363 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
364 /* #undef _LARGEFILE_SOURCE */
365
366 /* Define for large files, on AIX-style hosts. */
367 /* #undef _LARGE_FILES */
368
369 /* Define to 1 if on MINIX. */
370 /* #undef _MINIX */
371
372 /* Define to 2 if the system does not provide POSIX.1 features except with
373    this defined. */
374 /* #undef _POSIX_1_SOURCE */
375
376 /* Define to 1 if you need to in order for `stat' and other things to work. */
377 /* #undef _POSIX_SOURCE */
378
379 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
380    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
381    #define below would cause a syntax error. */
382 /* #undef _UINT32_T */
383
384 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
385    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
386    #define below would cause a syntax error. */
387 /* #undef _UINT64_T */
388
389 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
390    <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
391    #define below would cause a syntax error. */
392 /* #undef _UINT8_T */
393
394 /* Define to empty if `const' does not conform to ANSI C. */
395 /* #undef const */
396
397 /* Define to the type of a signed integer type of width exactly 32 bits if
398    such a type exists and the standard includes do not define it. */
399 /* #undef int32_t */
400
401 /* Define to the type of a signed integer type of width exactly 64 bits if
402    such a type exists and the standard includes do not define it. */
403 /* #undef int64_t */
404
405 /* Define to the type of a signed integer type wide enough to hold a pointer,
406    if such a type exists, and if the system does not define it. */
407 /* #undef intptr_t */
408
409 /* Define to a type if <wchar.h> does not define. */
410 /* #undef mbstate_t */
411
412 /* Define to `long int' if <sys/types.h> does not define. */
413 /* #undef off_t */
414
415 /* Define to `int' if <sys/types.h> does not define. */
416 /* #undef pid_t */
417
418 /* Define to `unsigned int' if <sys/types.h> does not define. */
419 /* #undef size_t */
420
421 /* Define to the type of an unsigned integer type of width exactly 16 bits if
422    such a type exists and the standard includes do not define it. */
423 /* #undef uint16_t */
424
425 /* Define to the type of an unsigned integer type of width exactly 32 bits if
426    such a type exists and the standard includes do not define it. */
427 /* #undef uint32_t */
428
429 /* Define to the type of an unsigned integer type of width exactly 64 bits if
430    such a type exists and the standard includes do not define it. */
431 /* #undef uint64_t */
432
433 /* Define to the type of an unsigned integer type of width exactly 8 bits if
434    such a type exists and the standard includes do not define it. */
435 /* #undef uint8_t */
436
437 /* Define to the type of an unsigned integer type wide enough to hold a
438    pointer, if such a type exists, and if the system does not define it. */
439 /* #undef uintptr_t */
440
441 /* Define as `fork' if `vfork' does not work. */
442 /* #undef vfork */