1 /* config.h.  Generated from config.h.in by configure.  */
2 /* config.h.in.  Generated from configure.ac by autoheader.  */
3 #ifndef CONFIG_H_INCLUDED
4 #define	CONFIG_H_INCLUDED
5 
6 ///////////////////////////////////////////////////////////////////////////
7 //  Check for Watcom and Microsoft Visual C compilers (WIN32 only)  ///////
8 ///////////////////////////////////////////////////////////////////////////
9 #if (defined(__WIN32__) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__)
10   #define	IS_WIN32  1
11 
12   #if defined(__TURBOC__) || defined(__BORLANDC__) /* Borland compilers */
13   #elif defined( __WATCOMC__ ) || defined(__WATCOMCPP__) /* Watcom compilers */
14     #define	IS_WATCOM  1
15     /* Define to 1 if __INT64 is defined */
16   #elif defined(__IBMC__) || defined(__IBMCPP__) /* IBM compilers */
17   #elif defined( __SC__ ) /* Symantec C++ compilers */
18   #elif defined( M_I86 ) && defined( MSDOS ) /* Microsoft DOS/Win 16 compilers */
19   #elif defined( _M_IX86 ) || defined( _68K_ ) /* Microsoft Win32 compilers */
20     #define	IS_VISUALC 1
21     /* Define to 1 if __INT64 is defined */
22   #else
23   #endif
24 
25   /* Define to 1 if UID should be unsigned */
26   #define	USE_UNSIGNED_UID 1
27 
28   /* Define to 1 if UID should be unsigned */
29   #define	USE_UNSIGNED_GID 1
30 #endif
31 ///////////////////////////////////////////////////////////////////////////
32 ///////////////////////////////////////////////////////////////////////////
33 
34 /* Define to 1 if you have the `acl_create_entry' function. */
35 /* #undef HAVE_ACL_CREATE_ENTRY */
36 
37 /* Define to 1 if you have the `acl_get_perm' function. */
38 /* #undef HAVE_ACL_GET_PERM */
39 
40 /* Define to 1 if you have the `acl_get_perm_np' function. */
41 /* #undef HAVE_ACL_GET_PERM_NP */
42 
43 /* Define to 1 if you have the `acl_init' function. */
44 /* #undef HAVE_ACL_INIT */
45 
46 /* Define to 1 if the system has the type `acl_permset_t'. */
47 /* #undef HAVE_ACL_PERMSET_T */
48 
49 /* Define to 1 if you have the `acl_set_fd' function. */
50 /* #undef HAVE_ACL_SET_FD */
51 
52 /* Define to 1 if you have the `acl_set_fd_np' function. */
53 /* #undef HAVE_ACL_SET_FD_NP */
54 
55 /* Define to 1 if you have the `acl_set_file' function. */
56 /* #undef HAVE_ACL_SET_FILE */
57 
58 /* True for systems with POSIX ACL support */
59 /* #undef HAVE_ACL_USER */
60 
61 /* Define to 1 if you have the <attr/xattr.h> header file. */
62 /* #undef HAVE_ATTR_XATTR_H */
63 
64 /* Define to 1 if you have the <bzlib.h> header file. */
65 /* #undef HAVE_BZLIB_H */
66 
67 /* Define to 1 if you have the `chflags' function. */
68 /* #undef HAVE_CHFLAGS */
69 
70 /* Define to 1 if you have the `chown' function. */
71 /* #undef HAVE_CHOWN */
72 
73 /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you
74    don't. */
75 #if defined(_MSC_VER)
76 /* #undef HAVE_DECL_INT64_MAX */
77 #else
78 #define	HAVE_DECL_INT64_MAX 1
79 #endif
80 
81 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you
82    don't. */
83 #if defined(_MSC_VER)
84 /* #undef HAVE_DECL_INT64_MIN */
85 #else
86 #define	HAVE_DECL_INT64_MIN 1
87 #endif
88 
89 /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
90    */
91 /* #undef HAVE_DECL_OPTARG */
92 
93 /* Define to 1 if you have the declaration of `optind', and to 0 if you don't.
94    */
95 /* #undef HAVE_DECL_OPTIND */
96 
97 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you
98    don't. */
99 #if defined(_MSC_VER)
100 	#if _MSC_VER >= 1400
101 	#define	HAVE_DECL_SIZE_MAX 1
102 	#else
103 	/* #undef HAVE_DECL_SIZE_MAX */
104 	#endif
105 #else
106 #define	HAVE_DECL_SIZE_MAX 1
107 #endif
108 
109 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you
110    don't. */
111 /* #undef HAVE_DECL_SSIZE_MAX */
112 
113 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
114    don't. */
115 /* #undef HAVE_DECL_STRERROR_R */
116 
117 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you
118    don't. */
119 #if defined(_MSC_VER)
120 /* #undef HAVE_DECL_UINT32_MAX */
121 #else
122 #define	HAVE_DECL_UINT32_MAX 1
123 #endif
124 
125 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you
126    don't. */
127 #if defined(_MSC_VER)
128 /* #undef HAVE_DECL_UINT64_MAX */
129 #else
130 #define	HAVE_DECL_UINT64_MAX 1
131 #endif
132 
133 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
134    */
135 /* #undef HAVE_DIRENT_H */
136 
137 /* Define to 1 if you have the <dlfcn.h> header file. */
138 /* #undef HAVE_DLFCN_H */
139 
140 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
141 /* #undef HAVE_DOPRNT */
142 
143 /* Define to 1 if nl_langinfo supports D_MD_ORDER */
144 /* #undef HAVE_D_MD_ORDER */
145 
146 /* A possible errno value for invalid file format errors */
147 /* #undef HAVE_EFTYPE */
148 
149 /* A possible errno value for invalid file format errors */
150 #define	HAVE_EILSEQ 1
151 
152 /* Define to 1 if you have the <errno.h> header file. */
153 #define	HAVE_ERRNO_H 1
154 
155 /* Define to 1 if you have the <ext2fs/ext2_fs.h> header file. */
156 /* #undef HAVE_EXT2FS_EXT2_FS_H */
157 
158 /* Define to 1 if you have the `fchdir' function. */
159 /* #undef HAVE_FCHDIR */
160 
161 /* Define to 1 if you have the `fchflags' function. */
162 /* #undef HAVE_FCHFLAGS */
163 
164 /* Define to 1 if you have the `fchmod' function. */
165 /* #undef HAVE_FCHMOD */
166 
167 /* Define to 1 if you have the `fchown' function. */
168 /* #undef HAVE_FCHOWN */
169 
170 /* Define to 1 if you have the <fcntl.h> header file. */
171 #define	HAVE_FCNTL_H 1
172 
173 /* Define to 1 if you have the fcntl() function. */
174 /* #undef HAVE_FCNTL_FN */
175 
176 /* Define to 1 if your system has a working POSIX `fnmatch' function. */
177 /* #undef HAVE_FNMATCH */
178 
179 /* Define to 1 if fnmatch(3) supports the FNM_LEADING_DIR flag */
180 /* #undef HAVE_FNM_LEADING_DIR */
181 
182 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
183 /* #undef HAVE_FSEEKO */
184 
185 /* Define to 1 if you have the `fsetxattr' function. */
186 /* #undef HAVE_FSETXATTR */
187 
188 /* Define to 1 if you have the `ftruncate' function. */
189 #define HAVE_FTRUNCATE 1
190 
191 /* Define to 1 if you have the `futimes' function. */
192 #define HAVE_FUTIMES 1
193 
194 /* Define to 1 if you have the `geteuid' function. */
195 /* #undef HAVE_GETEUID */
196 
197 /* Define to 1 if you have the `getxattr' function. */
198 /* #undef HAVE_GETXATTR */
199 
200 /* Define to 1 if you have the <grp.h> header file. */
201 /* #undef HAVE_GRP_H */
202 
203 /* Define to 1 if the system has the type `intmax_t'. */
204 /* #undef HAVE_INTMAX_T */
205 
206 /* Define to 1 if you have the <inttypes.h> header file. */
207 /* #undef HAVE_INTTYPES_H */
208 
209 /* Define to 1 if you have the <langinfo.h> header file. */
210 /* #undef HAVE_LANGINFO_H */
211 
212 /* Define to 1 if you have the `lchflags' function. */
213 /* #undef HAVE_LCHFLAGS */
214 
215 /* Define to 1 if you have the `lchmod' function. */
216 /* #undef HAVE_LCHMOD */
217 
218 /* Define to 1 if you have the `lchown' function. */
219 /* #undef HAVE_LCHOWN */
220 
221 /* Define to 1 if you have the `lgetxattr' function. */
222 /* #undef HAVE_LGETXATTR */
223 
224 /* Define to 1 if you have the `acl' library (-lacl). */
225 /* #undef HAVE_LIBACL */
226 
227 /* Define to 1 if you have the `attr' library (-lattr). */
228 /* #undef HAVE_LIBATTR */
229 
230 /* Define to 1 if you have the `bz2' library (-lbz2). */
231 /* #undef HAVE_LIBBZ2 */
232 
233 /* Define to 1 if you have the `z' library (-lz). */
234 /* #undef HAVE_LIBZ */
235 
236 /* Define to 1 if you have the <limits.h> header file. */
237 #define	HAVE_LIMITS_H 1
238 
239 /* Define to 1 if you have the <linux/ext2_fs.h> header file. */
240 /* #undef HAVE_LINUX_EXT2_FS_H */
241 
242 /* Define to 1 if you have the <linux/fs.h> header file. */
243 /* #undef HAVE_LINUX_FS_H */
244 
245 /* Define to 1 if you have the `listxattr' function. */
246 /* #undef HAVE_LISTXATTR */
247 
248 /* Define to 1 if you have the `llistxattr' function. */
249 /* #undef HAVE_LLISTXATTR */
250 
251 /* Define to 1 if you have the <locale.h> header file. */
252 #define	HAVE_LOCALE_H 1
253 
254 /* Define to 1 if the system has the type `long long int'. */
255 #define	HAVE_LONG_LONG_INT 1
256 
257 /* Define to 1 if you have the `lsetxattr' function. */
258 /* #undef HAVE_LSETXATTR */
259 
260 /* Define to 1 if `lstat' has the bug that it succeeds when given the
261    zero-length file name argument. */
262 /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */
263 
264 /* Define to 1 if you have the `lutimes' function. */
265 /* #undef HAVE_LUTIMES */
266 
267 /* Define to 1 if you have the `memmove' function. */
268 #define	HAVE_MEMMOVE 1
269 
270 /* Define to 1 if you have the <memory.h> header file. */
271 #define	HAVE_MEMORY_H 1
272 
273 /* Define to 1 if you have the `memset' function. */
274 #define	HAVE_MEMSET 1
275 
276 /* Define to 1 if you have the `mkdir' function. */
277 #define	HAVE_MKDIR 1
278 
279 /* Define to 1 if you have the `mkfifo' function. */
280 /* #undef HAVE_MKFIFO */
281 
282 /* Define to 1 if you have the `mknod' function. */
283 /* #undef HAVE_MKNOD */
284 
285 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
286 /* #undef HAVE_NDIR_H */
287 
288 /* Define to 1 if you have the `nl_langinfo' function. */
289 /* #undef HAVE_NL_LANGINFO */
290 
291 /* Define to 1 if you have the <paths.h> header file. */
292 /* #undef HAVE_PATHS_H */
293 
294 /* Define to 1 if you have the `poll' function. */
295 /* #undef HAVE_POLL */
296 
297 /* Define to 1 if you have the <poll.h> header file. */
298 /* #undef HAVE_POLL_H */
299 
300 /* Define to 1 if you have the <pwd.sh.h> header file. */
301 /* #undef HAVE_PWD_H */
302 
303 /* Define to 1 if you have the `select' function. */
304 /* #undef HAVE_SELECT */
305 
306 /* Define to 1 if you have the `setlocale' function. */
307 #define	HAVE_SETLOCALE 1
308 
309 /* Define to 1 if `stat' has the bug that it succeeds when given the
310    zero-length file name argument. */
311 /* #undef HAVE_STAT_EMPTY_STRING_BUG */
312 
313 /* Define to 1 if you have the <stdarg.h> header file. */
314 #define	HAVE_STDARG_H 1
315 
316 /* Define to 1 if you have the <stdint.h> header file. */
317 #if defined(_MSC_VER)
318 /* #undef HAVE_STDINT_H */
319 #else
320 #define	HAVE_STDINT_H 1
321 #endif
322 
323 /* Define to 1 if you have the <stdlib.h> header file. */
324 #define	HAVE_STDLIB_H 1
325 
326 /* Define to 1 if you have the `strchr' function. */
327 #define	HAVE_STRCHR 1
328 
329 /* Define to 1 if you have the `strdup' function. */
330 #define	HAVE_STRDUP 1
331 
332 /* Define to 1 if you have the `strerror' function. */
333 #define	HAVE_STRERROR 1
334 
335 /* Define to 1 if you have the `strerror_r' function. */
336 /* #undef HAVE_STRERROR_R */
337 
338 /* Define to 1 if you have the `strftime' function. */
339 #define	HAVE_STRFTIME 1
340 
341 /* Define to 1 if you have the <strings.h> header file. */
342 #define	HAVE_STRINGS_H 1
343 
344 /* Define to 1 if you have the <string.h> header file. */
345 #define	HAVE_STRING_H 1
346 
347 /* Define to 1 if you have the `strrchr' function. */
348 #define	HAVE_STRRCHR 1
349 
350 /* Define to 1 if `st_mtimespec.tv_nsec' is member of `struct stat'. */
351 /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */
352 
353 /* Define to 1 if `st_mtim.tv_nsec' is member of `struct stat'. */
354 /* #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC */
355 
356 /* Define to 1 if you have the <sys/acl.h> header file. */
357 /* #undef HAVE_SYS_ACL_H */
358 
359 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
360    */
361 /* #undef HAVE_SYS_DIR_H */
362 
363 /* Define to 1 if you have the <sys/ioctl.h> header file. */
364 /* #undef HAVE_SYS_IOCTL_H */
365 
366 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
367    */
368 /* #undef HAVE_SYS_NDIR_H */
369 
370 /* Define to 1 if you have the <sys/param.h> header file. */
371 /* #undef HAVE_SYS_PARAM_H */
372 
373 /* Define to 1 if you have the <sys/poll.h> header file. */
374 /* #undef HAVE_SYS_POLL_H */
375 
376 /* Define to 1 if you have the <sys/select.h> header file. */
377 /* #undef HAVE_SYS_SELECT_H */
378 
379 /* Define to 1 if you have the <sys/stat.h> header file. */
380 #define	HAVE_SYS_STAT_H 1
381 
382 /* Define to 1 if you have the <sys/time.h> header file. */
383 #if defined(_MSC_VER)
384 /* #undef HAVE_SYS_TIME_H */
385 #else
386 #define	HAVE_SYS_TIME_H 1
387 #endif
388 
389 /* Define to 1 if you have the <sys/types.h> header file. */
390 #define	HAVE_SYS_TYPES_H 1
391 
392 /* Define to 1 if you have the <sys/utime.h> header file. */
393 #define	HAVE_SYS_UTIME_H 1
394 
395 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
396 /* #undef HAVE_SYS_WAIT_H */
397 
398 /* Define to 1 if you have the `timegm' function. */
399 /* #undef HAVE_TIMEGM */
400 
401 /* Define to 1 if you have the <time.h> header file. */
402 #define	HAVE_TIME_H 1
403 
404 /* Define to 1 if the system has the type `uintmax_t'. */
405 #if defined(_MSC_VER)
406 /* #undef HAVE_UINTMAX_T */
407 #else
408 #define	HAVE_UINTMAX_T 1
409 #endif
410 
411 /* Define to 1 if you have the <unistd.h> header file. */
412 #if defined(_MSC_VER)
413 /* #undef HAVE_UNISTD_H */
414 #else
415 #define	HAVE_UNISTD_H 1
416 #endif
417 
418 /* Define to 1 if the system has the type `unsigned long long'. */
419 #define	HAVE_UNSIGNED_LONG_LONG 1
420 
421 /* Define to 1 if the system has the type `unsigned long long int'. */
422 #define	HAVE_UNSIGNED_LONG_LONG_INT 1
423 
424 /* Define to 1 if you have the `utime' function. */
425 #define	HAVE_UTIME 1
426 
427 /* Define to 1 if you have the `utimes' function. */
428 #define HAVE_UTIMES 1
429 
430 /* Define to 1 if you have the <utime.h> header file. */
431 /* #undef HAVE_UTIME_H */
432 
433 /* Define to 1 if you have the `vprintf' function. */
434 #define	HAVE_VPRINTF 1
435 
436 /* Define to 1 if you have the <wchar.h> header file. */
437 #define	HAVE_WCHAR_H 1
438 
439 /* Define to 1 if you have the `wcscpy' function. */
440 #define	HAVE_WCSCPY 1
441 
442 /* Define to 1 if you have the `wcslen' function. */
443 #define	HAVE_WCSLEN 1
444 
445 /* Define to 1 if you have the `wctomb' function. */
446 #define	HAVE_WCTOMB 1
447 
448 /* Define to 1 if you have the `wmemcmp' function. */
449 /* #undef HAVE_WMEMCMP */
450 
451 /* Define to 1 if you have the `wmemcpy' function. */
452 /* #undef HAVE_WMEMCPY */
453 
454 /* Define to 1 if you have the <zlib.h> header file. */
455 /* #undef HAVE_ZLIB_H */
456 
457 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
458    slash. */
459 /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */
460 
461 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
462    */
463 /* #undef MAJOR_IN_MKDEV */
464 
465 /* Define to 1 if `major', `minor', and `makedev' are declared in
466    <sysmacros.h>. */
467 /* #undef MAJOR_IN_SYSMACROS */
468 
469 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
470 /* #undef NO_MINUS_C_MINUS_O */
471 
472 /* Define to 1 if you have the ANSI C header files. */
473 #define	STDC_HEADERS 1
474 
475 /* Define to 1 if strerror_r returns char *. */
476 /* #undef STRERROR_R_CHAR_P */
477 
478 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
479 #define	TIME_WITH_SYS_TIME 1
480 
481 /* Number of bits in a file offset, on hosts where this is settable. */
482 /* #undef _FILE_OFFSET_BITS */
483 
484 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
485 /* #undef _LARGEFILE_SOURCE */
486 
487 /* Define for large files, on AIX-style hosts. */
488 /* #undef _LARGE_FILES */
489 
490 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
491    <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
492    #define	below would cause a syntax error. */
493 /* #undef _UINT64_T */
494 
495 /* Define to empty if `const' does not conform to ANSI C. */
496 /* #undef const */
497 
498 /* Define to `int' if <sys/types.h> doesn't define. */
499 #if (USE_UNSIGNED_GID)
500 #define	gid_t unsigned int
501 #else
502 #define	gid_t int
503 #endif
504 
505 /* Define to `unsigned long' if <sys/types.h> does not define. */
506 #define	id_t int
507 
508 /* Define to the type of a signed integer type of width exactly 64 bits if
509    such a type exists and the standard includes do not define it. */
510 #if defined(_MSC_VER)
511 #define	int64_t __int64
512 #else
513 /* #undef int64_t */
514 #endif
515 
516 /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
517    not define. */
518 #if defined(_MSC_VER)
519 #define	intmax_t long long
520 #else
521 /* #undef intmax_t */
522 #endif
523 
524 /* Define to `int' if <sys/types.h> does not define. */
525 #if defined(_MSC_VER)
526 #define	mode_t unsigned short
527 #else
528 /* #undef mode_t */
529 #endif
530 
531 /* Define to `long long' if <sys/types.h> does not define. */
532 /* #undef off_t */
533 
534 /* Define to `unsigned int' if <sys/types.h> does not define. */
535 /* #undef size_t */
536 
537 /* Define to `int' if <sys/types.h> doesn't define. */
538 #if (USE_UNSIGNED_UID)
539 #define	uid_t unsigned int
540 #else
541 #define	uid_t int
542 #endif
543 
544 /* Define to the type of an unsigned integer type of width exactly 64 bits if
545    such a type exists and the standard includes do not define it. */
546 #if defined(_MSC_VER)
547 #define	uint64_t unsigned __int64
548 #else
549 /* #undef uint64_t */
550 #endif
551 
552 /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
553    do not define. */
554 #if defined(_MSC_VER)
555 #define	uintmax_t unsigned long long
556 #else
557 /* #undef uintmax_t */
558 #endif
559 
560 /* Define to `unsigned int' if <sys/types.h> does not define. */
561 /* #undef uintptr_t */
562 
563 /* Define to `unsigned int' if <sys/types.h> does not define. */
564 #if defined(_MSC_VER)
565 #define	pid_t unsigned int
566 #else
567 /* #undef pid_t */
568 #endif
569 
570 #if defined(_MSC_VER)
571 #define	uint32_t unsigned long
572 #define	uint16_t unsigned short
573   #ifdef _WIN64
574     #define	ssize_t __int64
575   #else
576     #define	ssize_t long
577   #endif
578 #endif
579 
580 #include "archive_windows.h"
581 
582 #endif /* CONFIG_H_INCLUDED */
583