1 /* config.in. Generated from configure.ac by autoheader. */
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
6 /* Define to the number of bits in type 'ptrdiff_t'. */
7 #undef BITSIZEOF_PTRDIFF_T
9 /* Define to the number of bits in type 'sig_atomic_t'. */
10 #undef BITSIZEOF_SIG_ATOMIC_T
12 /* Define to the number of bits in type 'size_t'. */
13 #undef BITSIZEOF_SIZE_T
15 /* Define to the number of bits in type 'wchar_t'. */
16 #undef BITSIZEOF_WCHAR_T
18 /* Define to the number of bits in type 'wint_t'. */
19 #undef BITSIZEOF_WINT_T
21 /* Define to 1 if using 'alloca.c'. */
24 /* Define as the bit index in the word where to find bit 0 of the exponent of
26 #undef DBL_EXPBIT0_BIT
28 /* Define as the word index where to find the exponent of 'double'. */
29 #undef DBL_EXPBIT0_WORD
31 /* the name of the file descriptor member of DIR */
32 #undef DIR_FD_MEMBER_NAME
34 #ifdef DIR_FD_MEMBER_NAME
35 # define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
37 # define DIR_TO_FD(Dir_p) -1
41 /* Define to 1 if // is a file system root distinct from /. */
42 #undef DOUBLE_SLASH_IS_DISTINCT_ROOT
44 /* Define if struct dirent has a member d_ino that actually works. */
45 #undef D_INO_IN_DIRENT
47 /* Define this to 1 if F_DUPFD behavior does not match POSIX */
48 #undef FCNTL_DUPFD_BUGGY
50 /* Define to nothing if C supports flexible array members, and to 1 if it does
51 not. That way, with a declaration like 'struct s { int n; short
52 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
53 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate
54 the size in bytes of such a struct containing an N-element array. */
55 #undef FLEXIBLE_ARRAY_MEMBER
57 /* Define to 1 if mkdir mistakenly creates a directory given with a trailing
59 #undef FUNC_MKDIR_DOT_BUG
61 /* Define to 1 if realpath() can malloc memory, always gives an absolute path,
62 and handles trailing slash correctly. */
63 #undef FUNC_REALPATH_WORKS
65 /* Define this to 'void' or 'struct timezone' to match the system's
66 declaration of the second argument to gettimeofday. */
67 #undef GETTIMEOFDAY_TIMEZONE
69 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
70 whether the gnulib module canonicalize-lgpl shall be considered present. */
71 #undef GNULIB_CANONICALIZE_LGPL
73 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
74 whether the gnulib module fdopendir shall be considered present. */
75 #undef GNULIB_FDOPENDIR
77 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
78 whether the gnulib module fd-safer-flag shall be considered present. */
79 #undef GNULIB_FD_SAFER_FLAG
81 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
82 whether the gnulib module fnmatch-gnu shall be considered present. */
83 #undef GNULIB_FNMATCH_GNU
85 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
86 whether the gnulib module fscanf shall be considered present. */
89 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
90 whether the gnulib module getcwd shall be considered present. */
93 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
94 whether the gnulib module isblank shall be considered present. */
97 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
98 whether the gnulib module lock shall be considered present. */
101 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
102 whether the gnulib module mkostemp shall be considered present. */
103 #undef GNULIB_MKOSTEMP
105 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
106 whether the gnulib module msvc-nothrow shall be considered present. */
107 #undef GNULIB_MSVC_NOTHROW
109 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
110 whether the gnulib module openat shall be considered present. */
113 /* Define to 1 if printf and friends should be labeled with attribute
114 "__gnu_printf__" instead of "__printf__" */
115 #undef GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU
117 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
118 whether the gnulib module scanf shall be considered present. */
121 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
122 whether the gnulib module strerror shall be considered present. */
123 #undef GNULIB_STRERROR
125 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
126 whether the gnulib module strerror_r-posix shall be considered present. */
127 #undef GNULIB_STRERROR_R_POSIX
129 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending
130 whether the gnulib module tempname shall be considered present. */
131 #undef GNULIB_TEMPNAME
133 /* Define to 1 when the gnulib module btowc should be tested. */
134 #undef GNULIB_TEST_BTOWC
136 /* Define to 1 when the gnulib module canonicalize_file_name should be tested.
138 #undef GNULIB_TEST_CANONICALIZE_FILE_NAME
140 /* Define to 1 when the gnulib module chdir should be tested. */
141 #undef GNULIB_TEST_CHDIR
143 /* Define to 1 when the gnulib module cloexec should be tested. */
144 #undef GNULIB_TEST_CLOEXEC
146 /* Define to 1 when the gnulib module close should be tested. */
147 #undef GNULIB_TEST_CLOSE
149 /* Define to 1 when the gnulib module closedir should be tested. */
150 #undef GNULIB_TEST_CLOSEDIR
152 /* Define to 1 when the gnulib module dirfd should be tested. */
153 #undef GNULIB_TEST_DIRFD
155 /* Define to 1 when the gnulib module dup should be tested. */
156 #undef GNULIB_TEST_DUP
158 /* Define to 1 when the gnulib module dup2 should be tested. */
159 #undef GNULIB_TEST_DUP2
161 /* Define to 1 when the gnulib module environ should be tested. */
162 #undef GNULIB_TEST_ENVIRON
164 /* Define to 1 when the gnulib module fchdir should be tested. */
165 #undef GNULIB_TEST_FCHDIR
167 /* Define to 1 when the gnulib module fcntl should be tested. */
168 #undef GNULIB_TEST_FCNTL
170 /* Define to 1 when the gnulib module fdopendir should be tested. */
171 #undef GNULIB_TEST_FDOPENDIR
173 /* Define to 1 when the gnulib module fnmatch should be tested. */
174 #undef GNULIB_TEST_FNMATCH
176 /* Define to 1 when the gnulib module free-posix should be tested. */
177 #undef GNULIB_TEST_FREE_POSIX
179 /* Define to 1 when the gnulib module frexp should be tested. */
180 #undef GNULIB_TEST_FREXP
182 /* Define to 1 when the gnulib module frexpl should be tested. */
183 #undef GNULIB_TEST_FREXPL
185 /* Define to 1 when the gnulib module fstat should be tested. */
186 #undef GNULIB_TEST_FSTAT
188 /* Define to 1 when the gnulib module fstatat should be tested. */
189 #undef GNULIB_TEST_FSTATAT
191 /* Define to 1 when the gnulib module getcwd should be tested. */
192 #undef GNULIB_TEST_GETCWD
194 /* Define to 1 when the gnulib module getdtablesize should be tested. */
195 #undef GNULIB_TEST_GETDTABLESIZE
197 /* Define to 1 when the gnulib module getlogin_r should be tested. */
198 #undef GNULIB_TEST_GETLOGIN_R
200 /* Define to 1 when the gnulib module getrandom should be tested. */
201 #undef GNULIB_TEST_GETRANDOM
203 /* Define to 1 when the gnulib module gettimeofday should be tested. */
204 #undef GNULIB_TEST_GETTIMEOFDAY
206 /* Define to 1 when the gnulib module glob should be tested. */
207 #undef GNULIB_TEST_GLOB
209 /* Define to 1 when the gnulib module lstat should be tested. */
210 #undef GNULIB_TEST_LSTAT
212 /* Define to 1 when the gnulib module malloc-posix should be tested. */
213 #undef GNULIB_TEST_MALLOC_POSIX
215 /* Define to 1 when the gnulib module mbrtowc should be tested. */
216 #undef GNULIB_TEST_MBRTOWC
218 /* Define to 1 when the gnulib module mbsinit should be tested. */
219 #undef GNULIB_TEST_MBSINIT
221 /* Define to 1 when the gnulib module mbsrtowcs should be tested. */
222 #undef GNULIB_TEST_MBSRTOWCS
224 /* Define to 1 when the gnulib module mbtowc should be tested. */
225 #undef GNULIB_TEST_MBTOWC
227 /* Define to 1 when the gnulib module memchr should be tested. */
228 #undef GNULIB_TEST_MEMCHR
230 /* Define to 1 when the gnulib module memmem should be tested. */
231 #undef GNULIB_TEST_MEMMEM
233 /* Define to 1 when the gnulib module mempcpy should be tested. */
234 #undef GNULIB_TEST_MEMPCPY
236 /* Define to 1 when the gnulib module memrchr should be tested. */
237 #undef GNULIB_TEST_MEMRCHR
239 /* Define to 1 when the gnulib module mkdir should be tested. */
240 #undef GNULIB_TEST_MKDIR
242 /* Define to 1 when the gnulib module mkdtemp should be tested. */
243 #undef GNULIB_TEST_MKDTEMP
245 /* Define to 1 when the gnulib module mkostemp should be tested. */
246 #undef GNULIB_TEST_MKOSTEMP
248 /* Define to 1 when the gnulib module open should be tested. */
249 #undef GNULIB_TEST_OPEN
251 /* Define to 1 when the gnulib module openat should be tested. */
252 #undef GNULIB_TEST_OPENAT
254 /* Define to 1 when the gnulib module opendir should be tested. */
255 #undef GNULIB_TEST_OPENDIR
257 /* Define to 1 when the gnulib module pipe should be tested. */
258 #undef GNULIB_TEST_PIPE
260 /* Define to 1 when the gnulib module rawmemchr should be tested. */
261 #undef GNULIB_TEST_RAWMEMCHR
263 /* Define to 1 when the gnulib module readdir should be tested. */
264 #undef GNULIB_TEST_READDIR
266 /* Define to 1 when the gnulib module readlink should be tested. */
267 #undef GNULIB_TEST_READLINK
269 /* Define to 1 when the gnulib module realloc-posix should be tested. */
270 #undef GNULIB_TEST_REALLOC_POSIX
272 /* Define to 1 when the gnulib module realpath should be tested. */
273 #undef GNULIB_TEST_REALPATH
275 /* Define to 1 when the gnulib module rename should be tested. */
276 #undef GNULIB_TEST_RENAME
278 /* Define to 1 when the gnulib module rewinddir should be tested. */
279 #undef GNULIB_TEST_REWINDDIR
281 /* Define to 1 when the gnulib module rmdir should be tested. */
282 #undef GNULIB_TEST_RMDIR
284 /* Define to 1 when the gnulib module setenv should be tested. */
285 #undef GNULIB_TEST_SETENV
287 /* Define to 1 when the gnulib module setlocale_null should be tested. */
288 #undef GNULIB_TEST_SETLOCALE_NULL
290 /* Define to 1 when the gnulib module stat should be tested. */
291 #undef GNULIB_TEST_STAT
293 /* Define to 1 when the gnulib module strchrnul should be tested. */
294 #undef GNULIB_TEST_STRCHRNUL
296 /* Define to 1 when the gnulib module strdup should be tested. */
297 #undef GNULIB_TEST_STRDUP
299 /* Define to 1 when the gnulib module strerror should be tested. */
300 #undef GNULIB_TEST_STRERROR
302 /* Define to 1 when the gnulib module strerror_r should be tested. */
303 #undef GNULIB_TEST_STRERROR_R
305 /* Define to 1 when the gnulib module strnlen should be tested. */
306 #undef GNULIB_TEST_STRNLEN
308 /* Define to 1 when the gnulib module strstr should be tested. */
309 #undef GNULIB_TEST_STRSTR
311 /* Define to 1 when the gnulib module strtok_r should be tested. */
312 #undef GNULIB_TEST_STRTOK_R
314 /* Define to 1 when the gnulib module time_r should be tested. */
315 #undef GNULIB_TEST_TIME_R
317 /* Define to 1 when the gnulib module unsetenv should be tested. */
318 #undef GNULIB_TEST_UNSETENV
320 /* Define to 1 when the gnulib module wmemchr should be tested. */
321 #undef GNULIB_TEST_WMEMCHR
323 /* Define to 1 when the gnulib module wmempcpy should be tested. */
324 #undef GNULIB_TEST_WMEMPCPY
326 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
327 may be supplied by this distribution. */
330 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
334 /* Define to 1 if you have the <arpa/inet.h> header file. */
335 #undef HAVE_ARPA_INET_H
337 /* Define to 1 if you have the <bcrypt.h> header file. */
340 /* Define to 1 if you have the <bp-sym.h> header file. */
343 /* Define to 1 if you have the `btowc' function. */
346 /* Define to 1 if you have the `canonicalize_file_name' function. */
347 #undef HAVE_CANONICALIZE_FILE_NAME
349 /* Define to 1 if you have the `catgets' function. */
352 /* Define to 1 if you have the `clock_gettime' function. */
353 #undef HAVE_CLOCK_GETTIME
355 /* Define to 1 if you have the `clock_settime' function. */
356 #undef HAVE_CLOCK_SETTIME
358 /* Define to 1 if you have the `closedir' function. */
361 /* Define to 1 if you have the <crtdefs.h> header file. */
362 #undef HAVE_CRTDEFS_H
364 /* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
366 #undef HAVE_DECL_ALARM
368 /* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
370 #undef HAVE_DECL_DIRFD
372 /* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't.
374 #undef HAVE_DECL_ECVT
376 /* Define to 1 if you have the declaration of `execvpe', and to 0 if you
378 #undef HAVE_DECL_EXECVPE
380 /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't.
382 #undef HAVE_DECL_FCHDIR
384 /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you
386 #undef HAVE_DECL_FCLOSEALL
388 /* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't.
390 #undef HAVE_DECL_FCVT
392 /* Define to 1 if you have the declaration of `fdopendir', and to 0 if you
394 #undef HAVE_DECL_FDOPENDIR
396 /* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't.
398 #undef HAVE_DECL_GCVT
400 /* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't.
402 #undef HAVE_DECL_GETCWD
404 /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you
406 #undef HAVE_DECL_GETDTABLESIZE
408 /* Define to 1 if you have the declaration of `getlogin', and to 0 if you
410 #undef HAVE_DECL_GETLOGIN
412 /* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you
414 #undef HAVE_DECL_GETLOGIN_R
416 /* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
418 #undef HAVE_DECL_INET_NTOP
420 /* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
422 #undef HAVE_DECL_LOCALTIME_R
424 /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
426 #undef HAVE_DECL_MBRTOWC
428 /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
430 #undef HAVE_DECL_MBSINIT
432 /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you
434 #undef HAVE_DECL_MBSRTOWCS
436 /* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
438 #undef HAVE_DECL_MEMMEM
440 /* Define to 1 if you have the declaration of `memrchr', and to 0 if you
442 #undef HAVE_DECL_MEMRCHR
444 /* Define to 1 if you have the declaration of `program_invocation_name', and
445 to 0 if you don't. */
446 #undef HAVE_DECL_PROGRAM_INVOCATION_NAME
448 /* Define to 1 if you have the declaration of `program_invocation_short_name',
449 and to 0 if you don't. */
450 #undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
452 /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
454 #undef HAVE_DECL_SETENV
456 /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
458 #undef HAVE_DECL_STRDUP
460 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
462 #undef HAVE_DECL_STRERROR_R
464 /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
466 #undef HAVE_DECL_STRNLEN
468 /* Define to 1 if you have the declaration of `strtok_r', and to 0 if you
470 #undef HAVE_DECL_STRTOK_R
472 /* Define to 1 if you have the declaration of `towlower', and to 0 if you
474 #undef HAVE_DECL_TOWLOWER
476 /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you
478 #undef HAVE_DECL_UNSETENV
480 /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't.
482 #undef HAVE_DECL_WCSDUP
484 /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
486 #undef HAVE_DECL___ARGV
488 /* Define to 1 if you have the <dirent.h> header file. */
491 /* Define to 1 if you have the `dirfd' function. */
494 /* Define to 1 if you have the <dlfcn.h> header file. */
497 /* Define if you have the declaration of environ. */
498 #undef HAVE_ENVIRON_DECL
500 /* Define to 1 if you have the `faccessat' function. */
501 #undef HAVE_FACCESSAT
503 /* Define to 1 if you have the `fchdir' function. */
506 /* Define to 1 if you have the `fcntl' function. */
509 /* Define to 1 if you have the `fdopendir' function. */
510 #undef HAVE_FDOPENDIR
512 /* Define to 1 if you have the <features.h> header file. */
513 #undef HAVE_FEATURES_H
515 /* Define to 1 if you have the `fnmatch' function. */
518 /* Define to 1 if you have the <fnmatch.h> header file. */
519 #undef HAVE_FNMATCH_H
521 /* Define if the frexp() function is available and works. */
524 /* Define if the frexpl() function is available. */
527 /* Define to 1 if you have the `fstatat' function. */
530 /* Define to 1 if you have the `getcwd' function. */
533 /* Define to 1 if getcwd works, but with shorter paths than is generally
534 tested with the replacement. */
535 #undef HAVE_GETCWD_SHORTER
537 /* Define to 1 if you have the `getdtablesize' function. */
538 #undef HAVE_GETDTABLESIZE
540 /* Define to 1 if you have the `getexecname' function. */
541 #undef HAVE_GETEXECNAME
543 /* Define to 1 if you have the `getlogin_r' function. */
544 #undef HAVE_GETLOGIN_R
546 /* Define to 1 if the system has the 'getpagesize' function. */
547 #undef HAVE_GETPAGESIZE
549 /* Define to 1 if you have the `getprogname' function. */
550 #undef HAVE_GETPROGNAME
552 /* Define to 1 if you have the `getpwnam_r' function. */
553 #undef HAVE_GETPWNAM_R
555 /* Define to 1 if you have the `getrandom' function. */
556 #undef HAVE_GETRANDOM
558 /* Define to 1 if you have the `gettimeofday' function. */
559 #undef HAVE_GETTIMEOFDAY
561 /* Define to 1 if you have the `glob' function. */
564 /* Define to 1 if you have the <glob.h> header file. */
567 /* Define to 1 if you have the `glob_pattern_p' function. */
568 #undef HAVE_GLOB_PATTERN_P
570 /* Define to 1 if you have the `inet_ntop' function. */
571 #undef HAVE_INET_NTOP
573 /* Define to 1 if you have the <inttypes.h> header file. */
574 #undef HAVE_INTTYPES_H
576 /* Define to 1 if <sys/socket.h> defines AF_INET. */
579 /* Define to 1 if <sys/socket.h> defines AF_INET6. */
582 /* Define to 1 if you have the `isblank' function. */
585 /* Define if the isnan(double) function is available in libc. */
586 #undef HAVE_ISNAND_IN_LIBC
588 /* Define if the isnan(long double) function is available in libc. */
589 #undef HAVE_ISNANL_IN_LIBC
591 /* Define to 1 if you have the `iswcntrl' function. */
594 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
595 #undef HAVE_LANGINFO_CODESET
597 /* Define to 1 if the bcrypt library is guaranteed to be present. */
598 #undef HAVE_LIB_BCRYPT
600 /* Define to 1 if you have the <limits.h> header file. */
603 /* Define to 1 if you have the `link' function. */
606 /* Define to 1 if you have the `localtime_r' function. */
607 #undef HAVE_LOCALTIME_R
609 /* Define to 1 if the system has the type 'long long int'. */
610 #undef HAVE_LONG_LONG_INT
612 /* Define to 1 if you have the `lstat' function. */
615 /* Define if the 'malloc' function is POSIX compliant. */
616 #undef HAVE_MALLOC_POSIX
618 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
619 config.h and <sys/mman.h>. */
620 #undef HAVE_MAP_ANONYMOUS
622 /* Define to 1 if you have the <math.h> header file. */
625 /* Define to 1 if you have the `mbrtowc' function. */
628 /* Define to 1 if you have the `mbsinit' function. */
631 /* Define to 1 if you have the `mbsrtowcs' function. */
632 #undef HAVE_MBSRTOWCS
634 /* Define to 1 if <wchar.h> declares mbstate_t. */
635 #undef HAVE_MBSTATE_T
637 /* Define to 1 if you have the `mbtowc' function. */
640 /* Define to 1 if you have the `memmem' function. */
643 /* Define to 1 if you have the <memory.h> header file. */
646 /* Define to 1 if you have the `mempcpy' function. */
649 /* Define to 1 if you have the `memrchr' function. */
652 /* Define to 1 if getcwd minimally works, that is, its result can be trusted
654 #undef HAVE_MINIMALLY_WORKING_GETCWD
656 /* Define to 1 if you have the <minix/config.h> header file. */
657 #undef HAVE_MINIX_CONFIG_H
659 /* Define to 1 if <limits.h> defines the MIN and MAX macros. */
660 #undef HAVE_MINMAX_IN_LIMITS_H
662 /* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
663 #undef HAVE_MINMAX_IN_SYS_PARAM_H
665 /* Define to 1 if you have the `mkdtemp' function. */
668 /* Define to 1 if you have the `mkostemp' function. */
671 /* Define to 1 if you have the `mprotect' function. */
674 /* Define to 1 on MSVC platforms that have the "invalid parameter handler"
676 #undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
678 /* Define to 1 if you have the <netdb.h> header file. */
681 /* Define to 1 if you have the <netinet/in.h> header file. */
682 #undef HAVE_NETINET_IN_H
684 /* Define to 1 if you have the `openat' function. */
687 /* Define to 1 if you have the `opendir' function. */
690 /* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
691 setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */
692 #undef HAVE_PARTLY_WORKING_GETCWD
694 /* Define to 1 if you have the `pipe' function. */
697 /* Define if you have the <pthread.h> header and the POSIX threads API. */
698 #undef HAVE_PTHREAD_API
700 /* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
701 #undef HAVE_PTHREAD_MUTEX_RECURSIVE
703 /* Define if the POSIX multithreading library has read/write locks. */
704 #undef HAVE_PTHREAD_RWLOCK
706 /* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
708 #undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER
710 /* Define to 1 if you have the `rawmemchr' function. */
711 #undef HAVE_RAWMEMCHR
713 /* Define to 1 if you have the `readdir' function. */
716 /* Define to 1 if you have the `readlink' function. */
719 /* Define if the 'realloc' function is POSIX compliant. */
720 #undef HAVE_REALLOC_POSIX
722 /* Define to 1 if you have the `realpath' function. */
725 /* Define to 1 if you have the `rewinddir' function. */
726 #undef HAVE_REWINDDIR
728 /* Define to 1 if 'long double' and 'double' have the same representation. */
729 #undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
731 /* Define to 1 if the system has the type `sa_family_t'. */
732 #undef HAVE_SA_FAMILY_T
734 /* Define to 1 if you have the <sdkddkver.h> header file. */
735 #undef HAVE_SDKDDKVER_H
737 /* Define to 1 if you have the <search.h> header file. */
740 /* Define to 1 if you have the `setdtablesize' function. */
741 #undef HAVE_SETDTABLESIZE
743 /* Define to 1 if you have the `setenv' function. */
746 /* Define to 1 if you have the `shutdown' function. */
749 /* Define to 1 if 'sig_atomic_t' is a signed integer type. */
750 #undef HAVE_SIGNED_SIG_ATOMIC_T
752 /* Define to 1 if 'wchar_t' is a signed integer type. */
753 #undef HAVE_SIGNED_WCHAR_T
755 /* Define to 1 if 'wint_t' is a signed integer type. */
756 #undef HAVE_SIGNED_WINT_T
758 /* Define to 1 if the system has the type `sigset_t'. */
761 /* Define to 1 if you have the `snprintf' function. */
764 /* Define to 1 if you have the <stdint.h> header file. */
767 /* Define to 1 if you have the <stdlib.h> header file. */
770 /* Define to 1 if you have the `strchrnul' function. */
771 #undef HAVE_STRCHRNUL
773 /* Define to 1 if you have the `strerror_r' function. */
774 #undef HAVE_STRERROR_R
776 /* Define to 1 if you have the <strings.h> header file. */
777 #undef HAVE_STRINGS_H
779 /* Define to 1 if you have the <string.h> header file. */
782 /* Define to 1 if you have the `strtok_r' function. */
785 /* Define if there is a member named d_type in the struct describing directory
787 #undef HAVE_STRUCT_DIRENT_D_TYPE
789 /* Define to 1 if the system has the type `struct sockaddr_storage'. */
790 #undef HAVE_STRUCT_SOCKADDR_STORAGE
792 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
793 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
795 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
796 #undef HAVE_STRUCT_STAT_ST_ATIMENSEC
798 /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
799 #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
801 /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
802 #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
804 /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
805 #undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
807 /* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
808 #undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
810 /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
811 #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
813 /* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
814 #undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
816 /* Define to 1 if you have the `symlink' function. */
819 /* Define to 1 if you have the <sys/bitypes.h> header file. */
820 #undef HAVE_SYS_BITYPES_H
822 /* Define to 1 if you have the <sys/inttypes.h> header file. */
823 #undef HAVE_SYS_INTTYPES_H
825 /* Define to 1 if you have the <sys/mman.h> header file. */
826 #undef HAVE_SYS_MMAN_H
828 /* Define to 1 if you have the <sys/param.h> header file. */
829 #undef HAVE_SYS_PARAM_H
831 /* Define to 1 if you have the <sys/random.h> header file. */
832 #undef HAVE_SYS_RANDOM_H
834 /* Define to 1 if you have the <sys/socket.h> header file. */
835 #undef HAVE_SYS_SOCKET_H
837 /* Define to 1 if you have the <sys/stat.h> header file. */
838 #undef HAVE_SYS_STAT_H
840 /* Define to 1 if you have the <sys/time.h> header file. */
841 #undef HAVE_SYS_TIME_H
843 /* Define to 1 if you have the <sys/types.h> header file. */
844 #undef HAVE_SYS_TYPES_H
846 /* Define to 1 if you have the <sys/uio.h> header file. */
847 #undef HAVE_SYS_UIO_H
849 /* Define to 1 if you have the `thrd_create' function. */
850 #undef HAVE_THRD_CREATE
852 /* Define to 1 if you have the <threads.h> header file. */
853 #undef HAVE_THREADS_H
855 /* Define to 1 if you have the `towlower' function. */
858 /* Define to 1 if you have the `tsearch' function. */
861 /* Define to 1 if you have the <unistd.h> header file. */
864 /* Define to 1 if you have the `unsetenv' function. */
867 /* Define to 1 if the system has the type 'unsigned long long int'. */
868 #undef HAVE_UNSIGNED_LONG_LONG_INT
870 /* Define if you have a global __progname variable */
871 #undef HAVE_VAR___PROGNAME
873 /* Define to 1 or 0, depending whether the compiler supports simple visibility
875 #undef HAVE_VISIBILITY
877 /* Define to 1 if you have the <wchar.h> header file. */
880 /* Define if you have the 'wchar_t' type. */
883 /* Define to 1 if you have the <wctype.h> header file. */
886 /* Define to 1 if the compiler and linker support weak declarations of
888 #undef HAVE_WEAK_SYMBOLS
890 /* Define to 1 if you have the <windows.h> header file. */
891 #undef HAVE_WINDOWS_H
893 /* Define to 1 if you have the <winsock2.h> header file. */
894 #undef HAVE_WINSOCK2_H
896 /* Define if you have the 'wint_t' type. */
899 /* Define to 1 if you have the `wmempcpy' function. */
902 /* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
904 #undef HAVE_WORKING_FSTATAT_ZERO_FLAG
906 /* Define to 1 if O_NOATIME works. */
907 #undef HAVE_WORKING_O_NOATIME
909 /* Define to 1 if O_NOFOLLOW works. */
910 #undef HAVE_WORKING_O_NOFOLLOW
912 /* Define to 1 if you have the <ws2tcpip.h> header file. */
913 #undef HAVE_WS2TCPIP_H
915 /* Define to 1 if you have the <xlocale.h> header file. */
916 #undef HAVE_XLOCALE_H
918 /* Define to 1 if the system has the type `_Bool'. */
921 /* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
922 #undef HAVE__SET_INVALID_PARAMETER_HANDLER
924 /* Define to 1 if the compiler supports __builtin_expect,
925 and to 2 if <builtins.h> does. */
926 #undef HAVE___BUILTIN_EXPECT
927 #ifndef HAVE___BUILTIN_EXPECT
928 # define __builtin_expect(e, c) (e)
929 #elif HAVE___BUILTIN_EXPECT == 2
930 # include <builtins.h>
934 /* Define to 1 if the compiler supports the keyword '__inline'. */
937 /* Define to 1 if you have the `__xpg_strerror_r' function. */
938 #undef HAVE___XPG_STRERROR_R
940 /* Define as the bit index in the word where to find bit 0 of the exponent of
942 #undef LDBL_EXPBIT0_BIT
944 /* Define as the word index where to find the exponent of 'long double'. */
945 #undef LDBL_EXPBIT0_WORD
947 /* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
949 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
951 /* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
952 #undef MALLOC_0_IS_NONNULL
954 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
957 /* Define if the mbrtowc function does not return (size_t) -2 for empty input.
959 #undef MBRTOWC_EMPTY_INPUT_BUG
961 /* Define if the mbrtowc function may signal encoding errors in the C locale.
963 #undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ
965 /* Define if the mbrtowc function has the NULL pwc argument bug. */
966 #undef MBRTOWC_NULL_ARG1_BUG
968 /* Define if the mbrtowc function has the NULL string argument bug. */
969 #undef MBRTOWC_NULL_ARG2_BUG
971 /* Define if the mbrtowc function does not return 0 for a NUL character. */
972 #undef MBRTOWC_NUL_RETVAL_BUG
974 /* Define if the mbrtowc function returns a wrong return value. */
975 #undef MBRTOWC_RETVAL_BUG
977 /* Define if the mbrtowc function stores a wide character when reporting
979 #undef MBRTOWC_STORES_INCOMPLETE_BUG
981 /* Use GNU style printf and scanf. */
982 #ifndef __USE_MINGW_ANSI_STDIO
983 # undef __USE_MINGW_ANSI_STDIO
987 /* Define to 1 if open() fails to recognize a trailing slash. */
988 #undef OPEN_TRAILING_SLASH_BUG
990 /* Define to the address where bug reports for this package should be sent. */
991 #undef PACKAGE_BUGREPORT
993 /* Define to the full name of this package. */
996 /* Define to the full name and version of this package. */
997 #undef PACKAGE_STRING
999 /* Define to the one symbol short name of this package. */
1000 #undef PACKAGE_TARNAME
1002 /* Define to the home page for this package. */
1005 /* Define to the version of this package. */
1006 #undef PACKAGE_VERSION
1008 /* Define to the type that is the result of default argument promotions of
1010 #undef PROMOTED_MODE_T
1012 /* Define if the pthread_in_use() detection is hard. */
1013 #undef PTHREAD_IN_USE_DETECTION_HARD
1015 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1017 #undef PTRDIFF_T_SUFFIX
1019 /* Define to 1 if readlink fails to recognize a trailing slash. */
1020 #undef READLINK_TRAILING_SLASH_BUG
1022 /* Define to 1 if readlink sets errno instead of truncating a too-long link.
1024 #undef READLINK_TRUNCATE_BUG
1026 /* Define if rename does not work when the destination file exists, as on
1027 Cygwin 1.5 or Windows. */
1028 #undef RENAME_DEST_EXISTS_BUG
1030 /* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
1032 #undef RENAME_HARD_LINK_BUG
1034 /* Define if rename does not correctly handle slashes on the destination
1035 argument, such as on Solaris 11 or NetBSD 1.6. */
1036 #undef RENAME_TRAILING_SLASH_DEST_BUG
1038 /* Define if rename does not correctly handle slashes on the source argument,
1039 such as on Solaris 9 or cygwin 1.5. */
1040 #undef RENAME_TRAILING_SLASH_SOURCE_BUG
1042 /* Define to 1 if gnulib's dirfd() replacement is used. */
1043 #undef REPLACE_DIRFD
1045 /* Define to 1 if gnulib's fchdir() replacement is used. */
1046 #undef REPLACE_FCHDIR
1048 /* Define to 1 if stat needs help when passed a file name with a trailing
1050 #undef REPLACE_FUNC_STAT_FILE
1052 /* Define to 1 if open() should work around the inability to open a directory.
1054 #undef REPLACE_OPEN_DIRECTORY
1056 /* Define to 1 if strerror(0) does not return a message implying success. */
1057 #undef REPLACE_STRERROR_0
1059 /* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
1060 #undef SETLOCALE_NULL_ALL_MTSAFE
1062 /* Define to 1 if setlocale (category, NULL) is multithread-safe. */
1063 #undef SETLOCALE_NULL_ONE_MTSAFE
1065 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1067 #undef SIG_ATOMIC_T_SUFFIX
1069 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1071 #undef SIZE_T_SUFFIX
1073 /* If using the C implementation of alloca, define if you know the
1074 direction of stack growth for your system; otherwise it will be
1075 automatically deduced at runtime.
1076 STACK_DIRECTION > 0 => grows toward higher addresses
1077 STACK_DIRECTION < 0 => grows toward lower addresses
1078 STACK_DIRECTION = 0 => direction of growth unknown */
1079 #undef STACK_DIRECTION
1081 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1082 #undef STAT_MACROS_BROKEN
1084 /* Define to 1 if you have the ANSI C header files. */
1087 /* Define to 1 if strerror_r returns char *. */
1088 #undef STRERROR_R_CHAR_P
1090 /* Define to 1 if the type of the st_atim member of a struct stat is struct
1092 #undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
1094 /* Define if the combination of the ISO C and POSIX multithreading APIs can be
1096 #undef USE_ISOC_AND_POSIX_THREADS
1098 /* Define if the ISO C multithreading library can be used. */
1099 #undef USE_ISOC_THREADS
1101 /* Define if the POSIX multithreading library can be used. */
1102 #undef USE_POSIX_THREADS
1104 /* Define if references to the POSIX multithreading library should be made
1106 #undef USE_POSIX_THREADS_WEAK
1108 /* Enable extensions on AIX 3, Interix. */
1112 /* Enable general extensions on macOS. */
1113 #ifndef _DARWIN_C_SOURCE
1114 # undef _DARWIN_C_SOURCE
1116 /* Enable general extensions on Solaris. */
1117 #ifndef __EXTENSIONS__
1118 # undef __EXTENSIONS__
1120 /* Enable GNU extensions on systems that have them. */
1124 /* Enable X/Open compliant socket functions that do not require linking
1125 with -lxnet on HP-UX 11.11. */
1126 #ifndef _HPUX_ALT_XOPEN_SOCKET_API
1127 # undef _HPUX_ALT_XOPEN_SOCKET_API
1129 /* Identify the host operating system as Minix.
1130 This macro does not affect the system headers' behavior.
1131 A future release of Autoconf may stop defining this macro. */
1135 /* Enable general extensions on NetBSD.
1136 Enable NetBSD compatibility extensions on Minix. */
1137 #ifndef _NETBSD_SOURCE
1138 # undef _NETBSD_SOURCE
1140 /* Enable OpenBSD compatibility extensions on NetBSD.
1141 Oddly enough, this does nothing on OpenBSD. */
1142 #ifndef _OPENBSD_SOURCE
1143 # undef _OPENBSD_SOURCE
1145 /* Define to 1 if needed for POSIX-compatible behavior. */
1146 #ifndef _POSIX_SOURCE
1147 # undef _POSIX_SOURCE
1149 /* Define to 2 if needed for POSIX-compatible behavior. */
1150 #ifndef _POSIX_1_SOURCE
1151 # undef _POSIX_1_SOURCE
1153 /* Enable POSIX-compatible threading on Solaris. */
1154 #ifndef _POSIX_PTHREAD_SEMANTICS
1155 # undef _POSIX_PTHREAD_SEMANTICS
1157 /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
1158 #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1159 # undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1161 /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
1162 #ifndef __STDC_WANT_IEC_60559_BFP_EXT__
1163 # undef __STDC_WANT_IEC_60559_BFP_EXT__
1165 /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
1166 #ifndef __STDC_WANT_IEC_60559_DFP_EXT__
1167 # undef __STDC_WANT_IEC_60559_DFP_EXT__
1169 /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
1170 #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
1171 # undef __STDC_WANT_IEC_60559_FUNCS_EXT__
1173 /* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
1174 #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
1175 # undef __STDC_WANT_IEC_60559_TYPES_EXT__
1177 /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
1178 #ifndef __STDC_WANT_LIB_EXT2__
1179 # undef __STDC_WANT_LIB_EXT2__
1181 /* Enable extensions specified by ISO/IEC 24747:2009. */
1182 #ifndef __STDC_WANT_MATH_SPEC_FUNCS__
1183 # undef __STDC_WANT_MATH_SPEC_FUNCS__
1185 /* Enable extensions on HP NonStop. */
1186 #ifndef _TANDEM_SOURCE
1187 # undef _TANDEM_SOURCE
1189 /* Enable X/Open extensions. Define to 500 only if necessary
1190 to make mbstate_t available. */
1191 #ifndef _XOPEN_SOURCE
1192 # undef _XOPEN_SOURCE
1196 /* Define if the native Windows multithreading API can be used. */
1197 #undef USE_WINDOWS_THREADS
1199 /* Define to 1 if unsetenv returns void instead of int. */
1200 #undef VOID_UNSETENV
1202 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1204 #undef WCHAR_T_SUFFIX
1206 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1208 #undef WINT_T_SUFFIX
1210 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1211 significant byte first (like Motorola and SPARC, unlike Intel). */
1212 #if defined AC_APPLE_UNIVERSAL_BUILD
1213 # if defined __BIG_ENDIAN__
1214 # define WORDS_BIGENDIAN 1
1217 # ifndef WORDS_BIGENDIAN
1218 # undef WORDS_BIGENDIAN
1222 /* Number of bits in a file offset, on hosts where this is settable. */
1223 #undef _FILE_OFFSET_BITS
1225 /* True if the compiler says it groks GNU C version MAJOR.MINOR. */
1226 #if defined __GNUC__ && defined __GNUC_MINOR__
1227 # define _GL_GNUC_PREREQ(major, minor) \
1228 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
1230 # define _GL_GNUC_PREREQ(major, minor) 0
1234 /* Define to enable the declarations of ISO C 11 types and functions. */
1235 #undef _ISOC11_SOURCE
1237 /* Define for large files, on AIX-style hosts. */
1240 /* Define to 1 on Solaris. */
1243 /* The _Noreturn keyword of C11. */
1245 # if (defined __cplusplus \
1246 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
1247 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
1249 /* [[noreturn]] is not practically usable, because with it the syntax
1250 extern _Noreturn void func (...);
1251 would not be valid; such a declaration would only be valid with 'extern'
1252 and '_Noreturn' swapped, or without the 'extern' keyword. However, some
1253 AIX system header files and several gnulib header files use precisely
1254 this syntax with 'extern'. */
1255 # define _Noreturn [[noreturn]]
1256 # elif ((!defined __cplusplus || defined __clang__) \
1257 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
1258 || _GL_GNUC_PREREQ (4, 7) \
1259 || (defined __apple_build_version__ \
1260 ? 6000000 <= __apple_build_version__ \
1261 : 3 < __clang_major__ + (5 <= __clang_minor__))))
1262 /* _Noreturn works as-is. */
1263 # elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
1264 # define _Noreturn __attribute__ ((__noreturn__))
1265 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
1266 # define _Noreturn __declspec (noreturn)
1273 /* Define to 1 in order to get the POSIX compatible declarations of socket
1275 #undef _POSIX_PII_SOCKET
1277 /* For standard stat data types on VMS. */
1278 #undef _USE_STD_STAT
1280 /* Define to 1 if the system <stdint.h> predates C++11. */
1281 #undef __STDC_CONSTANT_MACROS
1283 /* Define to 1 if the system <stdint.h> predates C++11. */
1284 #undef __STDC_LIMIT_MACROS
1286 /* The _GL_ASYNC_SAFE marker should be attached to functions that are
1287 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
1288 invoked from such signal handlers. Such functions have some restrictions:
1289 * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
1290 or should be listed as async-signal-safe in POSIX
1291 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
1292 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
1293 particular, are NOT async-signal-safe.
1294 * All memory locations (variables and struct fields) that these functions
1295 access must be marked 'volatile'. This holds for both read and write
1296 accesses. Otherwise the compiler might optimize away stores to and
1297 reads from such locations that occur in the program, depending on its
1298 data flow analysis. For example, when the program contains a loop
1299 that is intended to inspect a variable set from within a signal handler
1300 while (!signal_occurred)
1302 the compiler is allowed to transform this into an endless loop if the
1303 variable 'signal_occurred' is not declared 'volatile'.
1304 Additionally, recall that:
1305 * A signal handler should not modify errno (except if it is a handler
1306 for a fatal signal and ends by raising the same signal again, thus
1307 provoking the termination of the process). If it invokes a function
1308 that may clobber errno, it needs to save and restore the value of
1310 #define _GL_ASYNC_SAFE
1314 #ifdef __has_attribute
1315 # define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
1317 # define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
1318 # define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
1319 # define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
1320 # define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
1321 # define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
1322 # define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
1323 # define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
1324 # define _GL_ATTR_diagnose_if 0
1325 # define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
1326 # define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
1327 # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
1328 # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
1329 # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
1331 # define _GL_ATTR_may_alias 0
1333 # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
1335 # define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
1336 # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
1337 # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
1338 # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
1339 # define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
1340 # define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
1341 # define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
1342 # define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
1343 # define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
1344 # define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
1345 # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
1349 #if _GL_HAS_ATTRIBUTE (alloc_size)
1350 # define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
1352 # define _GL_ATTRIBUTE_ALLOC_SIZE(args)
1355 #if _GL_HAS_ATTRIBUTE (always_inline)
1356 # define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
1358 # define _GL_ATTRIBUTE_ALWAYS_INLINE
1361 #if _GL_HAS_ATTRIBUTE (artificial)
1362 # define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
1364 # define _GL_ATTRIBUTE_ARTIFICIAL
1367 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
1368 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
1369 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
1370 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
1372 # define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
1374 # define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
1377 # define _GL_ATTRIBUTE_COLD
1380 #if _GL_HAS_ATTRIBUTE (const)
1381 # define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1383 # define _GL_ATTRIBUTE_CONST
1386 #if 201710L < __STDC_VERSION__
1387 # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
1388 #elif _GL_HAS_ATTRIBUTE (deprecated)
1389 # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
1391 # define _GL_ATTRIBUTE_DEPRECATED
1394 #if _GL_HAS_ATTRIBUTE (error)
1395 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
1396 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
1397 #elif _GL_HAS_ATTRIBUTE (diagnose_if)
1398 # define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
1399 # define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
1401 # define _GL_ATTRIBUTE_ERROR(msg)
1402 # define _GL_ATTRIBUTE_WARNING(msg)
1405 #if _GL_HAS_ATTRIBUTE (externally_visible)
1406 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
1408 # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
1411 /* FALLTHROUGH is special, because it always expands to something. */
1412 #if 201710L < __STDC_VERSION__
1413 # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
1414 #elif _GL_HAS_ATTRIBUTE (fallthrough)
1415 # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
1417 # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
1420 #if _GL_HAS_ATTRIBUTE (format)
1421 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
1423 # define _GL_ATTRIBUTE_FORMAT(spec)
1426 #if _GL_HAS_ATTRIBUTE (leaf)
1427 # define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
1429 # define _GL_ATTRIBUTE_LEAF
1432 /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
1433 #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
1434 # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
1436 # define _GL_ATTRIBUTE_MAY_ALIAS
1439 #if 201710L < __STDC_VERSION__
1440 # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
1441 #elif _GL_HAS_ATTRIBUTE (unused)
1442 # define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
1444 # define _GL_ATTRIBUTE_MAYBE_UNUSED
1446 /* Earlier spellings of this macro. */
1447 #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
1448 #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
1450 #if _GL_HAS_ATTRIBUTE (malloc)
1451 # define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
1453 # define _GL_ATTRIBUTE_MALLOC
1456 #if 201710L < __STDC_VERSION__
1457 # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
1458 #elif _GL_HAS_ATTRIBUTE (warn_unused_result)
1459 # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
1461 # define _GL_ATTRIBUTE_NODISCARD
1464 #if _GL_HAS_ATTRIBUTE (noinline)
1465 # define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
1467 # define _GL_ATTRIBUTE_NOINLINE
1470 #if _GL_HAS_ATTRIBUTE (nonnull)
1471 # define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
1473 # define _GL_ATTRIBUTE_NONNULL(args)
1476 #if _GL_HAS_ATTRIBUTE (nonstring)
1477 # define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
1479 # define _GL_ATTRIBUTE_NONSTRING
1482 /* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
1484 #if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
1485 # define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
1487 # define _GL_ATTRIBUTE_NOTHROW
1490 #if _GL_HAS_ATTRIBUTE (packed)
1491 # define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
1493 # define _GL_ATTRIBUTE_PACKED
1496 #if _GL_HAS_ATTRIBUTE (pure)
1497 # define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
1499 # define _GL_ATTRIBUTE_PURE
1502 #if _GL_HAS_ATTRIBUTE (returns_nonnull)
1503 # define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
1505 # define _GL_ATTRIBUTE_RETURNS_NONNULL
1508 #if _GL_HAS_ATTRIBUTE (sentinel)
1509 # define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
1511 # define _GL_ATTRIBUTE_SENTINEL(pos)
1515 /* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
1516 #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
1517 # define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
1519 # define _GL_UNUSED_LABEL
1523 /* Please see the Gnulib manual for how to use these macros.
1525 Suppress extern inline with HP-UX cc, as it appears to be broken; see
1526 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
1528 Suppress extern inline with Sun C in standards-conformance mode, as it
1529 mishandles inline functions that call each other. E.g., for 'inline void f
1530 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
1531 'reference to static identifier "f" in extern inline function'.
1532 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
1534 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
1535 on configurations that mistakenly use 'static inline' to implement
1536 functions or macros in standard C headers like <ctype.h>. For example,
1537 if isdigit is mistakenly implemented via a static inline function,
1538 a program containing an extern inline function that calls isdigit
1539 may not work since the C standard prohibits extern inline functions
1540 from calling static functions (ISO C 99 section 6.7.4.(3).
1541 This bug is known to occur on:
1543 OS X 10.8 and earlier; see:
1544 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
1547 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
1550 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
1552 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
1553 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
1554 Assume DragonFly and FreeBSD will be similar.
1556 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
1557 inline semantics, unless -fgnu89-inline is used. It defines a macro
1558 __GNUC_STDC_INLINE__ to indicate this situation or a macro
1559 __GNUC_GNU_INLINE__ to indicate the opposite situation.
1560 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
1561 semantics but warns, unless -fgnu89-inline is used:
1562 warning: C99 inline functions are not supported; using GNU89
1563 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
1564 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
1566 #if (((defined __APPLE__ && defined __MACH__) \
1567 || defined __DragonFly__ || defined __FreeBSD__) \
1568 && (defined __header_inline \
1569 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
1570 && ! defined __clang__) \
1571 : ((! defined _DONT_USE_CTYPE_INLINE_ \
1572 && (defined __GNUC__ || defined __cplusplus)) \
1573 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
1574 && defined __GNUC__ && ! defined __cplusplus))))
1575 # define _GL_EXTERN_INLINE_STDHEADER_BUG
1578 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
1579 : (199901L <= __STDC_VERSION__ \
1580 && !defined __HP_cc \
1582 && !(defined __SUNPRO_C && __STDC__))) \
1583 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
1584 # define _GL_INLINE inline
1585 # define _GL_EXTERN_INLINE extern inline
1586 # define _GL_EXTERN_INLINE_IN_USE
1587 #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
1588 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
1589 # if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
1590 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
1591 # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
1593 # define _GL_INLINE extern inline
1595 # define _GL_EXTERN_INLINE extern
1596 # define _GL_EXTERN_INLINE_IN_USE
1598 # define _GL_INLINE static _GL_UNUSED
1599 # define _GL_EXTERN_INLINE static _GL_UNUSED
1602 /* In GCC 4.6 (inclusive) to 5.1 (exclusive),
1603 suppress bogus "no previous prototype for 'FOO'"
1604 and "no previous declaration for 'FOO'" diagnostics,
1605 when FOO is an inline function in the header; see
1606 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
1607 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
1608 #if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
1609 # if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1610 # define _GL_INLINE_HEADER_CONST_PRAGMA
1612 # define _GL_INLINE_HEADER_CONST_PRAGMA \
1613 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1615 # define _GL_INLINE_HEADER_BEGIN \
1616 _Pragma ("GCC diagnostic push") \
1617 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1618 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1619 _GL_INLINE_HEADER_CONST_PRAGMA
1620 # define _GL_INLINE_HEADER_END \
1621 _Pragma ("GCC diagnostic pop")
1623 # define _GL_INLINE_HEADER_BEGIN
1624 # define _GL_INLINE_HEADER_END
1627 /* Define to `int' if <sys/types.h> doesn't define. */
1630 /* Define to `__inline__' or `__inline' if that's what the C compiler
1631 calls it, or to nothing if 'inline' is not supported under any name. */
1636 /* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1637 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1638 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
1639 __APPLE__ && __MACH__ test for Mac OS X.
1640 __APPLE_CC__ tests for the Apple compiler and its version.
1641 __STDC_VERSION__ tests for the C99 mode. */
1642 #if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1643 # define __GNUC_STDC_INLINE__ 1
1646 /* Define to a type if <wchar.h> does not define. */
1649 /* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
1650 n1 and n2 are expressions without side effects, that evaluate to real
1651 numbers (excluding NaN).
1656 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
1657 jump with nearly all GCC versions up to GCC 10.
1658 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
1659 GCC versions up to GCC 9.
1660 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
1661 avoids conditional jumps in all GCC versions >= 3.4. */
1662 #define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1665 /* Define to `int' if <sys/types.h> does not define. */
1668 /* Define to the type of st_nlink in struct stat, or a supertype. */
1671 /* Define as a signed integer type capable of holding a process identifier. */
1674 /* Define to the equivalent of the C99 'restrict' keyword, or to
1675 nothing if this is not supported. Do not define if restrict is
1676 supported only directly. */
1678 /* Work around a bug in older versions of Sun C++, which did not
1679 #define __restrict__ or support _Restrict or __restrict__
1680 even though the corresponding Sun C compiler ended up with
1681 "#define restrict _Restrict" or "#define restrict __restrict__"
1682 in the previous line. This workaround can be removed once
1683 we assume Oracle Developer Studio 12.5 (2016) or later. */
1684 #if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
1686 # define __restrict__
1689 /* Define to `unsigned int' if <sys/types.h> does not define. */
1692 /* type to use in place of socklen_t if not defined */
1695 /* Define as a signed type of the same size as size_t. */
1698 /* Define to `int' if <sys/types.h> doesn't define. */