]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gnulib/config.in
Set is_debug_types in allocate_signatured_type
[thirdparty/binutils-gdb.git] / gnulib / config.in
CommitLineData
c971b7fa
PA
1/* config.in. Generated from configure.ac by autoheader. */
2
88b48903
WN
3/* Define if building universal (internal helper macro) */
4#undef AC_APPLE_UNIVERSAL_BUILD
5
c971b7fa
PA
6/* Define to the number of bits in type 'ptrdiff_t'. */
7#undef BITSIZEOF_PTRDIFF_T
8
9/* Define to the number of bits in type 'sig_atomic_t'. */
10#undef BITSIZEOF_SIG_ATOMIC_T
11
12/* Define to the number of bits in type 'size_t'. */
13#undef BITSIZEOF_SIZE_T
14
15/* Define to the number of bits in type 'wchar_t'. */
16#undef BITSIZEOF_WCHAR_T
17
18/* Define to the number of bits in type 'wint_t'. */
19#undef BITSIZEOF_WINT_T
20
9c9d63b1 21/* Define to 1 if using 'alloca.c'. */
8690e634
JK
22#undef C_ALLOCA
23
88b48903
WN
24/* Define as the bit index in the word where to find bit 0 of the exponent of
25 'double'. */
26#undef DBL_EXPBIT0_BIT
27
28/* Define as the word index where to find the exponent of 'double'. */
29#undef DBL_EXPBIT0_WORD
30
18848e28
GF
31/* the name of the file descriptor member of DIR */
32#undef DIR_FD_MEMBER_NAME
33
34#ifdef DIR_FD_MEMBER_NAME
35# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
36#else
37# define DIR_TO_FD(Dir_p) -1
38#endif
39
40
98399780
YQ
41/* Define to 1 if // is a file system root distinct from /. */
42#undef DOUBLE_SLASH_IS_DISTINCT_ROOT
43
6ec2e0f5
SDJ
44/* Define if struct dirent has a member d_ino that actually works. */
45#undef D_INO_IN_DIRENT
46
47/* Define this to 1 if F_DUPFD behavior does not match POSIX */
48#undef FCNTL_DUPFD_BUGGY
49
49e4877c 50/* Define to nothing if C supports flexible array members, and to 1 if it does
c0c3707f 51 not. That way, with a declaration like 'struct s { int n; short
49e4877c 52 d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
c0c3707f
CB
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. */
49e4877c
PA
55#undef FLEXIBLE_ARRAY_MEMBER
56
8a99096f
SM
57/* Define to 1 if mkdir mistakenly creates a directory given with a trailing
58 dot component. */
59#undef FUNC_MKDIR_DOT_BUG
60
98399780
YQ
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
64
4a626d0a
PA
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
68
98399780
YQ
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
72
6ec2e0f5
SDJ
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
76
c0c3707f
CB
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
80
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
84
6a29c58e
YQ
85/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
86 whether the gnulib module fscanf shall be considered present. */
87#undef GNULIB_FSCANF
88
6ec2e0f5
SDJ
89/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
90 whether the gnulib module getcwd shall be considered present. */
91#undef GNULIB_GETCWD
92
698be2d8
CB
93/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
94 whether the gnulib module isblank shall be considered present. */
95#undef GNULIB_ISBLANK
96
5abebf3c
CB
97/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
98 whether the gnulib module lock shall be considered present. */
99#undef GNULIB_LOCK
100
b3279b60
TT
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
104
c0c3707f
CB
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
108
6ec2e0f5
SDJ
109/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
110 whether the gnulib module openat shall be considered present. */
111#undef GNULIB_OPENAT
112
4a626d0a
PA
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
116
6a29c58e
YQ
117/* Define to a C preprocessor expression that evaluates to 1 or 0, depending
118 whether the gnulib module scanf shall be considered present. */
119#undef GNULIB_SCANF
120
6ec2e0f5
SDJ
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
124
c0c3707f
CB
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
128
9c9d63b1
PM
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
132
698be2d8
CB
133/* Define to 1 when the gnulib module btowc should be tested. */
134#undef GNULIB_TEST_BTOWC
135
98399780
YQ
136/* Define to 1 when the gnulib module canonicalize_file_name should be tested.
137 */
138#undef GNULIB_TEST_CANONICALIZE_FILE_NAME
139
6a29c58e
YQ
140/* Define to 1 when the gnulib module chdir should be tested. */
141#undef GNULIB_TEST_CHDIR
142
6ec2e0f5
SDJ
143/* Define to 1 when the gnulib module cloexec should be tested. */
144#undef GNULIB_TEST_CLOEXEC
145
146/* Define to 1 when the gnulib module close should be tested. */
147#undef GNULIB_TEST_CLOSE
148
149/* Define to 1 when the gnulib module closedir should be tested. */
150#undef GNULIB_TEST_CLOSEDIR
151
18848e28
GF
152/* Define to 1 when the gnulib module dirfd should be tested. */
153#undef GNULIB_TEST_DIRFD
154
6ec2e0f5
SDJ
155/* Define to 1 when the gnulib module dup should be tested. */
156#undef GNULIB_TEST_DUP
157
158/* Define to 1 when the gnulib module dup2 should be tested. */
159#undef GNULIB_TEST_DUP2
160
3d99e817
AK
161/* Define to 1 when the gnulib module environ should be tested. */
162#undef GNULIB_TEST_ENVIRON
163
6ec2e0f5
SDJ
164/* Define to 1 when the gnulib module fchdir should be tested. */
165#undef GNULIB_TEST_FCHDIR
166
167/* Define to 1 when the gnulib module fcntl should be tested. */
168#undef GNULIB_TEST_FCNTL
169
170/* Define to 1 when the gnulib module fdopendir should be tested. */
171#undef GNULIB_TEST_FDOPENDIR
172
c0c3707f
CB
173/* Define to 1 when the gnulib module fnmatch should be tested. */
174#undef GNULIB_TEST_FNMATCH
175
9c9d63b1
PM
176/* Define to 1 when the gnulib module free-posix should be tested. */
177#undef GNULIB_TEST_FREE_POSIX
178
88b48903
WN
179/* Define to 1 when the gnulib module frexp should be tested. */
180#undef GNULIB_TEST_FREXP
181
182/* Define to 1 when the gnulib module frexpl should be tested. */
183#undef GNULIB_TEST_FREXPL
184
6ec2e0f5
SDJ
185/* Define to 1 when the gnulib module fstat should be tested. */
186#undef GNULIB_TEST_FSTAT
187
188/* Define to 1 when the gnulib module fstatat should be tested. */
189#undef GNULIB_TEST_FSTATAT
190
191/* Define to 1 when the gnulib module getcwd should be tested. */
192#undef GNULIB_TEST_GETCWD
193
c17253b9
MF
194/* Define to 1 when the gnulib module getdelim should be tested. */
195#undef GNULIB_TEST_GETDELIM
196
6ec2e0f5
SDJ
197/* Define to 1 when the gnulib module getdtablesize should be tested. */
198#undef GNULIB_TEST_GETDTABLESIZE
199
c17253b9
MF
200/* Define to 1 when the gnulib module getline should be tested. */
201#undef GNULIB_TEST_GETLINE
202
6ec2e0f5
SDJ
203/* Define to 1 when the gnulib module getlogin_r should be tested. */
204#undef GNULIB_TEST_GETLOGIN_R
205
698be2d8
CB
206/* Define to 1 when the gnulib module getrandom should be tested. */
207#undef GNULIB_TEST_GETRANDOM
208
4a626d0a
PA
209/* Define to 1 when the gnulib module gettimeofday should be tested. */
210#undef GNULIB_TEST_GETTIMEOFDAY
211
c0c3707f
CB
212/* Define to 1 when the gnulib module glob should be tested. */
213#undef GNULIB_TEST_GLOB
214
f45c62c4
YQ
215/* Define to 1 when the gnulib module lstat should be tested. */
216#undef GNULIB_TEST_LSTAT
217
6a29c58e
YQ
218/* Define to 1 when the gnulib module malloc-posix should be tested. */
219#undef GNULIB_TEST_MALLOC_POSIX
220
8690e634
JK
221/* Define to 1 when the gnulib module mbrtowc should be tested. */
222#undef GNULIB_TEST_MBRTOWC
223
224/* Define to 1 when the gnulib module mbsinit should be tested. */
225#undef GNULIB_TEST_MBSINIT
226
227/* Define to 1 when the gnulib module mbsrtowcs should be tested. */
228#undef GNULIB_TEST_MBSRTOWCS
229
698be2d8
CB
230/* Define to 1 when the gnulib module mbtowc should be tested. */
231#undef GNULIB_TEST_MBTOWC
232
c971b7fa
PA
233/* Define to 1 when the gnulib module memchr should be tested. */
234#undef GNULIB_TEST_MEMCHR
235
236/* Define to 1 when the gnulib module memmem should be tested. */
237#undef GNULIB_TEST_MEMMEM
238
6ec2e0f5
SDJ
239/* Define to 1 when the gnulib module mempcpy should be tested. */
240#undef GNULIB_TEST_MEMPCPY
241
242/* Define to 1 when the gnulib module memrchr should be tested. */
243#undef GNULIB_TEST_MEMRCHR
244
9c9d63b1
PM
245/* Define to 1 when the gnulib module mkdir should be tested. */
246#undef GNULIB_TEST_MKDIR
247
e8d8cce6
SM
248/* Define to 1 when the gnulib module mkdtemp should be tested. */
249#undef GNULIB_TEST_MKDTEMP
250
b3279b60
TT
251/* Define to 1 when the gnulib module mkostemp should be tested. */
252#undef GNULIB_TEST_MKOSTEMP
2d8adcbd 253
6ec2e0f5
SDJ
254/* Define to 1 when the gnulib module open should be tested. */
255#undef GNULIB_TEST_OPEN
256
257/* Define to 1 when the gnulib module openat should be tested. */
258#undef GNULIB_TEST_OPENAT
259
260/* Define to 1 when the gnulib module opendir should be tested. */
261#undef GNULIB_TEST_OPENDIR
262
9c9d63b1
PM
263/* Define to 1 when the gnulib module pipe should be tested. */
264#undef GNULIB_TEST_PIPE
265
8424cc97
SM
266/* Define to 1 when the gnulib module rawmemchr should be tested. */
267#undef GNULIB_TEST_RAWMEMCHR
268
6ec2e0f5
SDJ
269/* Define to 1 when the gnulib module readdir should be tested. */
270#undef GNULIB_TEST_READDIR
271
2196f55f
YQ
272/* Define to 1 when the gnulib module readlink should be tested. */
273#undef GNULIB_TEST_READLINK
274
6ec2e0f5
SDJ
275/* Define to 1 when the gnulib module realloc-posix should be tested. */
276#undef GNULIB_TEST_REALLOC_POSIX
277
98399780
YQ
278/* Define to 1 when the gnulib module realpath should be tested. */
279#undef GNULIB_TEST_REALPATH
280
6a29c58e
YQ
281/* Define to 1 when the gnulib module rename should be tested. */
282#undef GNULIB_TEST_RENAME
283
6ec2e0f5
SDJ
284/* Define to 1 when the gnulib module rewinddir should be tested. */
285#undef GNULIB_TEST_REWINDDIR
286
6a29c58e
YQ
287/* Define to 1 when the gnulib module rmdir should be tested. */
288#undef GNULIB_TEST_RMDIR
289
3d99e817
AK
290/* Define to 1 when the gnulib module setenv should be tested. */
291#undef GNULIB_TEST_SETENV
292
5df4cba6
SM
293/* Define to 1 when the gnulib module setlocale_null should be tested. */
294#undef GNULIB_TEST_SETLOCALE_NULL
295
2196f55f
YQ
296/* Define to 1 when the gnulib module stat should be tested. */
297#undef GNULIB_TEST_STAT
298
8424cc97
SM
299/* Define to 1 when the gnulib module strchrnul should be tested. */
300#undef GNULIB_TEST_STRCHRNUL
301
6ec2e0f5
SDJ
302/* Define to 1 when the gnulib module strdup should be tested. */
303#undef GNULIB_TEST_STRDUP
304
305/* Define to 1 when the gnulib module strerror should be tested. */
306#undef GNULIB_TEST_STRERROR
307
5abebf3c
CB
308/* Define to 1 when the gnulib module strerror_r should be tested. */
309#undef GNULIB_TEST_STRERROR_R
310
698be2d8
CB
311/* Define to 1 when the gnulib module strnlen should be tested. */
312#undef GNULIB_TEST_STRNLEN
313
63ce7108
TT
314/* Define to 1 when the gnulib module strstr should be tested. */
315#undef GNULIB_TEST_STRSTR
316
421693b0
PA
317/* Define to 1 when the gnulib module strtok_r should be tested. */
318#undef GNULIB_TEST_STRTOK_R
319
f8e27d88
CB
320/* Define to 1 when the gnulib module time_r should be tested. */
321#undef GNULIB_TEST_TIME_R
322
3d99e817
AK
323/* Define to 1 when the gnulib module unsetenv should be tested. */
324#undef GNULIB_TEST_UNSETENV
325
698be2d8
CB
326/* Define to 1 when the gnulib module wmemchr should be tested. */
327#undef GNULIB_TEST_WMEMCHR
328
329/* Define to 1 when the gnulib module wmempcpy should be tested. */
330#undef GNULIB_TEST_WMEMPCPY
331
8690e634
JK
332/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
333 may be supplied by this distribution. */
334#undef HAVE_ALLOCA
335
336/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
337 */
338#undef HAVE_ALLOCA_H
339
725e2999
JB
340/* Define to 1 if you have the <arpa/inet.h> header file. */
341#undef HAVE_ARPA_INET_H
342
698be2d8
CB
343/* Define to 1 if you have the <bcrypt.h> header file. */
344#undef HAVE_BCRYPT_H
345
c971b7fa
PA
346/* Define to 1 if you have the <bp-sym.h> header file. */
347#undef HAVE_BP_SYM_H
348
c0c3707f 349/* Define to 1 if you have the `btowc' function. */
8690e634
JK
350#undef HAVE_BTOWC
351
c0c3707f 352/* Define to 1 if you have the `canonicalize_file_name' function. */
98399780
YQ
353#undef HAVE_CANONICALIZE_FILE_NAME
354
c0c3707f 355/* Define to 1 if you have the `catgets' function. */
5abebf3c
CB
356#undef HAVE_CATGETS
357
9c9d63b1
PM
358/* Define to 1 if you have the `clock_gettime' function. */
359#undef HAVE_CLOCK_GETTIME
360
361/* Define to 1 if you have the `clock_settime' function. */
362#undef HAVE_CLOCK_SETTIME
363
6ec2e0f5
SDJ
364/* Define to 1 if you have the `closedir' function. */
365#undef HAVE_CLOSEDIR
366
c0c3707f
CB
367/* Define to 1 if you have the <crtdefs.h> header file. */
368#undef HAVE_CRTDEFS_H
369
4a626d0a
PA
370/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't.
371 */
372#undef HAVE_DECL_ALARM
373
18848e28
GF
374/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
375 */
376#undef HAVE_DECL_DIRFD
377
9c9d63b1
PM
378/* Define to 1 if you have the declaration of `ecvt', and to 0 if you don't.
379 */
380#undef HAVE_DECL_ECVT
381
382/* Define to 1 if you have the declaration of `execvpe', and to 0 if you
383 don't. */
384#undef HAVE_DECL_EXECVPE
385
6ec2e0f5
SDJ
386/* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't.
387 */
388#undef HAVE_DECL_FCHDIR
389
9c9d63b1
PM
390/* Define to 1 if you have the declaration of `fcloseall', and to 0 if you
391 don't. */
392#undef HAVE_DECL_FCLOSEALL
393
394/* Define to 1 if you have the declaration of `fcvt', and to 0 if you don't.
395 */
396#undef HAVE_DECL_FCVT
397
6ec2e0f5
SDJ
398/* Define to 1 if you have the declaration of `fdopendir', and to 0 if you
399 don't. */
400#undef HAVE_DECL_FDOPENDIR
401
9c9d63b1
PM
402/* Define to 1 if you have the declaration of `gcvt', and to 0 if you don't.
403 */
404#undef HAVE_DECL_GCVT
405
6ec2e0f5
SDJ
406/* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't.
407 */
408#undef HAVE_DECL_GETCWD
409
c17253b9
MF
410/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
411 don't. */
412#undef HAVE_DECL_GETC_UNLOCKED
413
414/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
415 don't. */
416#undef HAVE_DECL_GETDELIM
417
6ec2e0f5
SDJ
418/* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you
419 don't. */
420#undef HAVE_DECL_GETDTABLESIZE
421
c17253b9
MF
422/* Define to 1 if you have the declaration of `getline', and to 0 if you
423 don't. */
424#undef HAVE_DECL_GETLINE
425
6ec2e0f5
SDJ
426/* Define to 1 if you have the declaration of `getlogin', and to 0 if you
427 don't. */
428#undef HAVE_DECL_GETLOGIN
429
430/* Define to 1 if you have the declaration of `getlogin_r', and to 0 if you
431 don't. */
432#undef HAVE_DECL_GETLOGIN_R
433
725e2999
JB
434/* Define to 1 if you have the declaration of `inet_ntop', and to 0 if you
435 don't. */
436#undef HAVE_DECL_INET_NTOP
437
f8e27d88
CB
438/* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
439 don't. */
440#undef HAVE_DECL_LOCALTIME_R
441
8690e634
JK
442/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
443 don't. */
444#undef HAVE_DECL_MBRTOWC
445
446/* Define to 1 if you have the declaration of `mbsinit', and to 0 if you
447 don't. */
448#undef HAVE_DECL_MBSINIT
449
450/* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you
451 don't. */
452#undef HAVE_DECL_MBSRTOWCS
453
c971b7fa
PA
454/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
455 */
456#undef HAVE_DECL_MEMMEM
457
6ec2e0f5
SDJ
458/* Define to 1 if you have the declaration of `memrchr', and to 0 if you
459 don't. */
460#undef HAVE_DECL_MEMRCHR
461
462/* Define to 1 if you have the declaration of `program_invocation_name', and
463 to 0 if you don't. */
464#undef HAVE_DECL_PROGRAM_INVOCATION_NAME
465
466/* Define to 1 if you have the declaration of `program_invocation_short_name',
467 and to 0 if you don't. */
468#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
469
3d99e817
AK
470/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
471 */
472#undef HAVE_DECL_SETENV
473
6ec2e0f5
SDJ
474/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
475 */
476#undef HAVE_DECL_STRDUP
477
c0c3707f
CB
478/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
479 don't. */
6ec2e0f5
SDJ
480#undef HAVE_DECL_STRERROR_R
481
698be2d8
CB
482/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
483 don't. */
484#undef HAVE_DECL_STRNLEN
485
421693b0
PA
486/* Define to 1 if you have the declaration of `strtok_r', and to 0 if you
487 don't. */
488#undef HAVE_DECL_STRTOK_R
489
8690e634
JK
490/* Define to 1 if you have the declaration of `towlower', and to 0 if you
491 don't. */
492#undef HAVE_DECL_TOWLOWER
493
3d99e817
AK
494/* Define to 1 if you have the declaration of `unsetenv', and to 0 if you
495 don't. */
496#undef HAVE_DECL_UNSETENV
497
9c9d63b1
PM
498/* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't.
499 */
500#undef HAVE_DECL_WCSDUP
501
6ec2e0f5
SDJ
502/* Define to 1 if you have the declaration of `__argv', and to 0 if you don't.
503 */
504#undef HAVE_DECL___ARGV
505
e26b6bb0
TT
506/* Define to 1 if you have the <dirent.h> header file. */
507#undef HAVE_DIRENT_H
508
18848e28
GF
509/* Define to 1 if you have the `dirfd' function. */
510#undef HAVE_DIRFD
511
848288b3
CB
512/* Define to 1 if you have the <dlfcn.h> header file. */
513#undef HAVE_DLFCN_H
514
3d99e817
AK
515/* Define if you have the declaration of environ. */
516#undef HAVE_ENVIRON_DECL
517
9c9d63b1
PM
518/* Define to 1 if you have the `faccessat' function. */
519#undef HAVE_FACCESSAT
520
c0c3707f 521/* Define to 1 if you have the `fchdir' function. */
6ec2e0f5
SDJ
522#undef HAVE_FCHDIR
523
c0c3707f 524/* Define to 1 if you have the `fcntl' function. */
6ec2e0f5
SDJ
525#undef HAVE_FCNTL
526
c0c3707f 527/* Define to 1 if you have the `fdopendir' function. */
6ec2e0f5
SDJ
528#undef HAVE_FDOPENDIR
529
8690e634
JK
530/* Define to 1 if you have the <features.h> header file. */
531#undef HAVE_FEATURES_H
532
c17253b9
MF
533/* Define to 1 if you have the `flockfile' function. */
534#undef HAVE_FLOCKFILE
535
c0c3707f
CB
536/* Define to 1 if you have the `fnmatch' function. */
537#undef HAVE_FNMATCH
538
539/* Define to 1 if you have the <fnmatch.h> header file. */
540#undef HAVE_FNMATCH_H
541
88b48903
WN
542/* Define if the frexp() function is available and works. */
543#undef HAVE_FREXP
544
545/* Define if the frexpl() function is available. */
546#undef HAVE_FREXPL
547
c0c3707f 548/* Define to 1 if you have the `fstatat' function. */
6ec2e0f5
SDJ
549#undef HAVE_FSTATAT
550
c17253b9
MF
551/* Define to 1 if you have the `funlockfile' function. */
552#undef HAVE_FUNLOCKFILE
553
c0c3707f 554/* Define to 1 if you have the `getcwd' function. */
98399780
YQ
555#undef HAVE_GETCWD
556
6ec2e0f5
SDJ
557/* Define to 1 if getcwd works, but with shorter paths than is generally
558 tested with the replacement. */
559#undef HAVE_GETCWD_SHORTER
560
c17253b9
MF
561/* Define to 1 if you have the `getdelim' function. */
562#undef HAVE_GETDELIM
563
c0c3707f 564/* Define to 1 if you have the `getdtablesize' function. */
6ec2e0f5
SDJ
565#undef HAVE_GETDTABLESIZE
566
c0c3707f 567/* Define to 1 if you have the `getexecname' function. */
6ec2e0f5
SDJ
568#undef HAVE_GETEXECNAME
569
c0c3707f 570/* Define to 1 if you have the `getlogin_r' function. */
6ec2e0f5
SDJ
571#undef HAVE_GETLOGIN_R
572
c0c3707f 573/* Define to 1 if the system has the 'getpagesize' function. */
6ec2e0f5
SDJ
574#undef HAVE_GETPAGESIZE
575
c0c3707f 576/* Define to 1 if you have the `getprogname' function. */
6ec2e0f5
SDJ
577#undef HAVE_GETPROGNAME
578
c0c3707f 579/* Define to 1 if you have the `getpwnam_r' function. */
6ec2e0f5
SDJ
580#undef HAVE_GETPWNAM_R
581
698be2d8
CB
582/* Define to 1 if you have the `getrandom' function. */
583#undef HAVE_GETRANDOM
584
c0c3707f 585/* Define to 1 if you have the `gettimeofday' function. */
4a626d0a
PA
586#undef HAVE_GETTIMEOFDAY
587
c0c3707f
CB
588/* Define to 1 if you have the `glob' function. */
589#undef HAVE_GLOB
2d8adcbd 590
6ec2e0f5
SDJ
591/* Define to 1 if you have the <glob.h> header file. */
592#undef HAVE_GLOB_H
593
c0c3707f
CB
594/* Define to 1 if you have the `glob_pattern_p' function. */
595#undef HAVE_GLOB_PATTERN_P
596
725e2999
JB
597/* Define to 1 if you have the `inet_ntop' function. */
598#undef HAVE_INET_NTOP
599
c971b7fa
PA
600/* Define to 1 if you have the <inttypes.h> header file. */
601#undef HAVE_INTTYPES_H
602
725e2999
JB
603/* Define to 1 if <sys/socket.h> defines AF_INET. */
604#undef HAVE_IPV4
605
606/* Define to 1 if <sys/socket.h> defines AF_INET6. */
607#undef HAVE_IPV6
608
c0c3707f 609/* Define to 1 if you have the `isblank' function. */
8690e634
JK
610#undef HAVE_ISBLANK
611
88b48903
WN
612/* Define if the isnan(double) function is available in libc. */
613#undef HAVE_ISNAND_IN_LIBC
614
615/* Define if the isnan(long double) function is available in libc. */
616#undef HAVE_ISNANL_IN_LIBC
617
c0c3707f 618/* Define to 1 if you have the `iswcntrl' function. */
8690e634
JK
619#undef HAVE_ISWCNTRL
620
8690e634
JK
621/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
622#undef HAVE_LANGINFO_CODESET
623
698be2d8
CB
624/* Define to 1 if the bcrypt library is guaranteed to be present. */
625#undef HAVE_LIB_BCRYPT
626
49e4877c
PA
627/* Define to 1 if you have the <limits.h> header file. */
628#undef HAVE_LIMITS_H
629
c0c3707f 630/* Define to 1 if you have the `link' function. */
6a29c58e
YQ
631#undef HAVE_LINK
632
c0c3707f 633/* Define to 1 if you have the `localtime_r' function. */
f8e27d88
CB
634#undef HAVE_LOCALTIME_R
635
c971b7fa
PA
636/* Define to 1 if the system has the type 'long long int'. */
637#undef HAVE_LONG_LONG_INT
638
c0c3707f 639/* Define to 1 if you have the `lstat' function. */
2196f55f
YQ
640#undef HAVE_LSTAT
641
6a29c58e
YQ
642/* Define if the 'malloc' function is POSIX compliant. */
643#undef HAVE_MALLOC_POSIX
644
c971b7fa
PA
645/* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
646 config.h and <sys/mman.h>. */
647#undef HAVE_MAP_ANONYMOUS
648
88b48903
WN
649/* Define to 1 if you have the <math.h> header file. */
650#undef HAVE_MATH_H
651
c0c3707f 652/* Define to 1 if you have the `mbrtowc' function. */
8690e634
JK
653#undef HAVE_MBRTOWC
654
c0c3707f 655/* Define to 1 if you have the `mbsinit' function. */
8690e634
JK
656#undef HAVE_MBSINIT
657
c0c3707f 658/* Define to 1 if you have the `mbsrtowcs' function. */
8690e634
JK
659#undef HAVE_MBSRTOWCS
660
661/* Define to 1 if <wchar.h> declares mbstate_t. */
662#undef HAVE_MBSTATE_T
663
698be2d8
CB
664/* Define to 1 if you have the `mbtowc' function. */
665#undef HAVE_MBTOWC
666
c971b7fa
PA
667/* Define to 1 if you have the `memmem' function. */
668#undef HAVE_MEMMEM
669
670/* Define to 1 if you have the <memory.h> header file. */
671#undef HAVE_MEMORY_H
672
3574124b 673/* Define to 1 if you have the `mempcpy' function. */
8690e634
JK
674#undef HAVE_MEMPCPY
675
6ec2e0f5
SDJ
676/* Define to 1 if you have the `memrchr' function. */
677#undef HAVE_MEMRCHR
678
679/* Define to 1 if getcwd minimally works, that is, its result can be trusted
680 when it succeeds. */
681#undef HAVE_MINIMALLY_WORKING_GETCWD
682
9c9d63b1
PM
683/* Define to 1 if you have the <minix/config.h> header file. */
684#undef HAVE_MINIX_CONFIG_H
685
698be2d8
CB
686/* Define to 1 if <limits.h> defines the MIN and MAX macros. */
687#undef HAVE_MINMAX_IN_LIMITS_H
688
689/* Define to 1 if <sys/param.h> defines the MIN and MAX macros. */
690#undef HAVE_MINMAX_IN_SYS_PARAM_H
691
e8d8cce6
SM
692/* Define to 1 if you have the `mkdtemp' function. */
693#undef HAVE_MKDTEMP
694
c0c3707f 695/* Define to 1 if you have the `mkostemp' function. */
b3279b60 696#undef HAVE_MKOSTEMP
2d8adcbd 697
c0c3707f 698/* Define to 1 if you have the `mprotect' function. */
c971b7fa
PA
699#undef HAVE_MPROTECT
700
6ec2e0f5
SDJ
701/* Define to 1 on MSVC platforms that have the "invalid parameter handler"
702 concept. */
703#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER
704
725e2999
JB
705/* Define to 1 if you have the <netdb.h> header file. */
706#undef HAVE_NETDB_H
707
708/* Define to 1 if you have the <netinet/in.h> header file. */
709#undef HAVE_NETINET_IN_H
710
c0c3707f 711/* Define to 1 if you have the `openat' function. */
6ec2e0f5
SDJ
712#undef HAVE_OPENAT
713
714/* Define to 1 if you have the `opendir' function. */
715#undef HAVE_OPENDIR
716
717/* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
718 setting errno to ERANGE, ENAMETOOLONG, or ENOENT. */
719#undef HAVE_PARTLY_WORKING_GETCWD
720
c0c3707f 721/* Define to 1 if you have the `pipe' function. */
6ec2e0f5
SDJ
722#undef HAVE_PIPE
723
c0c3707f
CB
724/* Define if you have the <pthread.h> header and the POSIX threads API. */
725#undef HAVE_PTHREAD_API
726
5abebf3c
CB
727/* Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE. */
728#undef HAVE_PTHREAD_MUTEX_RECURSIVE
729
730/* Define if the POSIX multithreading library has read/write locks. */
731#undef HAVE_PTHREAD_RWLOCK
732
c0c3707f
CB
733/* Define if the 'pthread_rwlock_rdlock' function prefers a writer to a
734 reader. */
735#undef HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER
736
8424cc97
SM
737/* Define to 1 if you have the `rawmemchr' function. */
738#undef HAVE_RAWMEMCHR
739
6ec2e0f5
SDJ
740/* Define to 1 if you have the `readdir' function. */
741#undef HAVE_READDIR
742
c0c3707f 743/* Define to 1 if you have the `readlink' function. */
2196f55f
YQ
744#undef HAVE_READLINK
745
6ec2e0f5
SDJ
746/* Define if the 'realloc' function is POSIX compliant. */
747#undef HAVE_REALLOC_POSIX
748
c0c3707f 749/* Define to 1 if you have the `realpath' function. */
98399780
YQ
750#undef HAVE_REALPATH
751
6ec2e0f5
SDJ
752/* Define to 1 if you have the `rewinddir' function. */
753#undef HAVE_REWINDDIR
754
88b48903
WN
755/* Define to 1 if 'long double' and 'double' have the same representation. */
756#undef HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
757
725e2999
JB
758/* Define to 1 if the system has the type `sa_family_t'. */
759#undef HAVE_SA_FAMILY_T
760
9c9d63b1
PM
761/* Define to 1 if you have the <sdkddkver.h> header file. */
762#undef HAVE_SDKDDKVER_H
763
3d99e817
AK
764/* Define to 1 if you have the <search.h> header file. */
765#undef HAVE_SEARCH_H
766
6ec2e0f5
SDJ
767/* Define to 1 if you have the `setdtablesize' function. */
768#undef HAVE_SETDTABLESIZE
769
c0c3707f 770/* Define to 1 if you have the `setenv' function. */
3d99e817
AK
771#undef HAVE_SETENV
772
725e2999
JB
773/* Define to 1 if you have the `shutdown' function. */
774#undef HAVE_SHUTDOWN
775
c971b7fa
PA
776/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
777#undef HAVE_SIGNED_SIG_ATOMIC_T
778
779/* Define to 1 if 'wchar_t' is a signed integer type. */
780#undef HAVE_SIGNED_WCHAR_T
781
782/* Define to 1 if 'wint_t' is a signed integer type. */
783#undef HAVE_SIGNED_WINT_T
784
0750520d
PA
785/* Define to 1 if the system has the type `sigset_t'. */
786#undef HAVE_SIGSET_T
787
c0c3707f 788/* Define to 1 if you have the `snprintf' function. */
5abebf3c
CB
789#undef HAVE_SNPRINTF
790
c971b7fa
PA
791/* Define to 1 if you have the <stdint.h> header file. */
792#undef HAVE_STDINT_H
793
794/* Define to 1 if you have the <stdlib.h> header file. */
795#undef HAVE_STDLIB_H
796
8424cc97
SM
797/* Define to 1 if you have the `strchrnul' function. */
798#undef HAVE_STRCHRNUL
799
c0c3707f 800/* Define to 1 if you have the `strerror_r' function. */
6ec2e0f5
SDJ
801#undef HAVE_STRERROR_R
802
c971b7fa
PA
803/* Define to 1 if you have the <strings.h> header file. */
804#undef HAVE_STRINGS_H
805
806/* Define to 1 if you have the <string.h> header file. */
807#undef HAVE_STRING_H
808
421693b0
PA
809/* Define to 1 if you have the `strtok_r' function. */
810#undef HAVE_STRTOK_R
811
6ec2e0f5
SDJ
812/* Define if there is a member named d_type in the struct describing directory
813 headers. */
814#undef HAVE_STRUCT_DIRENT_D_TYPE
815
725e2999
JB
816/* Define to 1 if the system has the type `struct sockaddr_storage'. */
817#undef HAVE_STRUCT_SOCKADDR_STORAGE
818
819/* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
820#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
821
c0c3707f
CB
822/* Define to 1 if `st_atimensec' is a member of `struct stat'. */
823#undef HAVE_STRUCT_STAT_ST_ATIMENSEC
824
825/* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
826#undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC
827
828/* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
829#undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC
830
831/* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
832#undef HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC
833
834/* Define to 1 if `st_birthtimensec' is a member of `struct stat'. */
835#undef HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC
836
837/* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */
838#undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC
839
840/* Define to 1 if `st_birthtim.tv_nsec' is a member of `struct stat'. */
841#undef HAVE_STRUCT_STAT_ST_BIRTHTIM_TV_NSEC
842
843/* Define to 1 if you have the `symlink' function. */
8690e634
JK
844#undef HAVE_SYMLINK
845
c971b7fa
PA
846/* Define to 1 if you have the <sys/bitypes.h> header file. */
847#undef HAVE_SYS_BITYPES_H
848
849/* Define to 1 if you have the <sys/inttypes.h> header file. */
850#undef HAVE_SYS_INTTYPES_H
851
852/* Define to 1 if you have the <sys/mman.h> header file. */
853#undef HAVE_SYS_MMAN_H
854
38ec2207
PA
855/* Define to 1 if you have the <sys/param.h> header file. */
856#undef HAVE_SYS_PARAM_H
857
698be2d8
CB
858/* Define to 1 if you have the <sys/random.h> header file. */
859#undef HAVE_SYS_RANDOM_H
860
4a626d0a
PA
861/* Define to 1 if you have the <sys/socket.h> header file. */
862#undef HAVE_SYS_SOCKET_H
863
c971b7fa
PA
864/* Define to 1 if you have the <sys/stat.h> header file. */
865#undef HAVE_SYS_STAT_H
866
09607c9e
TT
867/* Define to 1 if you have the <sys/time.h> header file. */
868#undef HAVE_SYS_TIME_H
869
c971b7fa
PA
870/* Define to 1 if you have the <sys/types.h> header file. */
871#undef HAVE_SYS_TYPES_H
872
725e2999
JB
873/* Define to 1 if you have the <sys/uio.h> header file. */
874#undef HAVE_SYS_UIO_H
875
5df4cba6
SM
876/* Define to 1 if you have the `thrd_create' function. */
877#undef HAVE_THRD_CREATE
878
c0c3707f
CB
879/* Define to 1 if you have the <threads.h> header file. */
880#undef HAVE_THREADS_H
881
8690e634
JK
882/* Define to 1 if you have the `towlower' function. */
883#undef HAVE_TOWLOWER
884
3d99e817
AK
885/* Define to 1 if you have the `tsearch' function. */
886#undef HAVE_TSEARCH
887
c971b7fa
PA
888/* Define to 1 if you have the <unistd.h> header file. */
889#undef HAVE_UNISTD_H
890
3d99e817
AK
891/* Define to 1 if you have the `unsetenv' function. */
892#undef HAVE_UNSETENV
893
c971b7fa
PA
894/* Define to 1 if the system has the type 'unsigned long long int'. */
895#undef HAVE_UNSIGNED_LONG_LONG_INT
896
6ec2e0f5
SDJ
897/* Define if you have a global __progname variable */
898#undef HAVE_VAR___PROGNAME
899
5df4cba6
SM
900/* Define to 1 or 0, depending whether the compiler supports simple visibility
901 declarations. */
902#undef HAVE_VISIBILITY
903
c971b7fa
PA
904/* Define to 1 if you have the <wchar.h> header file. */
905#undef HAVE_WCHAR_H
906
907/* Define if you have the 'wchar_t' type. */
908#undef HAVE_WCHAR_T
909
8690e634
JK
910/* Define to 1 if you have the <wctype.h> header file. */
911#undef HAVE_WCTYPE_H
912
c0c3707f
CB
913/* Define to 1 if the compiler and linker support weak declarations of
914 symbols. */
915#undef HAVE_WEAK_SYMBOLS
916
848288b3
CB
917/* Define to 1 if you have the <windows.h> header file. */
918#undef HAVE_WINDOWS_H
919
4a626d0a
PA
920/* Define to 1 if you have the <winsock2.h> header file. */
921#undef HAVE_WINSOCK2_H
922
8690e634
JK
923/* Define if you have the 'wint_t' type. */
924#undef HAVE_WINT_T
925
c0c3707f 926/* Define to 1 if you have the `wmempcpy' function. */
8690e634
JK
927#undef HAVE_WMEMPCPY
928
6ec2e0f5
SDJ
929/* Define to 1 if fstatat (..., 0) works. For example, it does not work in AIX
930 7.1. */
931#undef HAVE_WORKING_FSTATAT_ZERO_FLAG
932
8690e634
JK
933/* Define to 1 if O_NOATIME works. */
934#undef HAVE_WORKING_O_NOATIME
935
936/* Define to 1 if O_NOFOLLOW works. */
937#undef HAVE_WORKING_O_NOFOLLOW
938
725e2999
JB
939/* Define to 1 if you have the <ws2tcpip.h> header file. */
940#undef HAVE_WS2TCPIP_H
941
5df4cba6
SM
942/* Define to 1 if you have the <xlocale.h> header file. */
943#undef HAVE_XLOCALE_H
944
8690e634
JK
945/* Define to 1 if the system has the type `_Bool'. */
946#undef HAVE__BOOL
947
c0c3707f 948/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */
6ec2e0f5
SDJ
949#undef HAVE__SET_INVALID_PARAMETER_HANDLER
950
c0c3707f
CB
951/* Define to 1 if the compiler supports __builtin_expect,
952 and to 2 if <builtins.h> does. */
953#undef HAVE___BUILTIN_EXPECT
954#ifndef HAVE___BUILTIN_EXPECT
955# define __builtin_expect(e, c) (e)
956#elif HAVE___BUILTIN_EXPECT == 2
957# include <builtins.h>
958#endif
959
2d8adcbd 960
c0c3707f
CB
961/* Define to 1 if the compiler supports the keyword '__inline'. */
962#undef HAVE___INLINE
963
964/* Define to 1 if you have the `__xpg_strerror_r' function. */
5abebf3c
CB
965#undef HAVE___XPG_STRERROR_R
966
88b48903
WN
967/* Define as the bit index in the word where to find bit 0 of the exponent of
968 'long double'. */
969#undef LDBL_EXPBIT0_BIT
970
971/* Define as the word index where to find the exponent of 'long double'. */
972#undef LDBL_EXPBIT0_WORD
973
f45c62c4
YQ
974/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing
975 slash. */
976#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
977
98399780
YQ
978/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
979#undef MALLOC_0_IS_NONNULL
980
c971b7fa
PA
981/* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */
982#undef MAP_ANONYMOUS
983
4a626d0a
PA
984/* Define if the mbrtowc function does not return (size_t) -2 for empty input.
985 */
986#undef MBRTOWC_EMPTY_INPUT_BUG
987
5df4cba6
SM
988/* Define if the mbrtowc function may signal encoding errors in the C locale.
989 */
990#undef MBRTOWC_IN_C_LOCALE_MAYBE_EILSEQ
991
8690e634
JK
992/* Define if the mbrtowc function has the NULL pwc argument bug. */
993#undef MBRTOWC_NULL_ARG1_BUG
994
995/* Define if the mbrtowc function has the NULL string argument bug. */
996#undef MBRTOWC_NULL_ARG2_BUG
997
998/* Define if the mbrtowc function does not return 0 for a NUL character. */
999#undef MBRTOWC_NUL_RETVAL_BUG
1000
1001/* Define if the mbrtowc function returns a wrong return value. */
1002#undef MBRTOWC_RETVAL_BUG
1003
5df4cba6
SM
1004/* Define if the mbrtowc function stores a wide character when reporting
1005 incomplete input. */
1006#undef MBRTOWC_STORES_INCOMPLETE_BUG
1007
49e4877c
PA
1008/* Use GNU style printf and scanf. */
1009#ifndef __USE_MINGW_ANSI_STDIO
1010# undef __USE_MINGW_ANSI_STDIO
1011#endif
1012
1013
6ec2e0f5
SDJ
1014/* Define to 1 if open() fails to recognize a trailing slash. */
1015#undef OPEN_TRAILING_SLASH_BUG
1016
c971b7fa
PA
1017/* Define to the address where bug reports for this package should be sent. */
1018#undef PACKAGE_BUGREPORT
1019
1020/* Define to the full name of this package. */
1021#undef PACKAGE_NAME
1022
1023/* Define to the full name and version of this package. */
1024#undef PACKAGE_STRING
1025
1026/* Define to the one symbol short name of this package. */
1027#undef PACKAGE_TARNAME
1028
1029/* Define to the home page for this package. */
1030#undef PACKAGE_URL
1031
1032/* Define to the version of this package. */
1033#undef PACKAGE_VERSION
1034
6ec2e0f5
SDJ
1035/* Define to the type that is the result of default argument promotions of
1036 type mode_t. */
1037#undef PROMOTED_MODE_T
1038
5abebf3c
CB
1039/* Define if the pthread_in_use() detection is hard. */
1040#undef PTHREAD_IN_USE_DETECTION_HARD
1041
c971b7fa
PA
1042/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1043 'ptrdiff_t'. */
1044#undef PTRDIFF_T_SUFFIX
1045
2196f55f
YQ
1046/* Define to 1 if readlink fails to recognize a trailing slash. */
1047#undef READLINK_TRAILING_SLASH_BUG
1048
9c9d63b1
PM
1049/* Define to 1 if readlink sets errno instead of truncating a too-long link.
1050 */
1051#undef READLINK_TRUNCATE_BUG
1052
6a29c58e
YQ
1053/* Define if rename does not work when the destination file exists, as on
1054 Cygwin 1.5 or Windows. */
1055#undef RENAME_DEST_EXISTS_BUG
1056
1057/* Define if rename fails to leave hard links alone, as on NetBSD 1.6 or
1058 Cygwin 1.5. */
1059#undef RENAME_HARD_LINK_BUG
1060
1061/* Define if rename does not correctly handle slashes on the destination
c0c3707f 1062 argument, such as on Solaris 11 or NetBSD 1.6. */
6a29c58e
YQ
1063#undef RENAME_TRAILING_SLASH_DEST_BUG
1064
1065/* Define if rename does not correctly handle slashes on the source argument,
1066 such as on Solaris 9 or cygwin 1.5. */
1067#undef RENAME_TRAILING_SLASH_SOURCE_BUG
1068
49e4877c
PA
1069/* Define to 1 if gnulib's dirfd() replacement is used. */
1070#undef REPLACE_DIRFD
1071
6ec2e0f5
SDJ
1072/* Define to 1 if gnulib's fchdir() replacement is used. */
1073#undef REPLACE_FCHDIR
1074
2196f55f
YQ
1075/* Define to 1 if stat needs help when passed a file name with a trailing
1076 slash */
1077#undef REPLACE_FUNC_STAT_FILE
1078
6ec2e0f5
SDJ
1079/* Define to 1 if open() should work around the inability to open a directory.
1080 */
1081#undef REPLACE_OPEN_DIRECTORY
1082
1083/* Define to 1 if strerror(0) does not return a message implying success. */
1084#undef REPLACE_STRERROR_0
1085
5df4cba6
SM
1086/* Define to 1 if setlocale (LC_ALL, NULL) is multithread-safe. */
1087#undef SETLOCALE_NULL_ALL_MTSAFE
1088
1089/* Define to 1 if setlocale (category, NULL) is multithread-safe. */
1090#undef SETLOCALE_NULL_ONE_MTSAFE
1091
c971b7fa
PA
1092/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1093 'sig_atomic_t'. */
1094#undef SIG_ATOMIC_T_SUFFIX
1095
1096/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1097 'size_t'. */
1098#undef SIZE_T_SUFFIX
1099
8690e634
JK
1100/* If using the C implementation of alloca, define if you know the
1101 direction of stack growth for your system; otherwise it will be
1102 automatically deduced at runtime.
9c9d63b1
PM
1103 STACK_DIRECTION > 0 => grows toward higher addresses
1104 STACK_DIRECTION < 0 => grows toward lower addresses
1105 STACK_DIRECTION = 0 => direction of growth unknown */
8690e634
JK
1106#undef STACK_DIRECTION
1107
09607c9e
TT
1108/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
1109#undef STAT_MACROS_BROKEN
1110
c971b7fa
PA
1111/* Define to 1 if you have the ANSI C header files. */
1112#undef STDC_HEADERS
1113
c0c3707f 1114/* Define to 1 if strerror_r returns char *. */
6ec2e0f5
SDJ
1115#undef STRERROR_R_CHAR_P
1116
c0c3707f
CB
1117/* Define to 1 if the type of the st_atim member of a struct stat is struct
1118 timespec. */
1119#undef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC
1120
1121/* Define if the combination of the ISO C and POSIX multithreading APIs can be
1122 used. */
1123#undef USE_ISOC_AND_POSIX_THREADS
1124
1125/* Define if the ISO C multithreading library can be used. */
1126#undef USE_ISOC_THREADS
1127
5abebf3c
CB
1128/* Define if the POSIX multithreading library can be used. */
1129#undef USE_POSIX_THREADS
1130
1131/* Define if references to the POSIX multithreading library should be made
1132 weak. */
1133#undef USE_POSIX_THREADS_WEAK
1134
4a626d0a
PA
1135/* Enable extensions on AIX 3, Interix. */
1136#ifndef _ALL_SOURCE
1137# undef _ALL_SOURCE
1138#endif
49e4877c 1139/* Enable general extensions on macOS. */
4a626d0a
PA
1140#ifndef _DARWIN_C_SOURCE
1141# undef _DARWIN_C_SOURCE
1142#endif
9c9d63b1
PM
1143/* Enable general extensions on Solaris. */
1144#ifndef __EXTENSIONS__
1145# undef __EXTENSIONS__
1146#endif
4a626d0a
PA
1147/* Enable GNU extensions on systems that have them. */
1148#ifndef _GNU_SOURCE
1149# undef _GNU_SOURCE
1150#endif
9c9d63b1
PM
1151/* Enable X/Open compliant socket functions that do not require linking
1152 with -lxnet on HP-UX 11.11. */
1153#ifndef _HPUX_ALT_XOPEN_SOCKET_API
1154# undef _HPUX_ALT_XOPEN_SOCKET_API
1155#endif
1156/* Identify the host operating system as Minix.
1157 This macro does not affect the system headers' behavior.
1158 A future release of Autoconf may stop defining this macro. */
1159#ifndef _MINIX
1160# undef _MINIX
1161#endif
1162/* Enable general extensions on NetBSD.
1163 Enable NetBSD compatibility extensions on Minix. */
c0c3707f
CB
1164#ifndef _NETBSD_SOURCE
1165# undef _NETBSD_SOURCE
1166#endif
9c9d63b1
PM
1167/* Enable OpenBSD compatibility extensions on NetBSD.
1168 Oddly enough, this does nothing on OpenBSD. */
c0c3707f
CB
1169#ifndef _OPENBSD_SOURCE
1170# undef _OPENBSD_SOURCE
1171#endif
9c9d63b1
PM
1172/* Define to 1 if needed for POSIX-compatible behavior. */
1173#ifndef _POSIX_SOURCE
1174# undef _POSIX_SOURCE
1175#endif
1176/* Define to 2 if needed for POSIX-compatible behavior. */
1177#ifndef _POSIX_1_SOURCE
1178# undef _POSIX_1_SOURCE
1179#endif
1180/* Enable POSIX-compatible threading on Solaris. */
4a626d0a
PA
1181#ifndef _POSIX_PTHREAD_SEMANTICS
1182# undef _POSIX_PTHREAD_SEMANTICS
1183#endif
49e4877c
PA
1184/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */
1185#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1186# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
1187#endif
1188/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */
1189#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
1190# undef __STDC_WANT_IEC_60559_BFP_EXT__
1191#endif
1192/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */
1193#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
1194# undef __STDC_WANT_IEC_60559_DFP_EXT__
1195#endif
1196/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */
1197#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
1198# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
1199#endif
1200/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */
1201#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
1202# undef __STDC_WANT_IEC_60559_TYPES_EXT__
1203#endif
1204/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */
1205#ifndef __STDC_WANT_LIB_EXT2__
1206# undef __STDC_WANT_LIB_EXT2__
1207#endif
1208/* Enable extensions specified by ISO/IEC 24747:2009. */
1209#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
1210# undef __STDC_WANT_MATH_SPEC_FUNCS__
1211#endif
4a626d0a
PA
1212/* Enable extensions on HP NonStop. */
1213#ifndef _TANDEM_SOURCE
1214# undef _TANDEM_SOURCE
1215#endif
9c9d63b1
PM
1216/* Enable X/Open extensions. Define to 500 only if necessary
1217 to make mbstate_t available. */
4a626d0a
PA
1218#ifndef _XOPEN_SOURCE
1219# undef _XOPEN_SOURCE
1220#endif
4a626d0a
PA
1221
1222
5abebf3c
CB
1223/* Define if the native Windows multithreading API can be used. */
1224#undef USE_WINDOWS_THREADS
1225
3d99e817
AK
1226/* Define to 1 if unsetenv returns void instead of int. */
1227#undef VOID_UNSETENV
1228
c971b7fa
PA
1229/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1230 'wchar_t'. */
1231#undef WCHAR_T_SUFFIX
1232
1233/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
1234 'wint_t'. */
1235#undef WINT_T_SUFFIX
1236
88b48903
WN
1237/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1238 significant byte first (like Motorola and SPARC, unlike Intel). */
1239#if defined AC_APPLE_UNIVERSAL_BUILD
1240# if defined __BIG_ENDIAN__
1241# define WORDS_BIGENDIAN 1
1242# endif
1243#else
1244# ifndef WORDS_BIGENDIAN
1245# undef WORDS_BIGENDIAN
1246# endif
1247#endif
1248
2196f55f
YQ
1249/* Number of bits in a file offset, on hosts where this is settable. */
1250#undef _FILE_OFFSET_BITS
1251
698be2d8
CB
1252/* True if the compiler says it groks GNU C version MAJOR.MINOR. */
1253#if defined __GNUC__ && defined __GNUC_MINOR__
1254# define _GL_GNUC_PREREQ(major, minor) \
1255 ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
1256#else
1257# define _GL_GNUC_PREREQ(major, minor) 0
1258#endif
1259
1260
9c9d63b1
PM
1261/* Define to enable the declarations of ISO C 11 types and functions. */
1262#undef _ISOC11_SOURCE
1263
2196f55f
YQ
1264/* Define for large files, on AIX-style hosts. */
1265#undef _LARGE_FILES
1266
5df4cba6
SM
1267/* Define to 1 on Solaris. */
1268#undef _LCONV_C99
1269
c971b7fa 1270/* The _Noreturn keyword of C11. */
c0c3707f
CB
1271#ifndef _Noreturn
1272# if (defined __cplusplus \
1273 && ((201103 <= __cplusplus && !(__GNUC__ == 4 && __GNUC_MINOR__ == 7)) \
1274 || (defined _MSC_VER && 1900 <= _MSC_VER)) \
1275 && 0)
1276 /* [[noreturn]] is not practically usable, because with it the syntax
1277 extern _Noreturn void func (...);
1278 would not be valid; such a declaration would only be valid with 'extern'
1279 and '_Noreturn' swapped, or without the 'extern' keyword. However, some
1280 AIX system header files and several gnulib header files use precisely
1281 this syntax with 'extern'. */
1282# define _Noreturn [[noreturn]]
1283# elif ((!defined __cplusplus || defined __clang__) \
1284 && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
698be2d8 1285 || _GL_GNUC_PREREQ (4, 7) \
5df4cba6
SM
1286 || (defined __apple_build_version__ \
1287 ? 6000000 <= __apple_build_version__ \
1288 : 3 < __clang_major__ + (5 <= __clang_minor__))))
c0c3707f 1289 /* _Noreturn works as-is. */
9c9d63b1 1290# elif _GL_GNUC_PREREQ (2, 8) || defined __clang__ || 0x5110 <= __SUNPRO_C
c971b7fa 1291# define _Noreturn __attribute__ ((__noreturn__))
c0c3707f 1292# elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
c971b7fa
PA
1293# define _Noreturn __declspec (noreturn)
1294# else
1295# define _Noreturn
1296# endif
1297#endif
1298
1299
725e2999
JB
1300/* Define to 1 in order to get the POSIX compatible declarations of socket
1301 functions. */
1302#undef _POSIX_PII_SOCKET
1303
c0c3707f
CB
1304/* For standard stat data types on VMS. */
1305#undef _USE_STD_STAT
1306
49e4877c
PA
1307/* Define to 1 if the system <stdint.h> predates C++11. */
1308#undef __STDC_CONSTANT_MACROS
1309
1310/* Define to 1 if the system <stdint.h> predates C++11. */
1311#undef __STDC_LIMIT_MACROS
1312
c0c3707f
CB
1313/* The _GL_ASYNC_SAFE marker should be attached to functions that are
1314 signal handlers (for signals other than SIGABRT, SIGPIPE) or can be
1315 invoked from such signal handlers. Such functions have some restrictions:
1316 * All functions that it calls should be marked _GL_ASYNC_SAFE as well,
1317 or should be listed as async-signal-safe in POSIX
1318 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04>
1319 section 2.4.3. Note that malloc(), sprintf(), and fwrite(), in
1320 particular, are NOT async-signal-safe.
1321 * All memory locations (variables and struct fields) that these functions
1322 access must be marked 'volatile'. This holds for both read and write
1323 accesses. Otherwise the compiler might optimize away stores to and
1324 reads from such locations that occur in the program, depending on its
1325 data flow analysis. For example, when the program contains a loop
1326 that is intended to inspect a variable set from within a signal handler
1327 while (!signal_occurred)
1328 ;
1329 the compiler is allowed to transform this into an endless loop if the
1330 variable 'signal_occurred' is not declared 'volatile'.
1331 Additionally, recall that:
1332 * A signal handler should not modify errno (except if it is a handler
1333 for a fatal signal and ends by raising the same signal again, thus
1334 provoking the termination of the process). If it invokes a function
1335 that may clobber errno, it needs to save and restore the value of
1336 errno. */
1337#define _GL_ASYNC_SAFE
1338
1339
698be2d8
CB
1340/* Attributes. */
1341#ifdef __has_attribute
1342# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
1343#else
1344# define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_##attr
1345# define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
1346# define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
1347# define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
1348# define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
1349# define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
1350# define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
9c9d63b1 1351# define _GL_ATTR_diagnose_if 0
698be2d8
CB
1352# define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
1353# define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
1354# define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
1355# define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
1356# define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
1357# ifdef _ICC
1358# define _GL_ATTR_may_alias 0
1359# else
1360# define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
1361# endif
1362# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
1363# define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
1364# define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
1365# define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
1366# define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
1367# define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
1368# define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
1369# define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
1370# define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
1371# define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
1372# define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
1373#endif
1374
1375
1376#if _GL_HAS_ATTRIBUTE (alloc_size)
1377# define _GL_ATTRIBUTE_ALLOC_SIZE(args) __attribute__ ((__alloc_size__ args))
1378#else
1379# define _GL_ATTRIBUTE_ALLOC_SIZE(args)
1380#endif
1381
1382#if _GL_HAS_ATTRIBUTE (always_inline)
1383# define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
1384#else
1385# define _GL_ATTRIBUTE_ALWAYS_INLINE
1386#endif
1387
1388#if _GL_HAS_ATTRIBUTE (artificial)
1389# define _GL_ATTRIBUTE_ARTIFICIAL __attribute__ ((__artificial__))
1390#else
1391# define _GL_ATTRIBUTE_ARTIFICIAL
1392#endif
1393
1394/* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
9c9d63b1
PM
1395 <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>.
1396 Also, Oracle Studio 12.6 requires 'cold' not '__cold__'. */
698be2d8 1397#if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
9c9d63b1
PM
1398# ifndef __SUNPRO_C
1399# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
1400# else
1401# define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
1402# endif
698be2d8
CB
1403#else
1404# define _GL_ATTRIBUTE_COLD
1405#endif
1406
1407#if _GL_HAS_ATTRIBUTE (const)
1408# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
1409#else
1410# define _GL_ATTRIBUTE_CONST
1411#endif
1412
1413#if 201710L < __STDC_VERSION__
1414# define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]]
1415#elif _GL_HAS_ATTRIBUTE (deprecated)
1416# define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
1417#else
1418# define _GL_ATTRIBUTE_DEPRECATED
1419#endif
1420
1421#if _GL_HAS_ATTRIBUTE (error)
1422# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
1423# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
9c9d63b1
PM
1424#elif _GL_HAS_ATTRIBUTE (diagnose_if)
1425# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__diagnose_if__ (1, msg, "error")))
1426# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__diagnose_if__ (1, msg, "warning")))
698be2d8
CB
1427#else
1428# define _GL_ATTRIBUTE_ERROR(msg)
1429# define _GL_ATTRIBUTE_WARNING(msg)
1430#endif
1431
1432#if _GL_HAS_ATTRIBUTE (externally_visible)
1433# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
1434#else
1435# define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE
1436#endif
1437
1438/* FALLTHROUGH is special, because it always expands to something. */
1439#if 201710L < __STDC_VERSION__
1440# define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
1441#elif _GL_HAS_ATTRIBUTE (fallthrough)
1442# define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__))
1443#else
1444# define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
1445#endif
1446
1447#if _GL_HAS_ATTRIBUTE (format)
1448# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
1449#else
1450# define _GL_ATTRIBUTE_FORMAT(spec)
1451#endif
1452
1453#if _GL_HAS_ATTRIBUTE (leaf)
1454# define _GL_ATTRIBUTE_LEAF __attribute__ ((__leaf__))
1455#else
1456# define _GL_ATTRIBUTE_LEAF
1457#endif
1458
9c9d63b1
PM
1459/* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */
1460#if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C
698be2d8
CB
1461# define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
1462#else
1463# define _GL_ATTRIBUTE_MAY_ALIAS
1464#endif
1465
1466#if 201710L < __STDC_VERSION__
1467# define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
1468#elif _GL_HAS_ATTRIBUTE (unused)
1469# define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__))
1470#else
1471# define _GL_ATTRIBUTE_MAYBE_UNUSED
1472#endif
1473/* Earlier spellings of this macro. */
1474#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
1475#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
1476
1477#if _GL_HAS_ATTRIBUTE (malloc)
1478# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
1479#else
1480# define _GL_ATTRIBUTE_MALLOC
1481#endif
1482
1483#if 201710L < __STDC_VERSION__
1484# define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]]
1485#elif _GL_HAS_ATTRIBUTE (warn_unused_result)
1486# define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
1487#else
1488# define _GL_ATTRIBUTE_NODISCARD
1489#endif
1490
1491#if _GL_HAS_ATTRIBUTE (noinline)
1492# define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
1493#else
1494# define _GL_ATTRIBUTE_NOINLINE
1495#endif
1496
1497#if _GL_HAS_ATTRIBUTE (nonnull)
1498# define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
1499#else
1500# define _GL_ATTRIBUTE_NONNULL(args)
1501#endif
1502
1503#if _GL_HAS_ATTRIBUTE (nonstring)
1504# define _GL_ATTRIBUTE_NONSTRING __attribute__ ((__nonstring__))
1505#else
1506# define _GL_ATTRIBUTE_NONSTRING
1507#endif
1508
1509/* There is no _GL_ATTRIBUTE_NORETURN; use _Noreturn instead. */
1510
1511#if _GL_HAS_ATTRIBUTE (nothrow) && !defined __cplusplus
1512# define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
1513#else
1514# define _GL_ATTRIBUTE_NOTHROW
1515#endif
1516
1517#if _GL_HAS_ATTRIBUTE (packed)
1518# define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
1519#else
1520# define _GL_ATTRIBUTE_PACKED
1521#endif
1522
1523#if _GL_HAS_ATTRIBUTE (pure)
1524# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
1525#else
1526# define _GL_ATTRIBUTE_PURE
1527#endif
1528
1529#if _GL_HAS_ATTRIBUTE (returns_nonnull)
1530# define _GL_ATTRIBUTE_RETURNS_NONNULL __attribute__ ((__returns_nonnull__))
1531#else
1532# define _GL_ATTRIBUTE_RETURNS_NONNULL
1533#endif
1534
1535#if _GL_HAS_ATTRIBUTE (sentinel)
1536# define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
1537#else
1538# define _GL_ATTRIBUTE_SENTINEL(pos)
1539#endif
1540
1541
1542/* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */
1543#if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5)
1544# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED
1545#else
1546# define _GL_UNUSED_LABEL
1547#endif
1548
1549
4a626d0a
PA
1550/* Please see the Gnulib manual for how to use these macros.
1551
1552 Suppress extern inline with HP-UX cc, as it appears to be broken; see
c0c3707f 1553 <https://lists.gnu.org/r/bug-texinfo/2013-02/msg00030.html>.
4a626d0a
PA
1554
1555 Suppress extern inline with Sun C in standards-conformance mode, as it
1556 mishandles inline functions that call each other. E.g., for 'inline void f
1557 (void) { } inline void g (void) { f (); }', c99 incorrectly complains
1558 'reference to static identifier "f" in extern inline function'.
1559 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16.
1560
1561 Suppress extern inline (with or without __attribute__ ((__gnu_inline__)))
1562 on configurations that mistakenly use 'static inline' to implement
1563 functions or macros in standard C headers like <ctype.h>. For example,
1564 if isdigit is mistakenly implemented via a static inline function,
1565 a program containing an extern inline function that calls isdigit
1566 may not work since the C standard prohibits extern inline functions
c0c3707f
CB
1567 from calling static functions (ISO C 99 section 6.7.4.(3).
1568 This bug is known to occur on:
4a626d0a
PA
1569
1570 OS X 10.8 and earlier; see:
c0c3707f 1571 https://lists.gnu.org/r/bug-gnulib/2012-12/msg00023.html
4a626d0a
PA
1572
1573 DragonFly; see
c0c3707f 1574 http://muscles.dragonflybsd.org/bulk/clang-master-potential/20141111_102002/logs/ah-tty-0.3.12.log
4a626d0a
PA
1575
1576 FreeBSD; see:
c0c3707f 1577 https://lists.gnu.org/r/bug-gnulib/2014-07/msg00104.html
4a626d0a
PA
1578
1579 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
c0c3707f
CB
1580 for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.
1581 Assume DragonFly and FreeBSD will be similar.
1582
1583 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
1584 inline semantics, unless -fgnu89-inline is used. It defines a macro
1585 __GNUC_STDC_INLINE__ to indicate this situation or a macro
1586 __GNUC_GNU_INLINE__ to indicate the opposite situation.
1587 GCC 4.2 with -std=c99 or -std=gnu99 implements the GNU C inline
1588 semantics but warns, unless -fgnu89-inline is used:
1589 warning: C99 inline functions are not supported; using GNU89
1590 warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
1591 It defines a macro __GNUC_GNU_INLINE__ to indicate this situation.
1592 */
4a626d0a
PA
1593#if (((defined __APPLE__ && defined __MACH__) \
1594 || defined __DragonFly__ || defined __FreeBSD__) \
1595 && (defined __header_inline \
1596 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \
1597 && ! defined __clang__) \
1598 : ((! defined _DONT_USE_CTYPE_INLINE_ \
1599 && (defined __GNUC__ || defined __cplusplus)) \
1600 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \
1601 && defined __GNUC__ && ! defined __cplusplus))))
1602# define _GL_EXTERN_INLINE_STDHEADER_BUG
c971b7fa 1603#endif
a512b375
JB
1604#if ((__GNUC__ \
1605 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
4a626d0a
PA
1606 : (199901L <= __STDC_VERSION__ \
1607 && !defined __HP_cc \
49e4877c 1608 && !defined __PGI \
4a626d0a
PA
1609 && !(defined __SUNPRO_C && __STDC__))) \
1610 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
a512b375
JB
1611# define _GL_INLINE inline
1612# define _GL_EXTERN_INLINE extern inline
4a626d0a
PA
1613# define _GL_EXTERN_INLINE_IN_USE
1614#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \
1615 && !defined _GL_EXTERN_INLINE_STDHEADER_BUG)
1616# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__
a512b375
JB
1617 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */
1618# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__))
1619# else
1620# define _GL_INLINE extern inline
1621# endif
1622# define _GL_EXTERN_INLINE extern
4a626d0a 1623# define _GL_EXTERN_INLINE_IN_USE
a512b375
JB
1624#else
1625# define _GL_INLINE static _GL_UNUSED
1626# define _GL_EXTERN_INLINE static _GL_UNUSED
1627#endif
8690e634 1628
4a626d0a
PA
1629/* In GCC 4.6 (inclusive) to 5.1 (exclusive),
1630 suppress bogus "no previous prototype for 'FOO'"
1631 and "no previous declaration for 'FOO'" diagnostics,
1632 when FOO is an inline function in the header; see
1633 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113> and
1634 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63877>. */
1635#if __GNUC__ == 4 && 6 <= __GNUC_MINOR__
a512b375
JB
1636# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__
1637# define _GL_INLINE_HEADER_CONST_PRAGMA
1638# else
1639# define _GL_INLINE_HEADER_CONST_PRAGMA \
1640 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"")
1641# endif
1642# define _GL_INLINE_HEADER_BEGIN \
1643 _Pragma ("GCC diagnostic push") \
1644 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \
1645 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \
1646 _GL_INLINE_HEADER_CONST_PRAGMA
1647# define _GL_INLINE_HEADER_END \
1648 _Pragma ("GCC diagnostic pop")
1649#else
1650# define _GL_INLINE_HEADER_BEGIN
1651# define _GL_INLINE_HEADER_END
8690e634
JK
1652#endif
1653
0750520d
PA
1654/* Define to `int' if <sys/types.h> doesn't define. */
1655#undef gid_t
1656
c0c3707f
CB
1657/* Define to `__inline__' or `__inline' if that's what the C compiler
1658 calls it, or to nothing if 'inline' is not supported under any name. */
1659#ifndef __cplusplus
1660#undef inline
1661#endif
1662
c971b7fa
PA
1663/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports
1664 the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of
1665 earlier versions), but does not display it by setting __GNUC_STDC_INLINE__.
40a73391 1666 __APPLE__ && __MACH__ test for Mac OS X.
c971b7fa
PA
1667 __APPLE_CC__ tests for the Apple compiler and its version.
1668 __STDC_VERSION__ tests for the C99 mode. */
1669#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__
1670# define __GNUC_STDC_INLINE__ 1
1671#endif
1672
8690e634
JK
1673/* Define to a type if <wchar.h> does not define. */
1674#undef mbstate_t
1675
9c9d63b1
PM
1676/* _GL_CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
1677 n1 and n2 are expressions without side effects, that evaluate to real
1678 numbers (excluding NaN).
1679 It returns
1680 1 if n1 > n2
1681 0 if n1 == n2
1682 -1 if n1 < n2
1683 The naïve code (n1 > n2 ? 1 : n1 < n2 ? -1 : 0) produces a conditional
1684 jump with nearly all GCC versions up to GCC 10.
1685 This variant (n1 < n2 ? -1 : n1 > n2) produces a conditional with many
1686 GCC versions up to GCC 9.
1687 The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9
1688 avoids conditional jumps in all GCC versions >= 3.4. */
1689#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2)))
1690
1691
8839a007
PA
1692/* Define to `int' if <sys/types.h> does not define. */
1693#undef mode_t
1694
09607c9e
TT
1695/* Define to the type of st_nlink in struct stat, or a supertype. */
1696#undef nlink_t
1697
9c9d63b1 1698/* Define as a signed integer type capable of holding a process identifier. */
8839a007
PA
1699#undef pid_t
1700
c971b7fa
PA
1701/* Define to the equivalent of the C99 'restrict' keyword, or to
1702 nothing if this is not supported. Do not define if restrict is
9c9d63b1 1703 supported only directly. */
c971b7fa 1704#undef restrict
5df4cba6
SM
1705/* Work around a bug in older versions of Sun C++, which did not
1706 #define __restrict__ or support _Restrict or __restrict__
1707 even though the corresponding Sun C compiler ended up with
1708 "#define restrict _Restrict" or "#define restrict __restrict__"
1709 in the previous line. This workaround can be removed once
1710 we assume Oracle Developer Studio 12.5 (2016) or later. */
1711#if defined __SUNPRO_CC && !defined __RESTRICT && !defined __restrict__
c971b7fa
PA
1712# define _Restrict
1713# define __restrict__
1714#endif
1715
d0ac1c44
SM
1716/* Define to `unsigned int' if <sys/types.h> does not define. */
1717#undef size_t
1718
725e2999
JB
1719/* type to use in place of socklen_t if not defined */
1720#undef socklen_t
1721
8839a007
PA
1722/* Define as a signed type of the same size as size_t. */
1723#undef ssize_t
1724
0750520d
PA
1725/* Define to `int' if <sys/types.h> doesn't define. */
1726#undef uid_t