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