config.h revision 277592
11638Srgrimes/* $FreeBSD: stable/10/lib/libmagic/config.h 277592 2015-01-23 18:48:59Z delphij $ */
252331Sache
31638Srgrimes/* Get __FreeBSD_version. */
4156813Sru#include <osreldate.h>
5156813Sru
656296Sru/* Only specific versions of FreeBSD support xlocale */
756296Sru#if __FreeBSD_version >= 1000002 || (__FreeBSD_version < 1000000 && __FreeBSD_version >= 900506)
8256366Srpaulo#define FREEBSD_XLOCALE_SUPPORT 1
9145003Sphk#endif
10124750Sru
11278054Sngie/* config.h.  Generated from config.h.in by configure.  */
12148675Sphk/* config.h.in.  Generated from configure.ac by autoheader.  */
13219019Sgabor
14257572Sbdrewery/* Define if building universal (internal helper macro) */
15148675Sphk/* #undef AC_APPLE_UNIVERSAL_BUILD */
16148675Sphk
17124750Sru/* Define in built-in ELF support is used */
18183242Ssam#define BUILTIN_ELF 1
19148736Sphk
20148736Sphk/* Define for ELF core file support */
21148736Sphk#define ELFCORE 1
22148736Sphk
23124750Sru/* Define to 1 if you have the `asctime_r' function. */
24124750Sru#define HAVE_ASCTIME_R 1
25183242Ssam
26148675Sphk/* Define to 1 if you have the `asprintf' function. */
27124750Sru#define HAVE_ASPRINTF 1
28124750Sru
29260037Sjmmv/* Define to 1 if you have the `ctime_r' function. */
30148736Sphk#define HAVE_CTIME_R 1
31267797Semaste
32171050Sremko/* HAVE_DAYLIGHT */
331638Srgrimes/* #undef HAVE_DAYLIGHT */
34183242Ssam
35183242Ssam/* Define to 1 if you have the declaration of `daylight', and to 0 if you
36183242Ssam   don't. */
37183242Ssam#define HAVE_DECL_DAYLIGHT 0
38183242Ssam
39183242Ssam/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
40278054Sngie   */
41278054Sngie#define HAVE_DECL_TZNAME 1
42278054Sngie
43278054Sngie/* Define to 1 if you have the <dlfcn.h> header file. */
44183242Ssam#define HAVE_DLFCN_H 1
45183697Sdes
46183242Ssam/* Define to 1 if you have the <err.h> header file. */
47183242Ssam#define HAVE_ERR_H 1
48183242Ssam
49183242Ssam/* Define to 1 if you have the <fcntl.h> header file. */
50183242Ssam#define HAVE_FCNTL_H 1
51183242Ssam
52183242Ssam/* Define to 1 if you have the `fmtcheck' function. */
53183242Ssam#define HAVE_FMTCHECK 1
54183242Ssam
55183242Ssam/* Define to 1 if you have the `fork' function. */
56219019Sgabor#define HAVE_FORK 1
57219019Sgabor
58219019Sgabor/* Define to 1 if you have the `freelocale' function. */
59219019Sgabor#ifdef FREEBSD_XLOCALE_SUPPORT
60156813Sru#define HAVE_FREELOCALE 1
61148736Sphk#endif
62148736Sphk
63148736Sphk/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
64148736Sphk#define HAVE_FSEEKO 1
65148736Sphk
66148736Sphk/* Define to 1 if you have the `getline' function. */
67148736Sphk#define HAVE_GETLINE 1
68148736Sphk
69183242Ssam/* Define to 1 if you have the <getopt.h> header file. */
70183242Ssam#define HAVE_GETOPT_H 1
71148675Sphk
72148675Sphk/* Define to 1 if you have the `getopt_long' function. */
73156813Sru#define HAVE_GETOPT_LONG 1
74148675Sphk
75148675Sphk/* Define to 1 if you have the `getpagesize' function. */
76148675Sphk#define HAVE_GETPAGESIZE 1
77156813Sru
78124750Sru/* Define to 1 if the system has the type `intptr_t'. */
7966940Sgshapiro#define HAVE_INTPTR_T 1
8066940Sgshapiro
81156813Sru/* Define to 1 if you have the <inttypes.h> header file. */
82124750Sru#define HAVE_INTTYPES_H 1
83124750Sru
84124750Sru/* Define to 1 if you have the `gnurx' library (-lgnurx). */
85183242Ssam/* #undef HAVE_LIBGNURX */
86183242Ssam
87183242Ssam/* Define to 1 if you have the `z' library (-lz). */
88183242Ssam#define HAVE_LIBZ 1
89260037Sjmmv
90260037Sjmmv/* Define to 1 if you have the <limits.h> header file. */
91260037Sjmmv#define HAVE_LIMITS_H 1
92260037Sjmmv
93268399Semaste/* Define to 1 if you have the <locale.h> header file. */
94267797Semaste#define HAVE_LOCALE_H 1
95267797Semaste
96267797Semaste/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
97171050Sremko#define HAVE_MBRTOWC 1
98171050Sremko
99171050Sremko/* Define to 1 if <wchar.h> declares mbstate_t. */
100171050Sremko#define HAVE_MBSTATE_T 1
101291792Sbdrewery
102291792Sbdrewery/* Define to 1 if you have the <memory.h> header file. */
1031638Srgrimes#define HAVE_MEMORY_H 1
104
105/* Define to 1 if you have the `mkostemp' function. */
106#define HAVE_MKOSTEMP 1
107
108/* Define to 1 if you have the `mkstemp' function. */
109#define HAVE_MKSTEMP 1
110
111/* Define to 1 if you have a working `mmap' system call. */
112#define HAVE_MMAP 1
113
114/* Define to 1 if you have the `newlocale' function. */
115#ifdef FREEBSD_XLOCALE_SUPPORT
116#define HAVE_NEWLOCALE 1
117#endif
118
119/* Define to 1 if you have the `pread' function. */
120#define HAVE_PREAD 1
121
122/* Define to 1 if you have the `setlocale' function. */
123#define HAVE_SETLOCALE 1
124
125/* Define to 1 if you have the <stddef.h> header file. */
126#define HAVE_STDDEF_H 1
127
128/* Define to 1 if you have the <stdint.h> header file. */
129#define HAVE_STDINT_H 1
130
131/* Define to 1 if you have the <stdlib.h> header file. */
132#define HAVE_STDLIB_H 1
133
134/* Define to 1 if you have the `strcasestr' function. */
135#define HAVE_STRCASESTR 1
136
137/* Define to 1 if you have the `strerror' function. */
138#define HAVE_STRERROR 1
139
140/* Define to 1 if you have the <strings.h> header file. */
141#define HAVE_STRINGS_H 1
142
143/* Define to 1 if you have the <string.h> header file. */
144#define HAVE_STRING_H 1
145
146/* Define to 1 if you have the `strlcat' function. */
147#define HAVE_STRLCAT 1
148
149/* Define to 1 if you have the `strlcpy' function. */
150#define HAVE_STRLCPY 1
151
152/* Define to 1 if you have the `strndup' function. */
153#define HAVE_STRNDUP 1
154
155/* Define to 1 if you have the `strtof' function. */
156#define HAVE_STRTOF 1
157
158/* Define to 1 if you have the `strtoul' function. */
159#define HAVE_STRTOUL 1
160
161/* HAVE_STRUCT_OPTION */
162#define HAVE_STRUCT_OPTION 1
163
164/* Define to 1 if `st_rdev' is a member of `struct stat'. */
165#define HAVE_STRUCT_STAT_ST_RDEV 1
166
167/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
168#define HAVE_STRUCT_TM_TM_GMTOFF 1
169
170/* Define to 1 if `tm_zone' is a member of `struct tm'. */
171#define HAVE_STRUCT_TM_TM_ZONE 1
172
173/* Define to 1 if you have the <sys/mman.h> header file. */
174#define HAVE_SYS_MMAN_H 1
175
176/* Define to 1 if you have the <sys/param.h> header file. */
177#define HAVE_SYS_PARAM_H 1
178
179/* Define to 1 if you have the <sys/stat.h> header file. */
180#define HAVE_SYS_STAT_H 1
181
182/* Define to 1 if you have the <sys/time.h> header file. */
183#define HAVE_SYS_TIME_H 1
184
185/* Define to 1 if you have the <sys/types.h> header file. */
186#define HAVE_SYS_TYPES_H 1
187
188/* Define to 1 if you have the <sys/utime.h> header file. */
189/* #undef HAVE_SYS_UTIME_H */
190
191/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
192#define HAVE_SYS_WAIT_H 1
193
194/* HAVE_TM_ISDST */
195#define HAVE_TM_ISDST 1
196
197/* HAVE_TM_ZONE */
198#define HAVE_TM_ZONE 1
199
200/* HAVE_TZNAME */
201#define HAVE_TZNAME 1
202
203/* Define to 1 if the system has the type `uintptr_t'. */
204#define HAVE_UINTPTR_T 1
205
206/* Define to 1 if you have the <unistd.h> header file. */
207#define HAVE_UNISTD_H 1
208
209/* Define to 1 if you have the `uselocale' function. */
210#ifdef FREEBSD_XLOCALE_SUPPORT
211#define HAVE_USELOCALE 1
212#endif
213
214/* Define to 1 if you have the `utime' function. */
215#define HAVE_UTIME 1
216
217/* Define to 1 if you have the `utimes' function. */
218#define HAVE_UTIMES 1
219
220/* Define to 1 if you have the <utime.h> header file. */
221#define HAVE_UTIME_H 1
222
223/* Define to 1 if you have the `vasprintf' function. */
224#define HAVE_VASPRINTF 1
225
226/* Define to 1 if you have the `vfork' function. */
227#define HAVE_VFORK 1
228
229/* Define to 1 if you have the <vfork.h> header file. */
230/* #undef HAVE_VFORK_H */
231
232/* Define to 1 or 0, depending whether the compiler supports simple visibility
233   declarations. */
234#define HAVE_VISIBILITY 1
235
236/* Define to 1 if you have the <wchar.h> header file. */
237#define HAVE_WCHAR_H 1
238
239/* Define to 1 if you have the <wctype.h> header file. */
240#define HAVE_WCTYPE_H 1
241
242/* Define to 1 if you have the `wcwidth' function. */
243#define HAVE_WCWIDTH 1
244
245/* Define to 1 if `fork' works. */
246#define HAVE_WORKING_FORK 1
247
248/* Define to 1 if `vfork' works. */
249#define HAVE_WORKING_VFORK 1
250
251/* Define to 1 if you have the <xlocale.h> header file. */
252#ifdef FREEBSD_XLOCALE_SUPPORT
253#define HAVE_XLOCALE_H 1
254#endif
255
256/* Define to 1 if you have the <zlib.h> header file. */
257#define HAVE_ZLIB_H 1
258
259/* Define to the sub-directory in which libtool stores uninstalled libraries.
260   */
261#define LT_OBJDIR ".libs/"
262
263/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
264   */
265/* #undef MAJOR_IN_MKDEV */
266
267/* Define to 1 if `major', `minor', and `makedev' are declared in
268   <sysmacros.h>. */
269/* #undef MAJOR_IN_SYSMACROS */
270
271/* Name of package */
272#define PACKAGE "file"
273
274/* Define to the address where bug reports for this package should be sent. */
275#define PACKAGE_BUGREPORT "christos@astron.com"
276
277/* Define to the full name of this package. */
278#define PACKAGE_NAME "file"
279
280/* Define to the full name and version of this package. */
281#define PACKAGE_STRING "file 5.22"
282
283/* Define to the one symbol short name of this package. */
284#define PACKAGE_TARNAME "file"
285
286/* Define to the home page for this package. */
287#define PACKAGE_URL ""
288
289/* Define to the version of this package. */
290#define PACKAGE_VERSION "5.22"
291
292/* Define to 1 if you have the ANSI C header files. */
293#define STDC_HEADERS 1
294
295/* Define to 1 if your <sys/time.h> declares `struct tm'. */
296/* #undef TM_IN_SYS_TIME */
297
298/* Enable extensions on AIX 3, Interix.  */
299#ifndef _ALL_SOURCE
300# define _ALL_SOURCE 1
301#endif
302/* Enable GNU extensions on systems that have them.  */
303#ifndef _GNU_SOURCE
304# define _GNU_SOURCE 1
305#endif
306/* Enable threading extensions on Solaris.  */
307#ifndef _POSIX_PTHREAD_SEMANTICS
308# define _POSIX_PTHREAD_SEMANTICS 1
309#endif
310/* Enable extensions on HP NonStop.  */
311#ifndef _TANDEM_SOURCE
312# define _TANDEM_SOURCE 1
313#endif
314/* Enable general extensions on Solaris.  */
315#ifndef __EXTENSIONS__
316# define __EXTENSIONS__ 1
317#endif
318
319
320/* Version number of package */
321#define VERSION "5.22"
322
323/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
324   significant byte first (like Motorola and SPARC, unlike Intel). */
325#if defined AC_APPLE_UNIVERSAL_BUILD
326# if defined __BIG_ENDIAN__
327#  define WORDS_BIGENDIAN 1
328# endif
329#else
330# ifndef WORDS_BIGENDIAN
331/* #  undef WORDS_BIGENDIAN */
332# endif
333#endif
334
335/* Enable large inode numbers on Mac OS X 10.5.  */
336#ifndef _DARWIN_USE_64_BIT_INODE
337# define _DARWIN_USE_64_BIT_INODE 1
338#endif
339
340/* Number of bits in a file offset, on hosts where this is settable. */
341/* #undef _FILE_OFFSET_BITS */
342
343/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
344/* #undef _LARGEFILE_SOURCE */
345
346/* Define for large files, on AIX-style hosts. */
347/* #undef _LARGE_FILES */
348
349/* Define to 1 if on MINIX. */
350/* #undef _MINIX */
351
352/* Define to 2 if the system does not provide POSIX.1 features except with
353   this defined. */
354/* #undef _POSIX_1_SOURCE */
355
356/* Define to 1 if you need to in order for `stat' and other things to work. */
357/* #undef _POSIX_SOURCE */
358
359/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
360   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
361   #define below would cause a syntax error. */
362/* #undef _UINT32_T */
363
364/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
365   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
366   #define below would cause a syntax error. */
367/* #undef _UINT64_T */
368
369/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
370   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
371   #define below would cause a syntax error. */
372/* #undef _UINT8_T */
373
374/* Define to empty if `const' does not conform to ANSI C. */
375/* #undef const */
376
377/* Define to the type of a signed integer type of width exactly 32 bits if
378   such a type exists and the standard includes do not define it. */
379/* #undef int32_t */
380
381/* Define to the type of a signed integer type of width exactly 64 bits if
382   such a type exists and the standard includes do not define it. */
383/* #undef int64_t */
384
385/* Define to the type of a signed integer type wide enough to hold a pointer,
386   if such a type exists, and if the system does not define it. */
387/* #undef intptr_t */
388
389/* Define to a type if <wchar.h> does not define. */
390/* #undef mbstate_t */
391
392/* Define to `long int' if <sys/types.h> does not define. */
393/* #undef off_t */
394
395/* Define to `int' if <sys/types.h> does not define. */
396/* #undef pid_t */
397
398/* Define to `unsigned int' if <sys/types.h> does not define. */
399/* #undef size_t */
400
401/* Define to the type of an unsigned integer type of width exactly 16 bits if
402   such a type exists and the standard includes do not define it. */
403/* #undef uint16_t */
404
405/* Define to the type of an unsigned integer type of width exactly 32 bits if
406   such a type exists and the standard includes do not define it. */
407/* #undef uint32_t */
408
409/* Define to the type of an unsigned integer type of width exactly 64 bits if
410   such a type exists and the standard includes do not define it. */
411/* #undef uint64_t */
412
413/* Define to the type of an unsigned integer type of width exactly 8 bits if
414   such a type exists and the standard includes do not define it. */
415/* #undef uint8_t */
416
417/* Define to the type of an unsigned integer type wide enough to hold a
418   pointer, if such a type exists, and if the system does not define it. */
419/* #undef uintptr_t */
420
421/* Define as `fork' if `vfork' does not work. */
422/* #undef vfork */
423