Debian Codegraph @

m4/gnulib-comp.m4

raw
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2025 Free Software Foundation, Inc.
3 #
4 # This file is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This file is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this file. If not, see <https://www.gnu.org/licenses/>.
16 #
17 # As a special exception to the GNU General Public License,
18 # this file may be distributed as part of a program that
19 # contains a configuration script generated by Autoconf, under
20 # the same distribution terms as the rest of that program.
21 #
22 # Generated by gnulib-tool.
23 #
24 # This file represents the compiled summary of the specification in
25 # gnulib-cache.m4. It lists the computed macro invocations that need
26 # to be invoked from configure.ac.
27 # In projects that use version control, this file can be treated like
28 # other built files.
29
30
31 # This macro should be invoked from ./configure.ac, in the section
32 # "Checks for programs", right after AC_PROG_CC, and certainly before
33 # any checks for libraries, header files, types and library functions.
34 AC_DEFUN([gl_EARLY],
35 [
36 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
37 m4_pattern_allow([^gl_ES$])dnl a valid locale name
38 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
39 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
40
41 # Pre-early section.
42 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
43 AC_REQUIRE([gl_PROG_AR_RANLIB])
44
45 # Code from module absolute-header:
46 # Code from module accept:
47 # Code from module accept-tests:
48 # Code from module alignasof:
49 # Code from module alignasof-tests:
50 # Code from module alloca:
51 # Code from module alloca-opt:
52 # Code from module alloca-opt-tests:
53 # Code from module allocator:
54 # Code from module announce-gen:
55 # Code from module argmatch:
56 # Code from module argmatch-tests:
57 # Code from module arpa_inet-h:
58 # Code from module arpa_inet-h-tests:
59 # Code from module assert-h:
60 # Code from module assert-h-tests:
61 # Code from module assure:
62 # Code from module at-internal:
63 # Code from module atoll:
64 # Code from module attribute:
65 # Code from module basename-lgpl:
66 # Code from module binary-io:
67 # Code from module binary-io-tests:
68 # Code from module bind:
69 # Code from module bind-tests:
70 # Code from module bitrotate:
71 # Code from module bitrotate-tests:
72 # Code from module bool:
73 # Code from module bool-tests:
74 # Code from module btoc32:
75 # Code from module btoc32-tests:
76 # Code from module btowc:
77 # Code from module btowc-tests:
78 # Code from module builtin-expect:
79 # Code from module c-ctype:
80 # Code from module c-ctype-tests:
81 # Code from module c-file-type:
82 # Code from module c-stack:
83 # Code from module c-stack-tests:
84 # Code from module c-strcasecmp:
85 # Code from module c-strcasecmp-tests:
86 # Code from module c-strcaseeq:
87 # Code from module c-strcasestr:
88 # Code from module c-strcasestr-tests:
89 # Code from module c-strncasecmp:
90 # Code from module c-strncasecmp-tests:
91 # Code from module c32_apply_type_test:
92 # Code from module c32_apply_type_test-tests:
93 # Code from module c32_get_type_test:
94 # Code from module c32_get_type_test-tests:
95 # Code from module c32isalnum:
96 # Code from module c32isalnum-tests:
97 # Code from module c32isalpha:
98 # Code from module c32isalpha-tests:
99 # Code from module c32isblank:
100 # Code from module c32isblank-tests:
101 # Code from module c32iscntrl:
102 # Code from module c32iscntrl-tests:
103 # Code from module c32isdigit:
104 # Code from module c32isdigit-tests:
105 # Code from module c32isgraph:
106 # Code from module c32isgraph-tests:
107 # Code from module c32islower:
108 # Code from module c32islower-tests:
109 # Code from module c32isprint:
110 # Code from module c32isprint-tests:
111 # Code from module c32ispunct:
112 # Code from module c32ispunct-tests:
113 # Code from module c32isspace:
114 # Code from module c32isspace-tests:
115 # Code from module c32isupper:
116 # Code from module c32isupper-tests:
117 # Code from module c32isxdigit:
118 # Code from module c32isxdigit-tests:
119 # Code from module c32rtomb:
120 # Code from module c32rtomb-tests:
121 # Code from module c32tob:
122 # Code from module c32tolower:
123 # Code from module c32tolower-tests:
124 # Code from module c32width:
125 # Code from module c32width-tests:
126 # Code from module c99:
127 # Code from module calloc-gnu:
128 # Code from module calloc-gnu-tests:
129 # Code from module calloc-posix:
130 # Code from module calloc-posix-tests:
131 # Code from module careadlinkat:
132 # Code from module chdir:
133 # Code from module chdir-long:
134 # Code from module chdir-tests:
135 # Code from module clock-time:
136 # Code from module cloexec:
137 # Code from module cloexec-tests:
138 # Code from module close:
139 # Code from module close-tests:
140 # Code from module closedir:
141 # Code from module concat-filename:
142 # Code from module config-h:
143 # Code from module connect:
144 # Code from module connect-tests:
145 # Code from module ctype-h:
146 # Code from module ctype-h-tests:
147 # Code from module d-type:
148 # Code from module diffseq:
149 # Code from module dirent-h:
150 # Code from module dirent-h-tests:
151 # Code from module dirfd:
152 # Code from module dirfd-tests:
153 # Code from module dirname:
154 # Code from module dirname-lgpl:
155 # Code from module dirname-tests:
156 # Code from module do-release-commit-and-tag:
157 # Code from module double-slash-root:
158 # Code from module dtotimespec:
159 # Code from module dup:
160 # Code from module dup-tests:
161 # Code from module dup2:
162 # Code from module dup2-tests:
163 # Code from module environ:
164 # Code from module environ-tests:
165 # Code from module errno-h:
166 # Code from module errno-h-tests:
167 # Code from module error:
168 # Code from module error-h:
169 # Code from module error-tests:
170 # Code from module exclude:
171 # Code from module exclude-tests:
172 # Code from module exitfail:
173 # Code from module extensions:
174 # This is actually already done in the pre-early phase.
175 # AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
176 # Code from module extensions-aix:
177 AC_REQUIRE([gl_USE_AIX_EXTENSIONS])
178 # Code from module extern-inline:
179 # Code from module fchdir:
180 # Code from module fchdir-tests:
181 # Code from module fcntl:
182 # Code from module fcntl-h:
183 # Code from module fcntl-h-tests:
184 # Code from module fcntl-tests:
185 # Code from module fd-hook:
186 # Code from module fdopen:
187 # Code from module fdopen-tests:
188 # Code from module fdopendir:
189 # Code from module fdopendir-tests:
190 # Code from module fgetc-tests:
191 # Code from module fileblocks:
192 # Code from module filename:
193 # Code from module filenamecat:
194 # Code from module filenamecat-lgpl:
195 # Code from module filenamecat-tests:
196 # Code from module flexmember:
197 # Code from module float-h:
198 # Code from module float-h-tests:
199 # Code from module fnmatch:
200 # Code from module fnmatch-gnu:
201 # Code from module fnmatch-h:
202 # Code from module fnmatch-h-tests:
203 # Code from module fnmatch-tests:
204 # Code from module fopen:
205 # Code from module fopen-gnu:
206 # Code from module fopen-gnu-tests:
207 # Code from module fopen-tests:
208 # Code from module fpieee:
209 AC_REQUIRE([gl_FP_IEEE])
210 # Code from module fpucw:
211 # Code from module fputc-tests:
212 # Code from module fread-tests:
213 # Code from module free-posix:
214 # Code from module free-posix-tests:
215 # Code from module freopen:
216 # Code from module freopen-tests:
217 # Code from module fstat:
218 # Code from module fstat-tests:
219 # Code from module fstatat:
220 # Code from module fstatat-tests:
221 # Code from module ftruncate:
222 # Code from module ftruncate-tests:
223 # Code from module fwrite-tests:
224 # Code from module gen-header:
225 # Code from module gendocs:
226 # Code from module getcwd-lgpl:
227 # Code from module getcwd-lgpl-tests:
228 # Code from module getdtablesize:
229 # Code from module getdtablesize-tests:
230 # Code from module getlocalename_l-unsafe-limited:
231 # Code from module getopt-gnu:
232 # Code from module getopt-gnu-tests:
233 # Code from module getopt-posix:
234 # Code from module getopt-posix-tests:
235 # Code from module getpagesize:
236 # Code from module getprogname:
237 # Code from module getprogname-tests:
238 # Code from module getrandom:
239 # Code from module getrandom-tests:
240 # Code from module gettext-h:
241 # Code from module gettext-h-tests:
242 # Code from module gettime:
243 # Code from module gettimeofday:
244 # Code from module gettimeofday-tests:
245 # Code from module git-version-gen:
246 # Code from module gitlog-to-changelog:
247 # Code from module glibc-internal/dynarray:
248 # Code from module glibc-internal/dynarray-tests:
249 # Code from module gnu-make:
250 # Code from module gnu-web-doc-update:
251 # Code from module gnulib-i18n:
252 # Code from module gnumakefile:
253 # Code from module gnupload:
254 # Code from module hard-locale:
255 # Code from module hard-locale-tests:
256 # Code from module hash:
257 # Code from module hash-pjw:
258 # Code from module hash-tests:
259 # Code from module havelib:
260 # Code from module host-cpu-c-abi:
261 # Code from module ialloc:
262 # Code from module idx:
263 # Code from module ignore-value:
264 # Code from module ignore-value-tests:
265 # Code from module include_next:
266 # Code from module inet_pton:
267 # Code from module inet_pton-tests:
268 # Code from module inline:
269 # Code from module intprops:
270 # Code from module intprops-tests:
271 # Code from module inttostr:
272 # Code from module inttostr-tests:
273 # Code from module inttypes-h:
274 # Code from module inttypes-h-incomplete:
275 # Code from module inttypes-h-tests:
276 # Code from module ioctl:
277 # Code from module ioctl-tests:
278 # Code from module isblank:
279 # Code from module isblank-tests:
280 # Code from module isnand-nolibm:
281 # Code from module isnand-nolibm-tests:
282 # Code from module isnanf-nolibm:
283 # Code from module isnanf-nolibm-tests:
284 # Code from module isnanl-nolibm:
285 # Code from module isnanl-nolibm-tests:
286 # Code from module iswblank:
287 # Code from module iswblank-tests:
288 # Code from module iswctype:
289 # Code from module iswctype-tests:
290 # Code from module iswdigit:
291 # Code from module iswdigit-tests:
292 # Code from module iswpunct:
293 # Code from module iswpunct-tests:
294 # Code from module iswxdigit:
295 # Code from module iswxdigit-tests:
296 # Code from module langinfo-h:
297 # Code from module langinfo-h-tests:
298 # Code from module largefile:
299 AC_REQUIRE([AC_SYS_LARGEFILE])
300 # Code from module largefile-tests:
301 # Code from module libc-config:
302 # Code from module limits-h:
303 # Code from module limits-h-tests:
304 # Code from module listen:
305 # Code from module listen-tests:
306 # Code from module localcharset:
307 # Code from module localcharset-tests:
308 # Code from module locale-h:
309 # Code from module locale-h-tests:
310 # Code from module localeconv:
311 # Code from module localeconv-tests:
312 # Code from module localename-unsafe-limited:
313 # Code from module lock:
314 # Code from module lstat:
315 # Code from module lstat-tests:
316 # Code from module maintainer-makefile:
317 # Code from module malloc-gnu:
318 # Code from module malloc-gnu-tests:
319 # Code from module malloc-posix:
320 # Code from module malloc-posix-tests:
321 # Code from module malloca:
322 # Code from module malloca-tests:
323 # Code from module manywarnings:
324 # Code from module math-h:
325 # Code from module math-h-tests:
326 # Code from module mbrtoc32:
327 # Code from module mbrtoc32-tests:
328 # Code from module mbrtowc:
329 # Code from module mbrtowc-tests:
330 # Code from module mbscasecmp:
331 # Code from module mbscasecmp-tests:
332 # Code from module mbsinit:
333 # Code from module mbsinit-tests:
334 # Code from module mbsrtoc32s:
335 # Code from module mbsrtoc32s-tests:
336 # Code from module mbsrtowcs:
337 # Code from module mbsrtowcs-tests:
338 # Code from module mbszero:
339 # Code from module mbtowc:
340 # Code from module mcel:
341 # Code from module mcel-prefer:
342 # Prefer mcel by default. This can be overridden via
343 # './configure GNULIB_MCEL_PREFER=no'.
344 : ${GNULIB_MCEL_PREFER=yes}
345 # Code from module mcel-tests:
346 # Code from module memchr:
347 # Code from module memchr-tests:
348 # Code from module mempcpy:
349 # Code from module memrchr:
350 # Code from module memrchr-tests:
351 # Code from module minmax:
352 # Code from module mkdir:
353 # Code from module mkdir-tests:
354 # Code from module mkstemp:
355 # Code from module mktime:
356 # Code from module mktime-internal:
357 # Code from module msvc-inval:
358 # Code from module msvc-nothrow:
359 # Code from module multiarch:
360 # Code from module nan:
361 # Code from module nanosleep:
362 # Code from module nanosleep-tests:
363 # Code from module netinet_in-h:
364 # Code from module netinet_in-h-tests:
365 # Code from module nl_langinfo:
366 # Code from module nl_langinfo-tests:
367 # Code from module nocrash:
368 # Code from module nstrftime:
369 # Code from module nstrftime-tests:
370 # Code from module nullptr:
371 # Code from module nullptr-tests:
372 # Code from module once:
373 # Code from module once-tests:
374 # Code from module open:
375 # Code from module open-tests:
376 # Code from module openat:
377 # Code from module openat-die:
378 # Code from module openat-h:
379 # Code from module openat-tests:
380 # Code from module opendir:
381 # Code from module package-version:
382 # Code from module pathmax:
383 # Code from module pathmax-tests:
384 # Code from module pclose:
385 # Code from module pclose-tests:
386 # Code from module perl:
387 # Code from module perror:
388 # Code from module perror-tests:
389 # Code from module pipe-posix:
390 # Code from module pipe-posix-tests:
391 # Code from module popen:
392 # Code from module popen-tests:
393 # Code from module priv-set:
394 # Code from module priv-set-tests:
395 # Code from module progname:
396 # Code from module propername-lite:
397 # Code from module pselect:
398 # Code from module pselect-tests:
399 # Code from module pthread-cond:
400 # Code from module pthread-cond-tests:
401 # Code from module pthread-h:
402 gl_ANYTHREADLIB_EARLY
403 # Code from module pthread-h-tests:
404 # Code from module pthread-mutex:
405 # Code from module pthread-mutex-tests:
406 # Code from module pthread-once:
407 # Code from module pthread-once-tests:
408 # Code from module pthread-rwlock:
409 # Code from module pthread-rwlock-tests:
410 # Code from module pthread-thread:
411 # Code from module pthread-thread-tests:
412 # Code from module pthread_mutex_timedlock:
413 # Code from module pthread_sigmask:
414 # Code from module pthread_sigmask-tests:
415 # Code from module putenv-gnu:
416 # Code from module putenv-gnu-tests:
417 # Code from module quote:
418 # Code from module quotearg:
419 # Code from module quotearg-simple:
420 # Code from module quotearg-simple-tests:
421 # Code from module raise:
422 # Code from module raise-tests:
423 # Code from module random:
424 # Code from module random-tests:
425 # Code from module random_r:
426 # Code from module random_r-tests:
427 # Code from module rawmemchr:
428 # Code from module rawmemchr-tests:
429 # Code from module readdir:
430 # Code from module readlink:
431 # Code from module readlink-tests:
432 # Code from module readlinkat:
433 # Code from module readlinkat-tests:
434 # Code from module readme-release:
435 # Code from module realloc-posix:
436 # Code from module realloc-posix-tests:
437 # Code from module reallocarray:
438 # Code from module reallocarray-tests:
439 # Code from module regex:
440 # Code from module regex-tests:
441 # Code from module rmdir:
442 # Code from module rmdir-tests:
443 # Code from module root-uid:
444 # Code from module same-inode:
445 # Code from module save-cwd:
446 # Code from module sched-h:
447 # Code from module sched-h-tests:
448 # Code from module sched_yield:
449 # Code from module select:
450 # Code from module select-tests:
451 # Code from module setenv:
452 # Code from module setenv-tests:
453 # Code from module setlocale-null:
454 # Code from module setlocale-null-tests:
455 # Code from module setlocale-null-unlocked:
456 # Code from module setlocale-null-unlocked-tests:
457 # Code from module setsockopt:
458 # Code from module setsockopt-tests:
459 # Code from module sh-quote:
460 # Code from module sh-quote-tests:
461 # Code from module sigaction:
462 # Code from module sigaction-tests:
463 # Code from module signal-h:
464 # Code from module signal-h-tests:
465 # Code from module signbit:
466 # Code from module signbit-tests:
467 # Code from module signed-nan:
468 # Code from module signed-snan:
469 # Code from module sigprocmask:
470 # Code from module sigprocmask-tests:
471 # Code from module sigsegv:
472 # Code from module sigsegv-tests:
473 # Code from module size_max:
474 # Code from module sleep:
475 # Code from module sleep-tests:
476 # Code from module snan:
477 # Code from module snippet/_Noreturn:
478 # Code from module snippet/arg-nonnull:
479 # Code from module snippet/c++defs:
480 # Code from module snippet/warn-on-use:
481 # Code from module snprintf:
482 # Code from module snprintf-tests:
483 # Code from module socket:
484 # Code from module socketlib:
485 # Code from module sockets:
486 # Code from module sockets-tests:
487 # Code from module socklen:
488 # Code from module ssize_t:
489 # Code from module stat:
490 # Code from module stat-macros:
491 # Code from module stat-size:
492 # Code from module stat-tests:
493 # Code from module stat-time:
494 # Code from module stat-time-tests:
495 # Code from module std-gnu11:
496 # Code from module stdarg-h:
497 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
498 dnl for the builtin va_copy to work. gl_PROG_CC_C99 arranges for this.
499 gl_PROG_CC_C99
500 # Code from module stdarg-h-tests:
501 # Code from module stdbit-h:
502 # Code from module stdbit-h-tests:
503 # Code from module stdc_bit_width:
504 # Code from module stdc_bit_width-tests:
505 # Code from module stdc_leading_zeros:
506 # Code from module stdc_leading_zeros-tests:
507 # Code from module stdckdint-h:
508 # Code from module stdckdint-h-tests:
509 # Code from module stddef-h:
510 # Code from module stddef-h-tests:
511 # Code from module stdint-h:
512 # Code from module stdint-h-tests:
513 # Code from module stdio-h:
514 gl_STDIO_H_EARLY
515 # Code from module stdio-h-tests:
516 # Code from module stdlib-h:
517 # Code from module stdlib-h-tests:
518 # Code from module stdopen:
519 # Code from module stpcpy:
520 # Code from module str_startswith:
521 # Code from module str_startswith-tests:
522 # Code from module strcase:
523 # Code from module strcasecmp:
524 # Code from module strcasecmp-tests:
525 # Code from module strdup-posix:
526 # Code from module streq:
527 # Code from module strerror:
528 # Code from module strerror-override:
529 # Code from module strerror-tests:
530 # Code from module strerror_r-posix:
531 # Code from module strerror_r-posix-tests:
532 # Code from module string-h:
533 # Code from module string-h-tests:
534 # Code from module strings-h:
535 # Code from module strings-h-tests:
536 # Code from module strncasecmp:
537 # Code from module strncasecmp-tests:
538 # Code from module strnlen:
539 # Code from module strnlen-tests:
540 # Code from module strnlen1:
541 # Code from module strptime:
542 # Code from module strtoimax:
543 # Code from module strtoimax-tests:
544 # Code from module strtoll:
545 # Code from module strtoll-tests:
546 # Code from module symlink:
547 # Code from module symlink-tests:
548 # Code from module symlinkat:
549 # Code from module symlinkat-tests:
550 # Code from module sys_ioctl-h:
551 # Code from module sys_ioctl-h-tests:
552 # Code from module sys_random-h:
553 # Code from module sys_random-h-tests:
554 # Code from module sys_select-h:
555 # Code from module sys_select-h-tests:
556 # Code from module sys_socket-h:
557 # Code from module sys_socket-h-tests:
558 # Code from module sys_stat-h:
559 # Code from module sys_stat-h-tests:
560 # Code from module sys_time-h:
561 # Code from module sys_time-h-tests:
562 # Code from module sys_types-h:
563 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
564 # Code from module sys_types-h-tests:
565 # Code from module sys_uio-h:
566 # Code from module sys_uio-h-tests:
567 # Code from module sys_wait-h:
568 # Code from module sys_wait-h-tests:
569 # Code from module system-quote:
570 # Code from module tempname:
571 # Code from module test-framework-sh:
572 # Code from module test-framework-sh-tests:
573 # Code from module test-xfail:
574 # Code from module thread:
575 # Code from module thread-tests:
576 # Code from module threadlib:
577 gl_THREADLIB_EARLY
578 # Code from module time:
579 # Code from module time-h:
580 # Code from module time-h-tests:
581 # Code from module time-tests:
582 # Code from module time_r:
583 # Code from module time_r-tests:
584 # Code from module time_rz:
585 # Code from module timegm:
586 # Code from module timespec:
587 # Code from module timespec-add:
588 # Code from module timespec-sub:
589 # Code from module timespec-tests:
590 # Code from module timespec_get:
591 # Code from module timespec_get-tests:
592 # Code from module tzset:
593 # Code from module uchar-h:
594 # Code from module uchar-h-tests:
595 # Code from module unicase/base:
596 # Code from module unicase/tolower:
597 # Code from module unicase/tolower-tests:
598 # Code from module unictype/base:
599 # Code from module unictype/ctype-alnum:
600 # Code from module unictype/ctype-alnum-tests:
601 # Code from module unictype/ctype-alpha:
602 # Code from module unictype/ctype-alpha-tests:
603 # Code from module unictype/ctype-blank:
604 # Code from module unictype/ctype-blank-tests:
605 # Code from module unictype/ctype-cntrl:
606 # Code from module unictype/ctype-cntrl-tests:
607 # Code from module unictype/ctype-digit:
608 # Code from module unictype/ctype-digit-tests:
609 # Code from module unictype/ctype-graph:
610 # Code from module unictype/ctype-graph-tests:
611 # Code from module unictype/ctype-lower:
612 # Code from module unictype/ctype-lower-tests:
613 # Code from module unictype/ctype-print:
614 # Code from module unictype/ctype-print-tests:
615 # Code from module unictype/ctype-punct:
616 # Code from module unictype/ctype-punct-tests:
617 # Code from module unictype/ctype-space:
618 # Code from module unictype/ctype-space-tests:
619 # Code from module unictype/ctype-upper:
620 # Code from module unictype/ctype-upper-tests:
621 # Code from module unictype/ctype-xdigit:
622 # Code from module unictype/ctype-xdigit-tests:
623 # Code from module uninorm/base:
624 # Code from module unistd-h:
625 # Code from module unistd-h-tests:
626 # Code from module unistr/base:
627 # Code from module unistr/u32-chr:
628 # Code from module unistr/u32-chr-tests:
629 # Code from module unistr/u32-cpy:
630 # Code from module unistr/u32-cpy-tests:
631 # Code from module unistr/u32-pcpy:
632 # Code from module unistr/u32-pcpy-tests:
633 # Code from module unistr/u32-set:
634 # Code from module unistr/u32-set-tests:
635 # Code from module unistr/u32-strcat:
636 # Code from module unistr/u32-strcat-tests:
637 # Code from module unistr/u32-strlen:
638 # Code from module unistr/u32-strlen-tests:
639 # Code from module unitypes-h:
640 # Code from module uniwidth/base:
641 # Code from module uniwidth/width:
642 # Code from module uniwidth/width-tests:
643 # Code from module unlink:
644 # Code from module unlink-tests:
645 # Code from module unlinkat:
646 # Code from module unlinkat-tests:
647 # Code from module unlinkdir:
648 # Code from module unlocked-io:
649 # Code from module unlocked-io-internal:
650 # Code from module unsetenv:
651 # Code from module unsetenv-tests:
652 # Code from module update-copyright:
653 # Code from module update-copyright-tests:
654 # Code from module useless-if-before-free:
655 # Code from module vararrays:
656 # Code from module vasnprintf:
657 # Code from module vasnprintf-tests:
658 # Code from module vc-list-files:
659 # Code from module vc-list-files-tests:
660 # Code from module verify:
661 # Code from module verify-tests:
662 # Code from module version-etc:
663 # Code from module version-etc-fsf:
664 # Code from module version-etc-tests:
665 # Code from module vsnzprintf:
666 # Code from module warnings:
667 # Code from module wchar-h:
668 # Code from module wchar-h-tests:
669 # Code from module wcrtomb:
670 # Code from module wcrtomb-tests:
671 # Code from module wctob:
672 # Code from module wctomb:
673 # Code from module wctype:
674 # Code from module wctype-h:
675 # Code from module wctype-h-tests:
676 # Code from module wctype-tests:
677 # Code from module wcwidth:
678 # Code from module wcwidth-tests:
679 # Code from module windows-cond:
680 # Code from module windows-mutex:
681 # Code from module windows-mutex-tests:
682 # Code from module windows-once:
683 # Code from module windows-recmutex:
684 # Code from module windows-recmutex-tests:
685 # Code from module windows-rwlock:
686 # Code from module windows-thread:
687 # Code from module windows-timedmutex:
688 # Code from module windows-timedmutex-tests:
689 # Code from module windows-timedrecmutex:
690 # Code from module windows-timedrecmutex-tests:
691 # Code from module windows-timedrwlock:
692 # Code from module windows-tls:
693 # Code from module wmemchr:
694 # Code from module wmemchr-tests:
695 # Code from module wmempcpy:
696 # Code from module xalloc:
697 # Code from module xalloc-die:
698 # Code from module xalloc-die-tests:
699 # Code from module xalloc-oversized:
700 # Code from module xconcat-filename:
701 # Code from module xfreopen:
702 # Code from module xgetcwd-lgpl:
703 # Code from module xmalloca:
704 # Code from module xsize:
705 # Code from module xstdopen:
706 # Code from module xstdopen-tests:
707 # Code from module xstrtoimax:
708 # Code from module xstrtoimax-tests:
709 # Code from module xstrtol:
710 # Code from module xstrtol-error:
711 # Code from module xstrtol-tests:
712 # Code from module year2038:
713 AC_REQUIRE([AC_SYS_YEAR2038])
714 # Code from module year2038-tests:
715 # Code from module yield:
716 ])
717
718 # This macro should be invoked from ./configure.ac, in the section
719 # "Check for header files, types and library functions".
720 AC_DEFUN([gl_INIT],
721 [
722 AC_CONFIG_LIBOBJ_DIR([gnulib-tests])
723 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
724 gl_cond_libtool=false
725 gl_libdeps=
726 gl_ltlibdeps=
727 gl_m4_base='m4'
728 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
729 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
730 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
731 m4_pushdef([gl_LIBSOURCES_LIST], [])
732 m4_pushdef([gl_LIBSOURCES_DIR], [])
733 m4_pushdef([GL_MACRO_PREFIX], [gl])
734 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
735 gl_COMMON
736 gl_source_base='lib'
737 gl_source_base_prefix=
738 gl_FUNC_ALLOCA
739 gl_CONDITIONAL_HEADER([alloca.h])
740 AC_PROG_MKDIR_P
741 gl_ASSERT_H
742 gl_CONDITIONAL_HEADER([assert.h])
743 AC_PROG_MKDIR_P
744 AC_REQUIRE([AC_CANONICAL_HOST])
745 gl_C_BOOL
746 gl_UCHAR_MODULE_INDICATOR([btoc32])
747 gl_FUNC_BTOWC
748 gl_CONDITIONAL([GL_COND_OBJ_BTOWC],
749 [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1])
750 AM_COND_IF([GL_COND_OBJ_BTOWC], [
751 gl_PREREQ_BTOWC
752 ])
753 gl_WCHAR_MODULE_INDICATOR([btowc])
754 gl___BUILTIN_EXPECT
755 gl_C_STACK
756 gl_UCHAR_MODULE_INDICATOR([c32_apply_type_test])
757 gl_UCHAR_MODULE_INDICATOR([c32_get_type_test])
758 AC_REQUIRE([gl_UCHAR_H])
759 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
760 dnl determined. It describes how mbrtoc32 is implemented.
761 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
762 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
763 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
764 gl_UCHAR_MODULE_INDICATOR([c32isalnum])
765 AC_REQUIRE([gl_UCHAR_H])
766 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
767 dnl determined. It describes how mbrtoc32 is implemented.
768 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
769 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
770 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
771 gl_UCHAR_MODULE_INDICATOR([c32isalpha])
772 AC_REQUIRE([gl_UCHAR_H])
773 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
774 dnl determined. It describes how mbrtoc32 is implemented.
775 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
776 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
777 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
778 gl_UCHAR_MODULE_INDICATOR([c32isblank])
779 AC_REQUIRE([gl_UCHAR_H])
780 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
781 dnl determined. It describes how mbrtoc32 is implemented.
782 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
783 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
784 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
785 gl_UCHAR_MODULE_INDICATOR([c32iscntrl])
786 AC_REQUIRE([gl_UCHAR_H])
787 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
788 dnl determined. It describes how mbrtoc32 is implemented.
789 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
790 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
791 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
792 gl_UCHAR_MODULE_INDICATOR([c32isdigit])
793 AC_REQUIRE([gl_UCHAR_H])
794 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
795 dnl determined. It describes how mbrtoc32 is implemented.
796 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
797 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
798 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
799 gl_UCHAR_MODULE_INDICATOR([c32isgraph])
800 AC_REQUIRE([gl_UCHAR_H])
801 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
802 dnl determined. It describes how mbrtoc32 is implemented.
803 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
804 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
805 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
806 gl_UCHAR_MODULE_INDICATOR([c32islower])
807 AC_REQUIRE([gl_UCHAR_H])
808 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
809 dnl determined. It describes how mbrtoc32 is implemented.
810 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
811 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
812 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
813 gl_UCHAR_MODULE_INDICATOR([c32isprint])
814 AC_REQUIRE([gl_UCHAR_H])
815 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
816 dnl determined. It describes how mbrtoc32 is implemented.
817 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
818 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
819 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
820 gl_UCHAR_MODULE_INDICATOR([c32ispunct])
821 AC_REQUIRE([gl_UCHAR_H])
822 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
823 dnl determined. It describes how mbrtoc32 is implemented.
824 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
825 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
826 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
827 gl_UCHAR_MODULE_INDICATOR([c32isspace])
828 AC_REQUIRE([gl_UCHAR_H])
829 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
830 dnl determined. It describes how mbrtoc32 is implemented.
831 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
832 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
833 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
834 gl_UCHAR_MODULE_INDICATOR([c32isupper])
835 AC_REQUIRE([gl_UCHAR_H])
836 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
837 dnl determined. It describes how mbrtoc32 is implemented.
838 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
839 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
840 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
841 gl_UCHAR_MODULE_INDICATOR([c32isxdigit])
842 AC_REQUIRE([gl_UCHAR_H])
843 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
844 dnl determined. It describes how mbrtoc32 is implemented.
845 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
846 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
847 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
848 gl_UCHAR_MODULE_INDICATOR([c32tolower])
849 AC_REQUIRE([gl_UCHAR_H])
850 dnl Determine REPLACE_MBSTATE_T, from which GNULIB_defined_mbstate_t is
851 dnl determined. It describes how mbrtoc32 is implemented.
852 AC_REQUIRE([gl_MBSTATE_T_BROKEN])
853 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
854 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
855 gl_UCHAR_MODULE_INDICATOR([c32width])
856 gl_FUNC_CALLOC_GNU
857 if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then
858 AC_LIBOBJ([calloc])
859 fi
860 gl_STDLIB_MODULE_INDICATOR([calloc-gnu])
861 gl_FUNC_CALLOC_POSIX
862 if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then
863 AC_LIBOBJ([calloc])
864 fi
865 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
866 AC_REQUIRE([AC_C_RESTRICT])
867 gl_CHECK_FUNCS_ANDROID([readlinkat], [[#include <unistd.h>]])
868 gl_UNISTD_MODULE_INDICATOR([chdir])
869 gl_FUNC_CHDIR_LONG
870 gl_CONDITIONAL([GL_COND_OBJ_CHDIR_LONG],
871 [test $gl_cv_have_unlimited_file_name_length = no])
872 AM_COND_IF([GL_COND_OBJ_CHDIR_LONG], [
873 gl_PREREQ_CHDIR_LONG
874 ])
875 gl_CLOCK_TIME
876 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
877 gl_FUNC_CLOSE
878 gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1])
879 gl_UNISTD_MODULE_INDICATOR([close])
880 gl_MODULE_INDICATOR([close])
881 gl_FUNC_CLOSEDIR
882 gl_CONDITIONAL([GL_COND_OBJ_CLOSEDIR],
883 [test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1])
884 gl_DIRENT_MODULE_INDICATOR([closedir])
885 gl_CONFIG_H
886 gl_CTYPE_H
887 gl_CTYPE_H_REQUIRE_DEFAULTS
888 AC_PROG_MKDIR_P
889 gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE
890 gl_DIRENT_H
891 gl_DIRENT_H_REQUIRE_DEFAULTS
892 AC_PROG_MKDIR_P
893 gl_FUNC_DIRFD
894 gl_CONDITIONAL([GL_COND_OBJ_DIRFD],
895 [test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1])
896 AM_COND_IF([GL_COND_OBJ_DIRFD], [
897 gl_PREREQ_DIRFD
898 ])
899 gl_DIRENT_MODULE_INDICATOR([dirfd])
900 gl_MODULE_INDICATOR([dirname])
901 gl_DOUBLE_SLASH_ROOT
902 gl_FUNC_DUP
903 gl_CONDITIONAL([GL_COND_OBJ_DUP], [test $REPLACE_DUP = 1])
904 AM_COND_IF([GL_COND_OBJ_DUP], [
905 gl_PREREQ_DUP
906 ])
907 gl_UNISTD_MODULE_INDICATOR([dup])
908 gl_FUNC_DUP2
909 gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test $REPLACE_DUP2 = 1])
910 AM_COND_IF([GL_COND_OBJ_DUP2], [
911 gl_PREREQ_DUP2
912 ])
913 gl_UNISTD_MODULE_INDICATOR([dup2])
914 gl_ENVIRON
915 gl_UNISTD_MODULE_INDICATOR([environ])
916 gl_HEADER_ERRNO_H
917 gl_CONDITIONAL_HEADER([errno.h])
918 AC_PROG_MKDIR_P
919 AC_REQUIRE([gl_ERROR_H])
920 gl_ERROR
921 gl_CONDITIONAL([GL_COND_OBJ_ERROR], [test $COMPILE_ERROR_C = 1])
922 AM_COND_IF([GL_COND_OBJ_ERROR], [
923 gl_PREREQ_ERROR
924 ])
925 m4_ifdef([AM_XGETTEXT_OPTION],
926 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
927 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
928 gl_ERROR_H
929 AC_PROG_MKDIR_P
930 AC_REQUIRE([gl_EXTERN_INLINE])
931 gl_FUNC_FCHDIR
932 gl_CONDITIONAL([GL_COND_OBJ_FCHDIR],
933 [test $HAVE_FCHDIR = 0 || test $REPLACE_FCHDIR = 1])
934 AM_COND_IF([GL_COND_OBJ_FCHDIR], [
935 gl_PREREQ_FCHDIR
936 ])
937 gl_UNISTD_MODULE_INDICATOR([fchdir])
938 gl_FUNC_FCNTL
939 gl_CONDITIONAL([GL_COND_OBJ_FCNTL],
940 [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1])
941 gl_FCNTL_MODULE_INDICATOR([fcntl])
942 gl_FCNTL_H
943 gl_FCNTL_H_REQUIRE_DEFAULTS
944 AC_PROG_MKDIR_P
945 gl_FUNC_FDOPENDIR
946 gl_CONDITIONAL([GL_COND_OBJ_FDOPENDIR],
947 [test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1])
948 gl_DIRENT_MODULE_INDICATOR([fdopendir])
949 gl_MODULE_INDICATOR([fdopendir])
950 gl_FILEBLOCKS
951 gl_CONDITIONAL([GL_COND_OBJ_FILEBLOCKS],
952 [test $ac_cv_member_struct_stat_st_blocks = no])
953 AM_COND_IF([GL_COND_OBJ_FILEBLOCKS], [
954 gl_PREREQ_FILEBLOCKS
955 ])
956 gl_FILE_NAME_CONCAT
957 gl_MODULE_INDICATOR([filenamecat])
958 gl_FILE_NAME_CONCAT_LGPL
959 AC_C_FLEXIBLE_ARRAY_MEMBER
960 gl_FUNC_FNMATCH_POSIX
961 dnl Because of gl_REPLACE_FNMATCH_H:
962 gl_CONDITIONAL_HEADER([fnmatch.h])
963 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
964 AC_LIBOBJ([fnmatch])
965 gl_PREREQ_FNMATCH
966 fi
967 gl_FNMATCH_MODULE_INDICATOR([fnmatch])
968 gl_FUNC_FNMATCH_GNU
969 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
970 AC_LIBOBJ([fnmatch])
971 gl_PREREQ_FNMATCH
972 fi
973 gl_MODULE_INDICATOR([fnmatch-gnu])
974 gl_FNMATCH_H
975 gl_FNMATCH_H_REQUIRE_DEFAULTS
976 gl_CONDITIONAL_HEADER([fnmatch.h])
977 AC_PROG_MKDIR_P
978 gl_FUNC_FOPEN
979 if test $REPLACE_FOPEN = 1; then
980 AC_LIBOBJ([fopen])
981 gl_PREREQ_FOPEN
982 fi
983 gl_STDIO_MODULE_INDICATOR([fopen])
984 gl_FUNC_FOPEN_GNU
985 if test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1; then
986 AC_LIBOBJ([fopen])
987 gl_PREREQ_FOPEN
988 fi
989 gl_MODULE_INDICATOR([fopen-gnu])
990 gl_STDIO_MODULE_INDICATOR([fopen-gnu])
991 gl_FUNC_FREE
992 gl_CONDITIONAL([GL_COND_OBJ_FREE], [test $REPLACE_FREE = 1])
993 AM_COND_IF([GL_COND_OBJ_FREE], [
994 gl_PREREQ_FREE
995 ])
996 gl_STDLIB_MODULE_INDICATOR([free-posix])
997 gl_FUNC_FREOPEN
998 gl_CONDITIONAL([GL_COND_OBJ_FREOPEN], [test $REPLACE_FREOPEN = 1])
999 AM_COND_IF([GL_COND_OBJ_FREOPEN], [
1000 gl_PREREQ_FREOPEN
1001 ])
1002 gl_STDIO_MODULE_INDICATOR([freopen])
1003 gl_FUNC_FSTAT
1004 gl_CONDITIONAL([GL_COND_OBJ_FSTAT], [test $REPLACE_FSTAT = 1])
1005 AM_COND_IF([GL_COND_OBJ_FSTAT], [
1006 case "$host_os" in
1007 mingw* | windows*)
1008 AC_LIBOBJ([stat-w32])
1009 ;;
1010 esac
1011 gl_PREREQ_FSTAT
1012 ])
1013 gl_SYS_STAT_MODULE_INDICATOR([fstat])
1014 gl_MODULE_INDICATOR([fstat])
1015 gl_FUNC_FSTATAT
1016 gl_CONDITIONAL([GL_COND_OBJ_FSTATAT],
1017 [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1])
1018 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
1019 gl_MODULE_INDICATOR([fstatat])
1020 gl_FUNC_GETCWD_LGPL
1021 gl_CONDITIONAL([GL_COND_OBJ_GETCWD_LGPL], [test $REPLACE_GETCWD = 1])
1022 gl_UNISTD_MODULE_INDICATOR([getcwd])
1023 gl_FUNC_GETDTABLESIZE
1024 gl_CONDITIONAL([GL_COND_OBJ_GETDTABLESIZE],
1025 [test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1])
1026 AM_COND_IF([GL_COND_OBJ_GETDTABLESIZE], [
1027 gl_PREREQ_GETDTABLESIZE
1028 ])
1029 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
1030 AC_REQUIRE([AC_CANONICAL_HOST])
1031 gl_CONDITIONAL([GL_COND_OBJ_GETLOCALENAME_L_UNSAFE_LIMITED],
1032 [case "$host_os" in netbsd* | solaris*) true;; *) false;; esac])
1033 gl_FUNC_GETOPT_GNU
1034 dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
1035 dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
1036 dnl done in the getopt-posix module.
1037 gl_FUNC_GETOPT_POSIX
1038 gl_CONDITIONAL_HEADER([getopt.h])
1039 gl_CONDITIONAL_HEADER([getopt-cdefs.h])
1040 AC_PROG_MKDIR_P
1041 gl_CONDITIONAL([GL_COND_OBJ_GETOPT], [test $REPLACE_GETOPT = 1])
1042 AM_COND_IF([GL_COND_OBJ_GETOPT], [
1043 dnl Define the substituted variable GNULIB_UNISTD_H_GETOPT to 1.
1044 gl_UNISTD_H_REQUIRE_DEFAULTS
1045 gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT], [1])
1046 ])
1047 gl_UNISTD_MODULE_INDICATOR([getopt-posix])
1048 gl_MUSL_LIBC
1049 gl_FUNC_GETPAGESIZE
1050 gl_CONDITIONAL([GL_COND_OBJ_GETPAGESIZE],
1051 [test $HAVE_GETPAGESIZE = 0 || test $REPLACE_GETPAGESIZE = 1])
1052 gl_UNISTD_MODULE_INDICATOR([getpagesize])
1053 AC_REQUIRE([AC_CANONICAL_HOST])
1054 gl_FUNC_GETPROGNAME
1055 gl_CONDITIONAL([GL_COND_OBJ_GETPROGNAME],
1056 [test $HAVE_GETPROGNAME = 0 || test $REPLACE_GETPROGNAME = 1])
1057 AM_COND_IF([GL_COND_OBJ_GETPROGNAME], [
1058 gl_PREREQ_GETPROGNAME
1059 ])
1060 gl_STDLIB_MODULE_INDICATOR([getprogname])
1061 AC_REQUIRE([AC_CANONICAL_HOST])
1062 gl_FUNC_GETRANDOM
1063 gl_CONDITIONAL([GL_COND_OBJ_GETRANDOM],
1064 [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1])
1065 gl_SYS_RANDOM_MODULE_INDICATOR([getrandom])
1066 AC_SUBST([LIBINTL])
1067 AC_SUBST([LTLIBINTL])
1068 gl_GETTIME
1069 gl_FUNC_GETTIMEOFDAY
1070 gl_CONDITIONAL([GL_COND_OBJ_GETTIMEOFDAY],
1071 [test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1])
1072 AM_COND_IF([GL_COND_OBJ_GETTIMEOFDAY], [
1073 gl_PREREQ_GETTIMEOFDAY
1074 ])
1075 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
1076 AC_PROG_MKDIR_P
1077 gl_GNU_MAKE
1078 GNULIB_I18N
1079 # Autoconf 2.61a.99 and earlier don't support linking a file only
1080 # in VPATH builds. But since GNUmakefile is for maintainer use
1081 # only, it does not matter if we skip the link with older autoconf.
1082 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
1083 # builds, so use a shell variable to bypass this.
1084 GNUmakefile=GNUmakefile
1085 m4_if(m4_version_compare([2.61a.100],
1086 m4_defn([m4_PACKAGE_VERSION])), [1], [],
1087 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
1088 [GNUmakefile=$GNUmakefile])])
1089 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
1090 HARD_LOCALE_LIB="$SETLOCALE_NULL_LIB"
1091 AC_SUBST([HARD_LOCALE_LIB])
1092 dnl For backward compatibility.
1093 LIB_HARD_LOCALE="$HARD_LOCALE_LIB"
1094 AC_SUBST([LIB_HARD_LOCALE])
1095 AC_DEFUN([gl_HAVE_MODULE_HAVELIB])
1096 AC_REQUIRE([gl_HOST_CPU_C_ABI])
1097 gl_INLINE
1098 gl_INTTYPES_H
1099 gl_INTTYPES_INCOMPLETE
1100 gl_INTTYPES_H_REQUIRE_DEFAULTS
1101 AC_PROG_MKDIR_P
1102 gl_FUNC_ISBLANK
1103 gl_CONDITIONAL([GL_COND_OBJ_ISBLANK], [test $HAVE_ISBLANK = 0])
1104 gl_MODULE_INDICATOR([isblank])
1105 gl_CTYPE_MODULE_INDICATOR([isblank])
1106 gl_FUNC_ISWBLANK
1107 gl_CONDITIONAL([GL_COND_OBJ_ISWBLANK],
1108 [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && { test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; }])
1109 gl_WCTYPE_MODULE_INDICATOR([iswblank])
1110 gl_FUNC_ISWCTYPE
1111 gl_CONDITIONAL([GL_COND_OBJ_ISWCTYPE],
1112 [test $HAVE_WCTYPE_T = 0 || test $GNULIBHEADERS_OVERRIDE_WINT_T = 1 || test $REPLACE_WCTYPE = 1])
1113 gl_WCTYPE_MODULE_INDICATOR([iswctype])
1114 gl_FUNC_ISWDIGIT
1115 gl_CONDITIONAL([GL_COND_OBJ_ISWDIGIT],
1116 [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWDIGIT = 1])
1117 gl_WCTYPE_MODULE_INDICATOR([iswdigit])
1118 gl_FUNC_ISWPUNCT
1119 gl_CONDITIONAL([GL_COND_OBJ_ISWPUNCT],
1120 [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWPUNCT = 1])
1121 gl_WCTYPE_MODULE_INDICATOR([iswpunct])
1122 gl_FUNC_ISWXDIGIT
1123 gl_CONDITIONAL([GL_COND_OBJ_ISWXDIGIT],
1124 [! { test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; } && test $REPLACE_ISWXDIGIT = 1])
1125 gl_WCTYPE_MODULE_INDICATOR([iswxdigit])
1126 gl_LANGINFO_H
1127 gl_LANGINFO_H_REQUIRE_DEFAULTS
1128 AC_PROG_MKDIR_P
1129 AC_REQUIRE([gl_LARGEFILE])
1130 gl___INLINE
1131 gl_LIMITS_H
1132 gl_CONDITIONAL_HEADER([limits.h])
1133 AC_PROG_MKDIR_P
1134 gl_LOCALCHARSET
1135 dnl For backward compatibility. Some packages still use this.
1136 LOCALCHARSET_TESTS_ENVIRONMENT=
1137 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
1138 gl_LOCALE_H
1139 gl_LOCALE_H_REQUIRE_DEFAULTS
1140 AC_PROG_MKDIR_P
1141 gl_FUNC_LOCALECONV
1142 gl_CONDITIONAL([GL_COND_OBJ_LOCALECONV], [test $REPLACE_LOCALECONV = 1])
1143 AM_COND_IF([GL_COND_OBJ_LOCALECONV], [
1144 gl_PREREQ_LOCALECONV
1145 ])
1146 gl_LOCALE_MODULE_INDICATOR([localeconv])
1147 gl_MODULE_INDICATOR([localeconv])
1148 gl_LOCALENAME_UNSAFE_LIMITED
1149 AC_REQUIRE([AC_CANONICAL_HOST])
1150 gl_CONDITIONAL([GL_COND_OBJ_LOCALENAME_UNSAFE_LIMITED],
1151 [case "$host_os" in netbsd* | solaris*) true;; *) false;; esac])
1152 gl_LOCK
1153 gl_MODULE_INDICATOR([lock])
1154 gl_FUNC_LSTAT
1155 gl_CONDITIONAL([GL_COND_OBJ_LSTAT], [test $REPLACE_LSTAT = 1])
1156 AM_COND_IF([GL_COND_OBJ_LSTAT], [
1157 gl_PREREQ_LSTAT
1158 ])
1159 gl_SYS_STAT_MODULE_INDICATOR([lstat])
1160 gl_MODULE_INDICATOR([lstat])
1161 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
1162 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
1163 AC_REQUIRE([AC_PROG_SED])
1164 AC_REQUIRE([AC_PROG_GREP])
1165 gl_FUNC_MALLOC_GNU
1166 if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then
1167 AC_LIBOBJ([malloc])
1168 fi
1169 gl_STDLIB_MODULE_INDICATOR([malloc-gnu])
1170 AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
1171 if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then
1172 AC_LIBOBJ([malloc])
1173 fi
1174 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
1175 gl_MALLOCA
1176 gl_FUNC_MBRTOC32
1177 gl_CONDITIONAL([GL_COND_OBJ_MBRTOC32],
1178 [test $HAVE_MBRTOC32 = 0 || test $REPLACE_MBRTOC32 = 1])
1179 AM_COND_IF([GL_COND_OBJ_MBRTOC32], [
1180 if test $REPLACE_MBSTATE_T = 1; then
1181 AC_LIBOBJ([lc-charset-dispatch])
1182 AC_LIBOBJ([mbtowc-lock])
1183 gl_PREREQ_MBTOWC_LOCK
1184 fi
1185 gl_PREREQ_MBRTOC32
1186 ])
1187 gl_UCHAR_MODULE_INDICATOR([mbrtoc32])
1188 gl_FUNC_MBRTOWC
1189 gl_CONDITIONAL([GL_COND_OBJ_MBRTOWC],
1190 [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1])
1191 AM_COND_IF([GL_COND_OBJ_MBRTOWC], [
1192 if test $REPLACE_MBSTATE_T = 1; then
1193 AC_LIBOBJ([lc-charset-dispatch])
1194 AC_LIBOBJ([mbtowc-lock])
1195 gl_PREREQ_MBTOWC_LOCK
1196 fi
1197 gl_PREREQ_MBRTOWC
1198 ])
1199 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
1200 gl_STRING_MODULE_INDICATOR([mbscasecmp])
1201 gl_FUNC_MBSINIT
1202 gl_CONDITIONAL([GL_COND_OBJ_MBSINIT],
1203 [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1])
1204 AM_COND_IF([GL_COND_OBJ_MBSINIT], [
1205 gl_PREREQ_MBSINIT
1206 ])
1207 gl_WCHAR_MODULE_INDICATOR([mbsinit])
1208 AC_REQUIRE([gl_UCHAR_H])
1209 AC_LIBOBJ([mbsrtoc32s-state])
1210 gl_UCHAR_MODULE_INDICATOR([mbsrtoc32s])
1211 gl_FUNC_MBSRTOWCS
1212 gl_CONDITIONAL([GL_COND_OBJ_MBSRTOWCS],
1213 [test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1])
1214 AM_COND_IF([GL_COND_OBJ_MBSRTOWCS], [
1215 AC_LIBOBJ([mbsrtowcs-state])
1216 gl_PREREQ_MBSRTOWCS
1217 ])
1218 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
1219 AC_REQUIRE([AC_TYPE_MBSTATE_T])
1220 gl_MBSTATE_T_BROKEN
1221 gl_MUSL_LIBC
1222 gl_WCHAR_MODULE_INDICATOR([mbszero])
1223 gl_FUNC_MBTOWC
1224 gl_CONDITIONAL([GL_COND_OBJ_MBTOWC],
1225 [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1])
1226 AM_COND_IF([GL_COND_OBJ_MBTOWC], [
1227 gl_PREREQ_MBTOWC
1228 ])
1229 gl_STDLIB_MODULE_INDICATOR([mbtowc])
1230 gl_MODULE_INDICATOR([mcel-prefer])
1231 gl_FUNC_MEMCHR
1232 gl_CONDITIONAL([GL_COND_OBJ_MEMCHR], [test $REPLACE_MEMCHR = 1])
1233 AM_COND_IF([GL_COND_OBJ_MEMCHR], [
1234 gl_PREREQ_MEMCHR
1235 ])
1236 gl_STRING_MODULE_INDICATOR([memchr])
1237 gl_FUNC_MEMPCPY
1238 gl_CONDITIONAL([GL_COND_OBJ_MEMPCPY],
1239 [test $HAVE_MEMPCPY = 0 || test $REPLACE_MEMPCPY = 1])
1240 AM_COND_IF([GL_COND_OBJ_MEMPCPY], [
1241 gl_PREREQ_MEMPCPY
1242 ])
1243 gl_STRING_MODULE_INDICATOR([mempcpy])
1244 gl_FUNC_MEMRCHR
1245 gl_CONDITIONAL([GL_COND_OBJ_MEMRCHR], [test $ac_cv_func_memrchr = no])
1246 AM_COND_IF([GL_COND_OBJ_MEMRCHR], [
1247 gl_PREREQ_MEMRCHR
1248 ])
1249 gl_STRING_MODULE_INDICATOR([memrchr])
1250 gl_MINMAX
1251 gl_FUNC_MKDIR
1252 gl_CONDITIONAL([GL_COND_OBJ_MKDIR], [test $REPLACE_MKDIR = 1])
1253 gl_SYS_STAT_MODULE_INDICATOR([mkdir])
1254 gl_FUNC_MKSTEMP
1255 gl_CONDITIONAL([GL_COND_OBJ_MKSTEMP],
1256 [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1])
1257 AM_COND_IF([GL_COND_OBJ_MKSTEMP], [
1258 gl_PREREQ_MKSTEMP
1259 ])
1260 gl_STDLIB_MODULE_INDICATOR([mkstemp])
1261 gl_FUNC_MKTIME
1262 if test $REPLACE_MKTIME = 1; then
1263 AC_LIBOBJ([mktime])
1264 gl_PREREQ_MKTIME
1265 fi
1266 gl_TIME_MODULE_INDICATOR([mktime])
1267 gl_FUNC_MKTIME_INTERNAL
1268 if test $WANT_MKTIME_INTERNAL = 1; then
1269 AC_LIBOBJ([mktime])
1270 gl_PREREQ_MKTIME
1271 fi
1272 AC_REQUIRE([gl_MSVC_INVAL])
1273 gl_CONDITIONAL([GL_COND_OBJ_MSVC_INVAL],
1274 [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1])
1275 AC_REQUIRE([gl_MSVC_NOTHROW])
1276 gl_CONDITIONAL([GL_COND_OBJ_MSVC_NOTHROW],
1277 [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1])
1278 gl_MODULE_INDICATOR([msvc-nothrow])
1279 gl_MULTIARCH
1280 gl_FUNC_NL_LANGINFO
1281 gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO],
1282 [test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1])
1283 gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO_LOCK],
1284 [test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0])
1285 if test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0; then
1286 gl_PREREQ_NL_LANGINFO_LOCK
1287 fi
1288 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
1289 gl_FUNC_GNU_STRFTIME
1290 gl_NULLPTR
1291 gl_ONCE
1292 gl_FUNC_OPEN
1293 gl_CONDITIONAL([GL_COND_OBJ_OPEN], [test $REPLACE_OPEN = 1])
1294 AM_COND_IF([GL_COND_OBJ_OPEN], [
1295 gl_PREREQ_OPEN
1296 ])
1297 gl_FCNTL_MODULE_INDICATOR([open])
1298 gl_FUNC_OPENAT
1299 gl_CONDITIONAL([GL_COND_OBJ_OPENAT],
1300 [test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1])
1301 AM_COND_IF([GL_COND_OBJ_OPENAT], [
1302 gl_PREREQ_OPENAT
1303 ])
1304 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
1305 gl_FCNTL_MODULE_INDICATOR([openat])
1306 gl_FUNC_OPENDIR
1307 gl_CONDITIONAL([GL_COND_OBJ_OPENDIR],
1308 [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1])
1309 gl_DIRENT_MODULE_INDICATOR([opendir])
1310 gl_PATHMAX
1311 gl_FUNC_PCLOSE
1312 gl_CONDITIONAL([GL_COND_OBJ_PCLOSE], [test $HAVE_PCLOSE = 0])
1313 AM_COND_IF([GL_COND_OBJ_PCLOSE], [
1314 gl_PREREQ_PCLOSE
1315 ])
1316 gl_STDIO_MODULE_INDICATOR([pclose])
1317 gl_PERL
1318 gl_FUNC_POPEN
1319 gl_CONDITIONAL([GL_COND_OBJ_POPEN],
1320 [test $HAVE_POPEN = 0 || test $REPLACE_POPEN = 1])
1321 AM_COND_IF([GL_COND_OBJ_POPEN], [
1322 gl_PREREQ_POPEN
1323 ])
1324 gl_STDIO_MODULE_INDICATOR([popen])
1325 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
1326 AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
1327 m4_ifdef([AM_XGETTEXT_OPTION],
1328 [AM_][XGETTEXT_OPTION([--keyword='proper_name_lite:1,\"This is a proper name. See the gettext manual, section Names.\"'])])
1329 gl_PTHREAD_H
1330 gl_PTHREAD_H_REQUIRE_DEFAULTS
1331 AC_PROG_MKDIR_P
1332 gl_PTHREAD_ONCE
1333 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_ONCE],
1334 [test $HAVE_PTHREAD_ONCE = 0 || test $REPLACE_PTHREAD_ONCE = 1])
1335 gl_PTHREAD_MODULE_INDICATOR([pthread-once])
1336 gl_QUOTE
1337 gl_QUOTEARG
1338 gl_FUNC_RAISE
1339 gl_CONDITIONAL([GL_COND_OBJ_RAISE],
1340 [test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1])
1341 AM_COND_IF([GL_COND_OBJ_RAISE], [
1342 gl_PREREQ_RAISE
1343 ])
1344 gl_SIGNAL_MODULE_INDICATOR([raise])
1345 gl_FUNC_RAWMEMCHR
1346 gl_CONDITIONAL([GL_COND_OBJ_RAWMEMCHR], [test $HAVE_RAWMEMCHR = 0])
1347 AM_COND_IF([GL_COND_OBJ_RAWMEMCHR], [
1348 gl_PREREQ_RAWMEMCHR
1349 ])
1350 gl_STRING_MODULE_INDICATOR([rawmemchr])
1351 gl_FUNC_READDIR
1352 gl_CONDITIONAL([GL_COND_OBJ_READDIR],
1353 [test $HAVE_READDIR = 0 || test $REPLACE_READDIR = 1])
1354 gl_DIRENT_MODULE_INDICATOR([readdir])
1355 gl_FUNC_READLINK
1356 gl_CONDITIONAL([GL_COND_OBJ_READLINK],
1357 [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1])
1358 AM_COND_IF([GL_COND_OBJ_READLINK], [
1359 gl_PREREQ_READLINK
1360 ])
1361 gl_UNISTD_MODULE_INDICATOR([readlink])
1362 gl_FUNC_READLINKAT
1363 gl_CONDITIONAL([GL_COND_OBJ_READLINKAT],
1364 [test $HAVE_READLINKAT = 0 || test $REPLACE_READLINKAT = 1])
1365 gl_UNISTD_MODULE_INDICATOR([readlinkat])
1366 gl_FUNC_REALLOC_POSIX
1367 gl_FUNC_REALLOC_0_NONNULL
1368 gl_CONDITIONAL([GL_COND_OBJ_REALLOC_POSIX],
1369 [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0])
1370 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
1371 gl_FUNC_REALLOCARRAY
1372 gl_CONDITIONAL([GL_COND_OBJ_REALLOCARRAY],
1373 [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1])
1374 AM_COND_IF([GL_COND_OBJ_REALLOCARRAY], [
1375 gl_PREREQ_REALLOCARRAY
1376 ])
1377 gl_MODULE_INDICATOR([reallocarray])
1378 gl_STDLIB_MODULE_INDICATOR([reallocarray])
1379 gl_REGEX
1380 gl_CONDITIONAL([GL_COND_OBJ_REGEX], [test $ac_use_included_regex = yes])
1381 AM_COND_IF([GL_COND_OBJ_REGEX], [
1382 gl_PREREQ_REGEX
1383 ])
1384 gl_SAVE_CWD
1385 gl_SCHED_H
1386 gl_SCHED_H_REQUIRE_DEFAULTS
1387 AC_PROG_MKDIR_P
1388 gl_FUNC_SETENV
1389 gl_CONDITIONAL([GL_COND_OBJ_SETENV],
1390 [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1])
1391 gl_STDLIB_MODULE_INDICATOR([setenv])
1392 gl_FUNC_SETLOCALE_NULL
1393 gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE_LOCK],
1394 [test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0])
1395 AM_COND_IF([GL_COND_OBJ_SETLOCALE_LOCK], [
1396 gl_PREREQ_SETLOCALE_LOCK
1397 ])
1398 gl_LOCALE_MODULE_INDICATOR([setlocale_null])
1399 AC_REQUIRE([AC_C_RESTRICT])
1400 gl_SIGACTION
1401 gl_CONDITIONAL([GL_COND_OBJ_SIGACTION], [test $HAVE_SIGACTION = 0])
1402 AM_COND_IF([GL_COND_OBJ_SIGACTION], [
1403 gl_PREREQ_SIGACTION
1404 ])
1405 gl_SIGNAL_MODULE_INDICATOR([sigaction])
1406 gl_SIGNAL_H
1407 gl_SIGNAL_H_REQUIRE_DEFAULTS
1408 AC_PROG_MKDIR_P
1409 gl_SIGNALBLOCKING
1410 gl_CONDITIONAL([GL_COND_OBJ_SIGPROCMASK], [test $HAVE_POSIX_SIGNALBLOCKING = 0])
1411 AM_COND_IF([GL_COND_OBJ_SIGPROCMASK], [
1412 gl_PREREQ_SIGPROCMASK
1413 ])
1414 gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
1415 AC_REQUIRE([gl_SIGSEGV])
1416 if test $gl_sigsegv_uses_libsigsegv = yes; then
1417 GL_GENERATE_SIGSEGV_H=false
1418 else
1419 GL_GENERATE_SIGSEGV_H=true
1420 fi
1421 gl_CONDITIONAL_HEADER([sigsegv.h])
1422 AC_PROG_MKDIR_P
1423 if $GL_GENERATE_SIGSEGV_H; then
1424 dnl Persuade glibc <sys/ucontext.h> to declare macros designating register
1425 dnl indices: REG_RSP on x86_64, REG_ESP on i386.
1426 dnl Persuade Solaris OpenIndiana <ucontext.h> to include <sys/regset.h>,
1427 dnl which declares macros designating register indices, such as ESP on i386.
1428 dnl Persuade Solaris OpenIndiana <unistd.h> to declare mincore().
1429 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
1430 gl_MUSL_LIBC
1431 AC_REQUIRE([AC_CANONICAL_HOST])
1432 case "$host_os" in
1433 solaris2.11)
1434 AC_DEFINE([SOLARIS11], [1], [Define on Solaris 11 and its derivates.])
1435 ;;
1436 esac
1437 gl_FUNC_MMAP_ANON
1438 dnl Stack direction.
1439 SV_STACK_DIRECTION
1440 dnl Catching stack overflow requires an alternate signal stack.
1441 dnl The old "install a guard page" trick would be unreliable, because
1442 dnl we don't know where exactly to place the guard page.
1443 SV_SIGALTSTACK
1444 AC_CHECK_FUNCS_ONCE([getrlimit])
1445 fi
1446 gt_TYPE_SSIZE_T
1447 gl_FUNC_STAT
1448 gl_CONDITIONAL([GL_COND_OBJ_STAT], [test $REPLACE_STAT = 1])
1449 AM_COND_IF([GL_COND_OBJ_STAT], [
1450 case "$host_os" in
1451 mingw* | windows*)
1452 AC_LIBOBJ([stat-w32])
1453 ;;
1454 esac
1455 gl_PREREQ_STAT
1456 ])
1457 gl_SYS_STAT_MODULE_INDICATOR([stat])
1458 gl_MODULE_INDICATOR([stat])
1459 gl_STAT_SIZE
1460 gl_STAT_TIME
1461 gl_STAT_BIRTHTIME
1462 gl_STDARG_H
1463 gl_CONDITIONAL_HEADER([stdarg.h])
1464 AC_PROG_MKDIR_P
1465 gl_STDBIT_H
1466 gl_CONDITIONAL_HEADER([stdbit.h])
1467 AC_PROG_MKDIR_P
1468 AC_REQUIRE([gl_STDBIT_H])
1469 GL_STDC_BIT_WIDTH=1
1470 AC_REQUIRE([gl_STDBIT_H])
1471 GL_STDC_LEADING_ZEROS=1
1472 AC_CHECK_HEADERS_ONCE([stdckdint.h])
1473 if test $ac_cv_header_stdckdint_h = yes; then
1474 GL_GENERATE_STDCKDINT_H=false
1475 else
1476 GL_GENERATE_STDCKDINT_H=true
1477 fi
1478 gl_CONDITIONAL_HEADER([stdckdint.h])
1479 AC_PROG_MKDIR_P
1480 gl_STDDEF_H
1481 gl_STDDEF_H_REQUIRE_DEFAULTS
1482 gl_CONDITIONAL_HEADER([stddef.h])
1483 AC_PROG_MKDIR_P
1484 gl_STDINT_H
1485 gl_CONDITIONAL_HEADER([stdint.h])
1486 dnl Because of gl_REPLACE_LIMITS_H:
1487 gl_CONDITIONAL_HEADER([limits.h])
1488 AC_PROG_MKDIR_P
1489 gl_STDIO_H
1490 gl_STDIO_H_REQUIRE_DEFAULTS
1491 AC_PROG_MKDIR_P
1492 gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
1493 gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
1494 dnl No need to create extra modules for these functions. Everyone who uses
1495 dnl <stdio.h> likely needs them.
1496 gl_STDIO_MODULE_INDICATOR([fscanf])
1497 gl_MODULE_INDICATOR([fscanf])
1498 gl_STDIO_MODULE_INDICATOR([scanf])
1499 gl_MODULE_INDICATOR([scanf])
1500 gl_STDIO_MODULE_INDICATOR([fgetc])
1501 gl_STDIO_MODULE_INDICATOR([getc])
1502 gl_STDIO_MODULE_INDICATOR([getchar])
1503 gl_STDIO_MODULE_INDICATOR([fgets])
1504 gl_STDIO_MODULE_INDICATOR([fread])
1505 dnl No need to create extra modules for these functions. Everyone who uses
1506 dnl <stdio.h> likely needs them.
1507 gl_STDIO_MODULE_INDICATOR([fprintf])
1508 gl_STDIO_MODULE_INDICATOR([printf])
1509 gl_STDIO_MODULE_INDICATOR([vfprintf])
1510 gl_STDIO_MODULE_INDICATOR([vprintf])
1511 gl_STDIO_MODULE_INDICATOR([fputc])
1512 gl_STDIO_MODULE_INDICATOR([putc])
1513 gl_STDIO_MODULE_INDICATOR([putchar])
1514 gl_STDIO_MODULE_INDICATOR([fputs])
1515 gl_STDIO_MODULE_INDICATOR([puts])
1516 gl_STDIO_MODULE_INDICATOR([fwrite])
1517 gl_STDLIB_H
1518 gl_STDLIB_H_REQUIRE_DEFAULTS
1519 AC_PROG_MKDIR_P
1520 gl_FUNC_STPCPY
1521 gl_CONDITIONAL([GL_COND_OBJ_STPCPY],
1522 [test $HAVE_STPCPY = 0 || test $REPLACE_STPCPY = 1])
1523 AM_COND_IF([GL_COND_OBJ_STPCPY], [
1524 gl_PREREQ_STPCPY
1525 ])
1526 gl_STRING_MODULE_INDICATOR([stpcpy])
1527 gl_FUNC_STRCASECMP
1528 gl_CONDITIONAL([GL_COND_OBJ_STRCASECMP],
1529 [test $HAVE_STRCASECMP = 0 || test $REPLACE_STRCASECMP = 1])
1530 AM_COND_IF([GL_COND_OBJ_STRCASECMP], [
1531 gl_PREREQ_STRCASECMP
1532 ])
1533 gl_STRINGS_MODULE_INDICATOR([strcasecmp])
1534 gl_FUNC_STRDUP_POSIX
1535 gl_CONDITIONAL([GL_COND_OBJ_STRDUP], [test $REPLACE_STRDUP = 1])
1536 AM_COND_IF([GL_COND_OBJ_STRDUP], [
1537 gl_PREREQ_STRDUP
1538 ])
1539 gl_STRING_MODULE_INDICATOR([strdup])
1540 gl_FUNC_STRERROR
1541 gl_CONDITIONAL([GL_COND_OBJ_STRERROR], [test $REPLACE_STRERROR = 1])
1542 gl_MODULE_INDICATOR([strerror])
1543 gl_STRING_MODULE_INDICATOR([strerror])
1544 AC_REQUIRE([gl_HEADER_ERRNO_H])
1545 AC_REQUIRE([gl_FUNC_STRERROR_0])
1546 gl_CONDITIONAL([GL_COND_OBJ_STRERROR_OVERRIDE],
1547 [test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1])
1548 AM_COND_IF([GL_COND_OBJ_STRERROR_OVERRIDE], [
1549 gl_PREREQ_SYS_H_WINSOCK2
1550 ])
1551 gl_STRING_H
1552 gl_STRING_H_REQUIRE_DEFAULTS
1553 AC_PROG_MKDIR_P
1554 gl_STRINGS_H
1555 gl_STRINGS_H_REQUIRE_DEFAULTS
1556 AC_PROG_MKDIR_P
1557 gl_FUNC_STRNCASECMP
1558 gl_CONDITIONAL([GL_COND_OBJ_STRNCASECMP],
1559 [test $HAVE_STRNCASECMP = 0 || test $REPLACE_STRNCASECMP = 1])
1560 AM_COND_IF([GL_COND_OBJ_STRNCASECMP], [
1561 gl_PREREQ_STRNCASECMP
1562 ])
1563 gl_STRINGS_MODULE_INDICATOR([strncasecmp])
1564 gl_FUNC_STRNLEN
1565 gl_CONDITIONAL([GL_COND_OBJ_STRNLEN],
1566 [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1])
1567 AM_COND_IF([GL_COND_OBJ_STRNLEN], [
1568 gl_PREREQ_STRNLEN
1569 ])
1570 gl_STRING_MODULE_INDICATOR([strnlen])
1571 gl_FUNC_STRPTIME
1572 gl_CONDITIONAL([GL_COND_OBJ_STRPTIME], [test $HAVE_STRPTIME = 0])
1573 AM_COND_IF([GL_COND_OBJ_STRPTIME], [
1574 gl_PREREQ_STRPTIME
1575 ])
1576 gl_TIME_MODULE_INDICATOR([strptime])
1577 gl_FUNC_STRTOIMAX
1578 gl_CONDITIONAL([GL_COND_OBJ_STRTOIMAX],
1579 [test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1])
1580 AM_COND_IF([GL_COND_OBJ_STRTOIMAX], [
1581 gl_PREREQ_STRTOIMAX
1582 ])
1583 gl_INTTYPES_MODULE_INDICATOR([strtoimax])
1584 gl_FUNC_STRTOLL
1585 gl_CONDITIONAL([GL_COND_OBJ_STRTOLL],
1586 [test $HAVE_STRTOLL = 0 || test $REPLACE_STRTOLL = 1])
1587 AM_COND_IF([GL_COND_OBJ_STRTOLL], [
1588 gl_PREREQ_STRTOLL
1589 ])
1590 gl_STDLIB_MODULE_INDICATOR([strtoll])
1591 gl_SYS_RANDOM_H
1592 gl_SYS_RANDOM_H_REQUIRE_DEFAULTS
1593 AC_PROG_MKDIR_P
1594 gl_SYS_STAT_H
1595 gl_SYS_STAT_H_REQUIRE_DEFAULTS
1596 AC_PROG_MKDIR_P
1597 gl_SYS_TIME_H
1598 gl_SYS_TIME_H_REQUIRE_DEFAULTS
1599 AC_PROG_MKDIR_P
1600 gl_SYS_TYPES_H
1601 gl_SYS_TYPES_H_REQUIRE_DEFAULTS
1602 AC_PROG_MKDIR_P
1603 gl_SYS_WAIT_H
1604 gl_SYS_WAIT_H_REQUIRE_DEFAULTS
1605 AC_PROG_MKDIR_P
1606 AC_REQUIRE([AC_C_RESTRICT])
1607 gl_FUNC_GEN_TEMPNAME
1608 gl_MODULE_INDICATOR([tempname])
1609 AC_REQUIRE([gl_THREADLIB])
1610 gl_TIME_H
1611 gl_TIME_H_REQUIRE_DEFAULTS
1612 AC_PROG_MKDIR_P
1613 gl_TIME_R
1614 gl_CONDITIONAL([GL_COND_OBJ_TIME_R],
1615 [test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1])
1616 AM_COND_IF([GL_COND_OBJ_TIME_R], [
1617 gl_PREREQ_TIME_R
1618 ])
1619 gl_TIME_MODULE_INDICATOR([time_r])
1620 gl_TIME_RZ
1621 gl_CONDITIONAL([GL_COND_OBJ_TIME_RZ],
1622 [test $HAVE_TZALLOC = 0 || test $REPLACE_LOCALTIME_RZ = 1 || test $REPLACE_MKTIME_Z = 1])
1623 gl_TIME_MODULE_INDICATOR([time_rz])
1624 gl_FUNC_TIMEGM
1625 gl_CONDITIONAL([GL_COND_OBJ_TIMEGM],
1626 [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1])
1627 AM_COND_IF([GL_COND_OBJ_TIMEGM], [
1628 gl_PREREQ_TIMEGM
1629 ])
1630 gl_TIME_MODULE_INDICATOR([timegm])
1631 gl_TIMESPEC
1632 gl_FUNC_TIMESPEC_GET
1633 gl_CONDITIONAL([GL_COND_OBJ_TIMESPEC_GET],
1634 [test $HAVE_TIMESPEC_GET = 0 || test $REPLACE_TIMESPEC_GET = 1])
1635 gl_TIME_MODULE_INDICATOR([timespec_get])
1636 gl_FUNC_TZSET
1637 gl_CONDITIONAL([GL_COND_OBJ_TZSET], [test $REPLACE_TZSET = 1])
1638 gl_TIME_MODULE_INDICATOR([tzset])
1639 gl_UCHAR_H
1640 gl_UCHAR_H_REQUIRE_DEFAULTS
1641 AC_PROG_MKDIR_P
1642 gl_LIBUNISTRING_LIBHEADER([1.2], [unicase.h])
1643 gl_UNICASE_H
1644 gl_UNICASE_H_REQUIRE_DEFAULTS
1645 AC_PROG_MKDIR_P
1646 gl_LIBUNISTRING_MODULE([1.3], [unicase/tolower])
1647 gl_LIBUNISTRING_LIBHEADER([1.3], [unictype.h])
1648 gl_UNICTYPE_H
1649 gl_UNICTYPE_H_REQUIRE_DEFAULTS
1650 AC_PROG_MKDIR_P
1651 AC_REQUIRE([AC_C_INLINE])
1652 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-alnum])
1653 AC_REQUIRE([AC_C_INLINE])
1654 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-alpha])
1655 AC_REQUIRE([AC_C_INLINE])
1656 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-blank])
1657 AC_REQUIRE([AC_C_INLINE])
1658 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-cntrl])
1659 AC_REQUIRE([AC_C_INLINE])
1660 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-digit])
1661 AC_REQUIRE([AC_C_INLINE])
1662 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-graph])
1663 AC_REQUIRE([AC_C_INLINE])
1664 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-lower])
1665 AC_REQUIRE([AC_C_INLINE])
1666 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-print])
1667 AC_REQUIRE([AC_C_INLINE])
1668 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-punct])
1669 AC_REQUIRE([AC_C_INLINE])
1670 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-space])
1671 AC_REQUIRE([AC_C_INLINE])
1672 gl_LIBUNISTRING_MODULE([1.3], [unictype/ctype-upper])
1673 AC_REQUIRE([AC_C_INLINE])
1674 gl_LIBUNISTRING_MODULE([0.9.8], [unictype/ctype-xdigit])
1675 gl_LIBUNISTRING_LIBHEADER([1.2], [uninorm.h])
1676 gl_UNINORM_H
1677 gl_UNINORM_H_REQUIRE_DEFAULTS
1678 AC_PROG_MKDIR_P
1679 gl_UNISTD_H
1680 gl_UNISTD_H_REQUIRE_DEFAULTS
1681 AC_PROG_MKDIR_P
1682 gl_LIBUNISTRING_LIBHEADER([1.2], [unistr.h])
1683 AC_PROG_MKDIR_P
1684 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-chr])
1685 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-cpy])
1686 gl_LIBUNISTRING_MODULE([1.2], [unistr/u32-pcpy])
1687 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strcat])
1688 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-strlen])
1689 gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])
1690 AC_PROG_MKDIR_P
1691 AH_VERBATIM([unitypes_restrict], [
1692 /* This definition is a duplicate of the one in unitypes.h.
1693 It is here so that we can cope with an older version of unitypes.h
1694 that does not contain this definition and that is pre-installed among
1695 the public header files. */
1696 # if defined __restrict \
1697 || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
1698 || __clang_major__ >= 3
1699 # define _UC_RESTRICT __restrict
1700 # elif 199901L <= __STDC_VERSION__ || defined restrict
1701 # define _UC_RESTRICT restrict
1702 # else
1703 # define _UC_RESTRICT
1704 # endif
1705 ])
1706 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h])
1707 AC_PROG_MKDIR_P
1708 gl_LIBUNISTRING_MODULE([1.3], [uniwidth/width])
1709 AC_DEFINE([GNULIB_STDIO_SINGLE_THREAD], [1],
1710 [Define to 1 if you want the FILE stream functions getc, putc, etc.
1711 to use unlocked I/O if available, throughout the package.
1712 Unlocked I/O can improve performance, sometimes dramatically.
1713 But unlocked I/O is safe only in single-threaded programs,
1714 as well as in multithreaded programs for which you can guarantee that
1715 every FILE stream, including stdin, stdout, stderr, is used only
1716 in a single thread.])
1717 AC_DEFINE([USE_UNLOCKED_IO], [GNULIB_STDIO_SINGLE_THREAD],
1718 [An alias of GNULIB_STDIO_SINGLE_THREAD.])
1719 gl_FUNC_GLIBC_UNLOCKED_IO
1720 gl_FUNC_UNSETENV
1721 gl_CONDITIONAL([GL_COND_OBJ_UNSETENV],
1722 [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1])
1723 AM_COND_IF([GL_COND_OBJ_UNSETENV], [
1724 gl_PREREQ_UNSETENV
1725 ])
1726 gl_STDLIB_MODULE_INDICATOR([unsetenv])
1727 AC_C_VARARRAYS
1728 gl_VERSION_ETC
1729 gl_WCHAR_H
1730 gl_WCHAR_H_REQUIRE_DEFAULTS
1731 AC_PROG_MKDIR_P
1732 gl_FUNC_WCRTOMB
1733 gl_CONDITIONAL([GL_COND_OBJ_WCRTOMB],
1734 [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1])
1735 AM_COND_IF([GL_COND_OBJ_WCRTOMB], [
1736 gl_PREREQ_WCRTOMB
1737 ])
1738 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
1739 gl_FUNC_WCTYPE
1740 gl_CONDITIONAL([GL_COND_OBJ_WCTYPE], [test $HAVE_WCTYPE = 0 || test $REPLACE_WCTYPE = 1])
1741 gl_WCTYPE_MODULE_INDICATOR([wctype])
1742 gl_WCTYPE_H
1743 gl_WCTYPE_H_REQUIRE_DEFAULTS
1744 AC_PROG_MKDIR_P
1745 gl_FUNC_WCWIDTH
1746 gl_CONDITIONAL([GL_COND_OBJ_WCWIDTH],
1747 [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1])
1748 AM_COND_IF([GL_COND_OBJ_WCWIDTH], [
1749 gl_PREREQ_WCWIDTH
1750 ])
1751 gl_WCHAR_MODULE_INDICATOR([wcwidth])
1752 AC_REQUIRE([AC_CANONICAL_HOST])
1753 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_MUTEX],
1754 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
1755 AC_REQUIRE([AC_CANONICAL_HOST])
1756 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_ONCE],
1757 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
1758 AC_REQUIRE([AC_CANONICAL_HOST])
1759 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RECMUTEX],
1760 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
1761 AC_REQUIRE([AC_CANONICAL_HOST])
1762 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RWLOCK],
1763 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
1764 gl_FUNC_WMEMCHR
1765 gl_CONDITIONAL([GL_COND_OBJ_WMEMCHR], [test $HAVE_WMEMCHR = 0])
1766 gl_WCHAR_MODULE_INDICATOR([wmemchr])
1767 gl_FUNC_WMEMPCPY
1768 gl_CONDITIONAL([GL_COND_OBJ_WMEMPCPY],
1769 [test $HAVE_WMEMPCPY = 0 || test $REPLACE_WMEMPCPY = 1])
1770 gl_WCHAR_MODULE_INDICATOR([wmempcpy])
1771 gl_XALLOC
1772 gl_MODULE_INDICATOR([xalloc])
1773 gl_MODULE_INDICATOR([xalloc-die])
1774 gl_MODULE_INDICATOR([xstdopen])
1775 gl_XSTRTOL
1776 # End of code from modules
1777 m4_ifval(gl_LIBSOURCES_LIST, [
1778 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
1779 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
1780 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
1781 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
1782 exit 1
1783 fi
1784 done])dnl
1785 m4_if(m4_sysval, [0], [],
1786 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1787 ])
1788 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
1789 m4_popdef([GL_MACRO_PREFIX])
1790 m4_popdef([gl_LIBSOURCES_DIR])
1791 m4_popdef([gl_LIBSOURCES_LIST])
1792 m4_popdef([AC_LIBSOURCES])
1793 m4_popdef([AC_REPLACE_FUNCS])
1794 m4_popdef([AC_LIBOBJ])
1795 AC_CONFIG_COMMANDS_PRE([
1796 gl_libobjs=
1797 gl_ltlibobjs=
1798 gl_libobjdeps=
1799 gl_libdiffutils_libobjs=
1800 gl_libdiffutils_ltlibobjs=
1801 gl_libdiffutils_libobjdeps=
1802 if test -n "$gl_LIBOBJS"; then
1803 # Remove the extension.
1804 changequote(,)dnl
1805 sed_drop_objext='s/\.o$//;s/\.obj$//'
1806 sed_dirname1='s,//*,/,g'
1807 sed_dirname2='s,\(.\)/$,\1,'
1808 sed_dirname3='s,[^/]*$,,'
1809 sed_basename1='s,.*/,,'
1810 changequote([, ])dnl
1811 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1812 gl_libobjs="$gl_libobjs $i.$ac_objext"
1813 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
1814 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"`
1815 i_base=`echo "$i" | sed -e "$sed_basename1"`
1816 gl_libdiffutils_libobjs="$gl_libdiffutils_libobjs $i_dir""libdiffutils_a-$i_base.$ac_objext"
1817 gl_libdiffutils_ltlibobjs="$gl_libdiffutils_ltlibobjs $i_dir""libdiffutils_la-$i_base.lo"
1818 gl_libobjdeps="$gl_libobjdeps $i_dir\$(DEPDIR)/$i_base.Po"
1819 gl_libdiffutils_libobjdeps="$gl_libdiffutils_libobjdeps $i_dir\$(DEPDIR)/libdiffutils_a-$i_base.Po"
1820 done
1821 fi
1822 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
1823 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
1824 AC_SUBST([gl_LIBOBJDEPS], [$gl_libobjdeps])
1825 AC_SUBST([gl_libdiffutils_LIBOBJS], [$gl_libdiffutils_libobjs])
1826 AC_SUBST([gl_libdiffutils_LTLIBOBJS], [$gl_libdiffutils_ltlibobjs])
1827 AC_SUBST([gl_libdiffutils_LIBOBJDEPS], [$gl_libdiffutils_libobjdeps])
1828 ])
1829 gltests_libdeps=
1830 gltests_ltlibdeps=
1831 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
1832 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
1833 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
1834 m4_pushdef([gltests_LIBSOURCES_LIST], [])
1835 m4_pushdef([gltests_LIBSOURCES_DIR], [])
1836 m4_pushdef([GL_MACRO_PREFIX], [gltests])
1837 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
1838 gl_COMMON
1839 AC_REQUIRE([gl_CC_ALLOW_WARNINGS])
1840 AC_REQUIRE([gl_CXX_ALLOW_WARNINGS])
1841 gl_source_base='gnulib-tests'
1842 gl_source_base_prefix=
1843 changequote(,)dnl
1844 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
1845 changequote([, ])dnl
1846 AC_SUBST([gltests_WITNESS])
1847 gl_module_indicator_condition=$gltests_WITNESS
1848 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
1849 AC_REQUIRE([gl_SYS_SOCKET_H])
1850 gl_CONDITIONAL([GL_COND_OBJ_ACCEPT], [test "$ac_cv_header_winsock2_h" = yes])
1851 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
1852 gl_MODULE_INDICATOR([accept])
1853 gl_ALIGNASOF
1854 gl_ARPA_INET_H
1855 gl_ARPA_INET_H_REQUIRE_DEFAULTS
1856 AC_PROG_MKDIR_P
1857 gl_FUNC_ATOLL
1858 gl_CONDITIONAL([GL_COND_OBJ_ATOLL], [test $HAVE_ATOLL = 0])
1859 AM_COND_IF([GL_COND_OBJ_ATOLL], [
1860 gl_PREREQ_ATOLL
1861 ])
1862 gl_STDLIB_MODULE_INDICATOR([atoll])
1863 AC_REQUIRE([gl_SYS_SOCKET_H])
1864 gl_CONDITIONAL([GL_COND_OBJ_BIND], [test "$ac_cv_header_winsock2_h" = yes])
1865 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
1866 gl_MODULE_INDICATOR([bind])
1867 gt_LOCALE_EN_UTF8
1868 gt_LOCALE_FR
1869 gt_LOCALE_FR_UTF8
1870 gt_LOCALE_EN_UTF8
1871 gt_LOCALE_FR
1872 gt_LOCALE_FR_UTF8
1873 gt_LOCALE_FR
1874 gt_LOCALE_TR_UTF8
1875 gt_LOCALE_FR
1876 gt_LOCALE_TR_UTF8
1877 gt_LOCALE_EN_UTF8
1878 gt_LOCALE_FR
1879 gt_LOCALE_FR_UTF8
1880 gt_LOCALE_JA
1881 gt_LOCALE_ZH_CN
1882 gt_LOCALE_EN_UTF8
1883 gt_LOCALE_FR
1884 gt_LOCALE_FR_UTF8
1885 gt_LOCALE_JA
1886 gt_LOCALE_ZH_CN
1887 gl_MUSL_LIBC
1888 gt_LOCALE_EN_UTF8
1889 gt_LOCALE_FR
1890 gt_LOCALE_FR_UTF8
1891 gt_LOCALE_JA
1892 gt_LOCALE_ZH_CN
1893 gt_LOCALE_EN_UTF8
1894 gt_LOCALE_FR
1895 gt_LOCALE_FR_UTF8
1896 gt_LOCALE_JA
1897 gt_LOCALE_ZH_CN
1898 gl_MUSL_LIBC
1899 gt_LOCALE_EN_UTF8
1900 gt_LOCALE_FR
1901 gt_LOCALE_FR_UTF8
1902 gt_LOCALE_JA
1903 gt_LOCALE_ZH_CN
1904 gt_LOCALE_EN_UTF8
1905 gt_LOCALE_FR
1906 gt_LOCALE_FR_UTF8
1907 gt_LOCALE_JA
1908 gt_LOCALE_ZH_CN
1909 gl_MUSL_LIBC
1910 gt_LOCALE_EN_UTF8
1911 gt_LOCALE_FR
1912 gt_LOCALE_FR_UTF8
1913 gt_LOCALE_JA
1914 gt_LOCALE_ZH_CN
1915 gl_MUSL_LIBC
1916 gt_LOCALE_EN_UTF8
1917 gt_LOCALE_FR
1918 gt_LOCALE_FR_UTF8
1919 gt_LOCALE_JA
1920 gt_LOCALE_ZH_CN
1921 gl_MUSL_LIBC
1922 gt_LOCALE_EN_UTF8
1923 gt_LOCALE_FR
1924 gt_LOCALE_FR_UTF8
1925 gt_LOCALE_JA
1926 gt_LOCALE_ZH_CN
1927 gt_LOCALE_EN_UTF8
1928 gt_LOCALE_FR
1929 gt_LOCALE_FR_UTF8
1930 gt_LOCALE_JA
1931 gt_LOCALE_ZH_CN
1932 gt_LOCALE_EN_UTF8
1933 gt_LOCALE_FR
1934 gt_LOCALE_FR_UTF8
1935 gt_LOCALE_JA
1936 gt_LOCALE_ZH_CN
1937 gt_LOCALE_EN_UTF8
1938 gt_LOCALE_FR
1939 gt_LOCALE_FR_UTF8
1940 gt_LOCALE_JA
1941 gt_LOCALE_ZH_CN
1942 gl_FUNC_C32RTOMB
1943 gl_CONDITIONAL([GL_COND_OBJ_C32RTOMB],
1944 [test $HAVE_C32RTOMB = 0 || test $REPLACE_C32RTOMB = 1])
1945 gl_UCHAR_MODULE_INDICATOR([c32rtomb])
1946 gt_LOCALE_EN_UTF8
1947 gt_LOCALE_FR
1948 gt_LOCALE_FR_UTF8
1949 gt_LOCALE_JA
1950 gt_LOCALE_ZH_CN
1951 AC_REQUIRE([gl_MBRTOC32_SANITYCHECK])
1952 AC_REQUIRE([gl_C32RTOMB_SANITYCHECK])
1953 gl_UCHAR_MODULE_INDICATOR([c32tob])
1954 gt_LOCALE_EN_UTF8
1955 gt_LOCALE_FR
1956 gt_LOCALE_FR_UTF8
1957 gt_LOCALE_JA
1958 gt_LOCALE_ZH_CN
1959 AC_REQUIRE([gl_SYS_SOCKET_H])
1960 gl_CONDITIONAL([GL_COND_OBJ_CONNECT], [test "$ac_cv_header_winsock2_h" = yes])
1961 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
1962 gl_MODULE_INDICATOR([connect])
1963 gl_FUNC_FDOPEN
1964 gl_CONDITIONAL([GL_COND_OBJ_FDOPEN], [test $REPLACE_FDOPEN = 1])
1965 AM_COND_IF([GL_COND_OBJ_FDOPEN], [
1966 gl_PREREQ_FDOPEN
1967 ])
1968 gl_STDIO_MODULE_INDICATOR([fdopen])
1969 gl_FLOAT_H
1970 gl_CONDITIONAL_HEADER([float.h])
1971 AC_PROG_MKDIR_P
1972 gl_CONDITIONAL([GL_COND_OBJ_FLOAT],
1973 [test $REPLACE_FLOAT_LDBL = 1 || test $REPLACE_FLOAT_SNAN = 1])
1974 gl_CONDITIONAL([GL_COND_OBJ_ITOLD], [test $REPLACE_ITOLD = 1])
1975 dnl Prerequisites of lib/float.c.
1976 AC_REQUIRE([gl_BIGENDIAN])
1977 gt_LOCALE_EN_UTF8
1978 gt_LOCALE_FR
1979 gt_LOCALE_FR_UTF8
1980 gt_LOCALE_JA
1981 gt_LOCALE_ZH_CN
1982 gl_FUNC_FTRUNCATE
1983 gl_CONDITIONAL([GL_COND_OBJ_FTRUNCATE],
1984 [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1])
1985 AM_COND_IF([GL_COND_OBJ_FTRUNCATE], [
1986 gl_PREREQ_FTRUNCATE
1987 ])
1988 gl_UNISTD_MODULE_INDICATOR([ftruncate])
1989 gl_MUSL_LIBC
1990 dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2.
1991 gl_CHECK_FUNCS_ANDROID([duplocale], [[#include <locale.h>]])
1992 gl_FUNC_INET_PTON
1993 gl_CONDITIONAL([GL_COND_OBJ_INET_PTON],
1994 [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1])
1995 AM_COND_IF([GL_COND_OBJ_INET_PTON], [
1996 gl_PREREQ_INET_PTON
1997 ])
1998 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
1999 AC_C_BIGENDIAN
2000 gl_INTTOSTR
2001 gl_FUNC_IOCTL
2002 gl_CONDITIONAL([GL_COND_OBJ_IOCTL],
2003 [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1])
2004 gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
2005 gl_MODULE_INDICATOR([ioctl])
2006 gl_FUNC_ISNAND_NO_LIBM
2007 if test $gl_func_isnand_no_libm != yes; then
2008 AC_LIBOBJ([isnand])
2009 gl_PREREQ_ISNAND
2010 fi
2011 gl_FUNC_ISNANF_NO_LIBM
2012 if test $gl_func_isnanf_no_libm != yes; then
2013 AC_LIBOBJ([isnanf])
2014 gl_PREREQ_ISNANF
2015 fi
2016 gl_FUNC_ISNANL_NO_LIBM
2017 if test $gl_func_isnanl_no_libm != yes; then
2018 AC_LIBOBJ([isnanl])
2019 gl_PREREQ_ISNANL
2020 fi
2021 AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
2022 gt_LOCALE_EN_UTF8
2023 gt_LOCALE_FR
2024 gt_LOCALE_FR_UTF8
2025 gt_LOCALE_JA
2026 gt_LOCALE_ZH_CN
2027 gt_LOCALE_EN_UTF8
2028 gt_LOCALE_FR
2029 gt_LOCALE_FR_UTF8
2030 gt_LOCALE_JA
2031 gt_LOCALE_ZH_CN
2032 AC_REQUIRE([gl_SYS_SOCKET_H])
2033 gl_CONDITIONAL([GL_COND_OBJ_LISTEN], [test "$ac_cv_header_winsock2_h" = yes])
2034 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
2035 gl_MODULE_INDICATOR([listen])
2036 gl_WINDOWS_RC
2037 gl_CHECK_FUNCS_ANDROID([newlocale], [[#include <locale.h>]])
2038 gl_MATH_H
2039 gl_MATH_H_REQUIRE_DEFAULTS
2040 AC_PROG_MKDIR_P
2041 gt_LOCALE_EN_UTF8
2042 gt_LOCALE_FR
2043 gt_LOCALE_FR_UTF8
2044 gt_LOCALE_JA
2045 gt_LOCALE_ZH_CN
2046 gt_LOCALE_EN_UTF8
2047 gt_LOCALE_FR
2048 gt_LOCALE_FR_UTF8
2049 gt_LOCALE_JA
2050 gt_LOCALE_ZH_CN
2051 gl_WINDOWS_RC
2052 gt_LOCALE_TR_UTF8
2053 gt_LOCALE_EN_UTF8
2054 gt_LOCALE_FR_UTF8
2055 gt_LOCALE_EN_UTF8
2056 gt_LOCALE_FR
2057 gt_LOCALE_FR_UTF8
2058 gt_LOCALE_JA
2059 gt_LOCALE_ZH_CN
2060 gt_LOCALE_EN_UTF8
2061 gt_LOCALE_FR
2062 gt_LOCALE_FR_UTF8
2063 gt_LOCALE_JA
2064 gt_LOCALE_ZH_CN
2065 gt_LOCALE_EN_UTF8
2066 gt_LOCALE_FR
2067 gt_LOCALE_FR_UTF8
2068 gt_LOCALE_JA
2069 gt_LOCALE_ZH_CN
2070 dnl Check for prerequisites for memory fence checks.
2071 gl_FUNC_MMAP_ANON
2072 AC_CHECK_HEADERS_ONCE([sys/mman.h])
2073 AC_CHECK_FUNCS_ONCE([mprotect])
2074 gl_FUNC_MMAP_ANON
2075 AC_CHECK_HEADERS_ONCE([sys/mman.h])
2076 AC_CHECK_FUNCS_ONCE([mprotect])
2077 gl_FUNC_NANOSLEEP
2078 gl_CONDITIONAL([GL_COND_OBJ_NANOSLEEP],
2079 [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1])
2080 gl_TIME_MODULE_INDICATOR([nanosleep])
2081 AC_CHECK_DECLS_ONCE([alarm])
2082 gl_HEADER_NETINET_IN
2083 gl_CONDITIONAL_HEADER([netinet/in.h])
2084 AC_PROG_MKDIR_P
2085 gt_LOCALE_FR
2086 gt_LOCALE_FR_UTF8
2087 gt_FUNC_USELOCALE
2088 gl_MUSL_LIBC
2089 gt_LOCALE_FR
2090 gt_LOCALE_FR_UTF8
2091 gl_MUSL_LIBC
2092 gl_FUNC_PERROR
2093 gl_CONDITIONAL([GL_COND_OBJ_PERROR], [test $REPLACE_PERROR = 1])
2094 gl_STRING_MODULE_INDICATOR([perror])
2095 gl_FUNC_PIPE
2096 gl_CONDITIONAL([GL_COND_OBJ_PIPE], [test $HAVE_PIPE = 0])
2097 gl_UNISTD_MODULE_INDICATOR([pipe])
2098 gl_PRIV_SET
2099 gl_FUNC_PSELECT
2100 gl_CONDITIONAL([GL_COND_OBJ_PSELECT],
2101 [test $HAVE_PSELECT = 0 || test $REPLACE_PSELECT = 1])
2102 gl_SYS_SELECT_MODULE_INDICATOR([pselect])
2103 AC_CHECK_HEADERS_ONCE([sys/wait.h])
2104 gl_PTHREAD_COND
2105 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_COND],
2106 [test $HAVE_PTHREAD_COND_INIT = 0 || test $REPLACE_PTHREAD_COND_INIT = 1])
2107 gl_PTHREAD_MODULE_INDICATOR([pthread-cond])
2108 AC_CHECK_DECLS_ONCE([alarm])
2109 gl_PTHREAD_MUTEX
2110 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_MUTEX],
2111 [test $HAVE_PTHREAD_MUTEX_INIT = 0 || test $REPLACE_PTHREAD_MUTEX_INIT = 1 || test $HAVE_PTHREAD_MUTEXATTR_GETROBUST = 0 || test $REPLACE_PTHREAD_MUTEXATTR_GETROBUST = 1])
2112 gl_PTHREAD_MODULE_INDICATOR([pthread-mutex])
2113 AC_CHECK_HEADERS_ONCE([semaphore.h])
2114 AC_CHECK_DECLS_ONCE([alarm])
2115 AC_REQUIRE([gl_SEMAPHORE])
2116 AC_CHECK_DECLS_ONCE([alarm])
2117 gl_PTHREAD_RWLOCK
2118 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_RWLOCK],
2119 [test $REPLACE_PTHREAD_RWLOCK_INIT = 1 || test $HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK = 0 || test $REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK = 1])
2120 gl_PTHREAD_MODULE_INDICATOR([pthread-rwlock])
2121 AC_CHECK_HEADERS_ONCE([semaphore.h])
2122 AC_CHECK_DECLS_ONCE([alarm])
2123 AC_REQUIRE([gl_SEMAPHORE])
2124 gl_PTHREAD_THREAD
2125 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_THREAD],
2126 [test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1])
2127 gl_PTHREAD_MODULE_INDICATOR([pthread-thread])
2128 gl_FUNC_PTHREAD_MUTEX_TIMEDLOCK
2129 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_MUTEX_TIMEDLOCK],
2130 [test $HAVE_PTHREAD_T = 1 && test $HAVE_PTHREAD_MUTEX_TIMEDLOCK = 0])
2131 gl_PTHREAD_MODULE_INDICATOR([pthread_mutex_timedlock])
2132 gl_FUNC_PTHREAD_SIGMASK
2133 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_SIGMASK],
2134 [test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1])
2135 AM_COND_IF([GL_COND_OBJ_PTHREAD_SIGMASK], [
2136 gl_PREREQ_PTHREAD_SIGMASK
2137 ])
2138 gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])
2139 gl_FUNC_PUTENV
2140 gl_CONDITIONAL([GL_COND_OBJ_PUTENV], [test $REPLACE_PUTENV = 1])
2141 AM_COND_IF([GL_COND_OBJ_PUTENV], [
2142 gl_PREREQ_PUTENV
2143 ])
2144 gl_STDLIB_MODULE_INDICATOR([putenv])
2145 dnl Check for prerequisites for memory fence checks.
2146 dnl FIXME: zerosize-ptr.h requires these: make a module for it
2147 gl_FUNC_MMAP_ANON
2148 AC_CHECK_HEADERS_ONCE([sys/mman.h])
2149 AC_CHECK_FUNCS_ONCE([mprotect])
2150 gl_FUNC_RANDOM
2151 gl_CONDITIONAL([GL_COND_OBJ_RANDOM],
2152 [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1])
2153 AM_COND_IF([GL_COND_OBJ_RANDOM], [
2154 gl_PREREQ_RANDOM
2155 ])
2156 gl_STDLIB_MODULE_INDICATOR([random])
2157 gl_FUNC_RANDOM_R
2158 gl_CONDITIONAL([GL_COND_OBJ_RANDOM_R],
2159 [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1])
2160 AM_COND_IF([GL_COND_OBJ_RANDOM_R], [
2161 gl_PREREQ_RANDOM_R
2162 ])
2163 gl_STDLIB_MODULE_INDICATOR([random_r])
2164 dnl Check for prerequisites for memory fence checks.
2165 gl_FUNC_MMAP_ANON
2166 AC_CHECK_HEADERS_ONCE([sys/mman.h])
2167 AC_CHECK_FUNCS_ONCE([mprotect])
2168 AC_CHECK_DECLS_ONCE([alarm])
2169 gl_FUNC_RMDIR
2170 gl_CONDITIONAL([GL_COND_OBJ_RMDIR], [test $REPLACE_RMDIR = 1])
2171 gl_UNISTD_MODULE_INDICATOR([rmdir])
2172 gl_FUNC_SCHED_YIELD
2173 gl_CONDITIONAL([GL_COND_OBJ_SCHED_YIELD],
2174 [test $HAVE_SCHED_YIELD = 0 || test $REPLACE_SCHED_YIELD = 1])
2175 gl_SCHED_MODULE_INDICATOR([sched_yield])
2176 gl_FUNC_SELECT
2177 gl_CONDITIONAL([GL_COND_OBJ_SELECT], [test $REPLACE_SELECT = 1])
2178 gl_SYS_SELECT_MODULE_INDICATOR([select])
2179 gl_MODULE_INDICATOR([select])
2180 AC_CHECK_HEADERS_ONCE([sys/wait.h])
2181 AC_REQUIRE([gl_SYS_SOCKET_H])
2182 gl_CONDITIONAL([GL_COND_OBJ_SETSOCKOPT],
2183 [test "$ac_cv_header_winsock2_h" = yes])
2184 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
2185 gl_MODULE_INDICATOR([setsockopt])
2186 gl_SIGNBIT
2187 gl_CONDITIONAL([GL_COND_OBJ_SIGNBIT3], [test $REPLACE_SIGNBIT = 1])
2188 gl_MATH_MODULE_INDICATOR([signbit])
2189 AC_CHECK_FUNCS_ONCE([setrlimit])
2190 gl_FUNC_MMAP_ANON
2191 gl_SIZE_MAX
2192 gl_FUNC_SLEEP
2193 gl_CONDITIONAL([GL_COND_OBJ_SLEEP],
2194 [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1])
2195 gl_UNISTD_MODULE_INDICATOR([sleep])
2196 AC_CHECK_DECLS_ONCE([alarm])
2197 gl_SNAN
2198 gl_NAN_MIPS
2199 gl_FUNC_SNPRINTF
2200 gl_STDIO_MODULE_INDICATOR([snprintf])
2201 gl_MODULE_INDICATOR([snprintf])
2202 AC_REQUIRE([gl_SYS_SOCKET_H])
2203 gl_CONDITIONAL([GL_COND_OBJ_SOCKET], [test "$ac_cv_header_winsock2_h" = yes])
2204 # When this module is used, sockets may actually occur as file descriptors,
2205 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
2206 m4_ifdef([gl_UNISTD_H_DEFAULTS], [gl_UNISTD_H_REQUIRE_DEFAULTS])
2207 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [gl_SYS_IOCTL_H_REQUIRE_DEFAULTS])
2208 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
2209 if test "$ac_cv_header_winsock2_h" = yes; then
2210 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
2211 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
2212 fi
2213 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
2214 gl_MODULE_INDICATOR([socket])
2215 AC_REQUIRE([gl_SOCKETLIB])
2216 AC_REQUIRE([gl_SOCKETS])
2217 gl_TYPE_SOCKLEN_T
2218 AC_REQUIRE([gt_TYPE_WINT_T])
2219 gl_DOUBLE_EXPONENT_LOCATION
2220 gl_STRING_MODULE_INDICATOR([str_startswith])
2221 gt_LOCALE_FR
2222 gl_FUNC_STRERROR_R
2223 AS_IF([test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1], [
2224 AC_LIBOBJ([strerror_r])
2225 gl_PREREQ_STRERROR_R
2226 ])
2227 gl_STRING_MODULE_INDICATOR([strerror_r])
2228 dnl For the modules argp, error, xstrerror.
2229 gl_MODULE_INDICATOR([strerror_r-posix])
2230 gt_LOCALE_FR
2231 dnl Check for prerequisites for memory fence checks.
2232 gl_FUNC_MMAP_ANON
2233 AC_CHECK_HEADERS_ONCE([sys/mman.h])
2234 AC_CHECK_FUNCS_ONCE([mprotect])
2235 gl_FUNC_SYMLINK
2236 gl_CONDITIONAL([GL_COND_OBJ_SYMLINK],
2237 [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1])
2238 gl_UNISTD_MODULE_INDICATOR([symlink])
2239 gl_FUNC_SYMLINKAT
2240 gl_CONDITIONAL([GL_COND_OBJ_SYMLINKAT],
2241 [test $HAVE_SYMLINKAT = 0 || test $REPLACE_SYMLINKAT = 1])
2242 gl_UNISTD_MODULE_INDICATOR([symlinkat])
2243 gl_SYS_IOCTL_H
2244 gl_SYS_IOCTL_H_REQUIRE_DEFAULTS
2245 AC_PROG_MKDIR_P
2246 gl_SYS_SELECT_H
2247 gl_SYS_SELECT_H_REQUIRE_DEFAULTS
2248 AC_PROG_MKDIR_P
2249 gl_SYS_SOCKET_H
2250 gl_SYS_SOCKET_H_REQUIRE_DEFAULTS
2251 AC_PROG_MKDIR_P
2252 AC_CHECK_FUNCS_ONCE([shutdown])
2253 gl_SOCKET_FAMILIES
2254 gl_SOCKET_FAMILY_UNIX
2255 gl_SYS_UIO_H
2256 gl_SYS_UIO_H_REQUIRE_DEFAULTS
2257 AC_PROG_MKDIR_P
2258 gl_MUSL_LIBC
2259 gl_CONDITIONAL([LIBC_IS_GNU],
2260 [case "$host_os" in *-gnu* | gnu*) true ;; *) false ;; esac])
2261 gl_CONDITIONAL([LIBC_IS_MUSL],
2262 [case "$host_os" in *-musl* | midipix*) true ;; *) false ;; esac])
2263 gl_CONDITIONAL([OS_IS_MACOS],
2264 [case "$host_os" in darwin*) true ;; *) false ;; esac])
2265 gl_CONDITIONAL([OS_IS_MACOS11],
2266 [case "$host_os" in darwin20.*) true ;; *) false ;; esac])
2267 gl_CONDITIONAL([OS_IS_MACOS12],
2268 [case "$host_os" in darwin21.*) true ;; *) false ;; esac])
2269 gl_CONDITIONAL([OS_IS_MACOS13],
2270 [case "$host_os" in darwin22.*) true ;; *) false ;; esac])
2271 gl_CONDITIONAL([OS_IS_MACOS14],
2272 [case "$host_os" in darwin23.*) true ;; *) false ;; esac])
2273 gl_CONDITIONAL([OS_IS_FREEBSD],
2274 [case "$host_os" in freebsd* | dragonfly*) true ;; *) false ;; esac])
2275 gl_CONDITIONAL([OS_IS_NETBSD],
2276 [case "$host_os" in netbsd*) true ;; *) false ;; esac])
2277 gl_CONDITIONAL([OS_IS_OPENBSD],
2278 [case "$host_os" in openbsd*) true ;; *) false ;; esac])
2279 gl_CONDITIONAL([OS_IS_AIX],
2280 [case "$host_os" in aix*) true ;; *) false ;; esac])
2281 gl_CONDITIONAL([OS_IS_SOLARIS11],
2282 [case "$host_os" in solaris2.11*) true ;; *) false ;; esac])
2283 gl_CONDITIONAL([OS_IS_CYGWIN],
2284 [case "$host_os" in cygwin*) true ;; *) false ;; esac])
2285 gl_CONDITIONAL([OS_IS_NATIVE_WINDOWS],
2286 [case "$host_os" in mingw* | windows*) true ;; *) false ;; esac])
2287 is_mingw=false; is_msvc=false
2288 case "$host_os" in
2289 windows*-msvc*) is_msvc=true ;;
2290 mingw* | windows*)
2291 AC_EGREP_CPP([Special], [
2292 #ifdef _MSC_VER
2293 Special
2294 #endif
2295 ], [is_msvc=true], [is_mingw=true])
2296 ;;
2297 esac
2298 gl_CONDITIONAL([PLATFORM_IS_MINGW], [$is_mingw])
2299 gl_CONDITIONAL([PLATFORM_IS_MSVC], [$is_msvc])
2300 gl_CONDITIONAL([OS_IS_HAIKU],
2301 [case "$host_os" in haiku*) true ;; *) false ;; esac])
2302 gl_CONDITIONAL([OS_IS_ANDROID],
2303 [case "$host_os" in linux-androideabi*) true ;; *) false ;; esac])
2304 gl_THREAD
2305 gl_FUNC_TIME
2306 gl_CONDITIONAL([GL_COND_OBJ_TIME], [test $REPLACE_TIME = 1])
2307 AM_COND_IF([GL_COND_OBJ_TIME], [
2308 gl_PREREQ_TIME
2309 ])
2310 gl_TIME_MODULE_INDICATOR([time])
2311 gl_TM_GMTOFF
2312 gl_FUNC_MMAP_ANON
2313 AC_CHECK_HEADERS_ONCE([sys/mman.h])
2314 AC_CHECK_FUNCS_ONCE([mprotect])
2315 gl_LIBUNISTRING_MODULE([0.9], [unistr/u32-set])
2316 gl_FUNC_UNLINK
2317 gl_CONDITIONAL([GL_COND_OBJ_UNLINK], [test $REPLACE_UNLINK = 1])
2318 gl_UNISTD_MODULE_INDICATOR([unlink])
2319 gl_FUNC_UNLINKAT
2320 gl_CONDITIONAL([GL_COND_OBJ_UNLINKAT],
2321 [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1])
2322 gl_UNISTD_MODULE_INDICATOR([unlinkat])
2323 gl_UNLINKDIR
2324 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
2325 AC_SUBST([abs_aux_dir])
2326 AC_REQUIRE([AC_C_RESTRICT])
2327 gl_FUNC_VASNPRINTF
2328 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
2329 AC_SUBST([abs_aux_dir])
2330 gl_STDIO_MODULE_INDICATOR([vsnzprintf])
2331 gt_LOCALE_EN_UTF8
2332 gt_LOCALE_FR
2333 gt_LOCALE_FR_UTF8
2334 gt_LOCALE_JA
2335 gt_LOCALE_ZH_CN
2336 gl_FUNC_WCTOB
2337 gl_CONDITIONAL([GL_COND_OBJ_WCTOB],
2338 [test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1])
2339 AM_COND_IF([GL_COND_OBJ_WCTOB], [
2340 gl_PREREQ_WCTOB
2341 ])
2342 gl_WCHAR_MODULE_INDICATOR([wctob])
2343 gl_FUNC_WCTOMB
2344 gl_CONDITIONAL([GL_COND_OBJ_WCTOMB], [test $REPLACE_WCTOMB = 1])
2345 AM_COND_IF([GL_COND_OBJ_WCTOMB], [
2346 gl_PREREQ_WCTOMB
2347 ])
2348 gl_STDLIB_MODULE_INDICATOR([wctomb])
2349 AC_REQUIRE([AC_CANONICAL_HOST])
2350 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_COND],
2351 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
2352 AC_REQUIRE([AC_CANONICAL_HOST])
2353 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_THREAD],
2354 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
2355 AC_REQUIRE([AC_CANONICAL_HOST])
2356 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TIMEDMUTEX],
2357 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
2358 AC_REQUIRE([AC_CANONICAL_HOST])
2359 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TIMEDRECMUTEX],
2360 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
2361 AC_REQUIRE([AC_CANONICAL_HOST])
2362 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TIMEDRWLOCK],
2363 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
2364 AC_REQUIRE([AC_CANONICAL_HOST])
2365 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TLS],
2366 [case "$host_os" in mingw* | windows*) true;; *) false;; esac])
2367 gl_XGETCWD
2368 gl_XSIZE
2369 AC_REQUIRE([gl_YIELD])
2370 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
2371 m4_ifval(gltests_LIBSOURCES_LIST, [
2372 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
2373 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
2374 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
2375 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
2376 exit 1
2377 fi
2378 done])dnl
2379 m4_if(m4_sysval, [0], [],
2380 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
2381 ])
2382 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
2383 m4_popdef([GL_MACRO_PREFIX])
2384 m4_popdef([gltests_LIBSOURCES_DIR])
2385 m4_popdef([gltests_LIBSOURCES_LIST])
2386 m4_popdef([AC_LIBSOURCES])
2387 m4_popdef([AC_REPLACE_FUNCS])
2388 m4_popdef([AC_LIBOBJ])
2389 AC_CONFIG_COMMANDS_PRE([
2390 gltests_libobjs=
2391 gltests_ltlibobjs=
2392 gltests_libobjdeps=
2393 gltests_libdiffutils_libobjs=
2394 gltests_libdiffutils_ltlibobjs=
2395 gltests_libdiffutils_libobjdeps=
2396 if test -n "$gltests_LIBOBJS"; then
2397 # Remove the extension.
2398 changequote(,)dnl
2399 sed_drop_objext='s/\.o$//;s/\.obj$//'
2400 sed_dirname1='s,//*,/,g'
2401 sed_dirname2='s,\(.\)/$,\1,'
2402 sed_dirname3='s,[^/]*$,,'
2403 sed_basename1='s,.*/,,'
2404 changequote([, ])dnl
2405 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
2406 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
2407 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
2408 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3"`
2409 i_base=`echo "$i" | sed -e "$sed_basename1"`
2410 gltests_libdiffutils_libobjs="$gltests_libdiffutils_libobjs $i_dir""libdiffutils_a-$i_base.$ac_objext"
2411 gltests_libdiffutils_ltlibobjs="$gltests_libdiffutils_ltlibobjs $i_dir""libdiffutils_la-$i_base.lo"
2412 gltests_libobjdeps="$gltests_libobjdeps $i_dir\$(DEPDIR)/$i_base.Po"
2413 gltests_libdiffutils_libobjdeps="$gltests_libdiffutils_libobjdeps $i_dir\$(DEPDIR)/libdiffutils_a-$i_base.Po"
2414 done
2415 fi
2416 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
2417 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
2418 AC_SUBST([gltests_LIBOBJDEPS], [$gltests_libobjdeps])
2419 AC_SUBST([gltests_libdiffutils_LIBOBJS], [$gltests_libdiffutils_libobjs])
2420 AC_SUBST([gltests_libdiffutils_LTLIBOBJS], [$gltests_libdiffutils_ltlibobjs])
2421 AC_SUBST([gltests_libdiffutils_LIBOBJDEPS], [$gltests_libdiffutils_libobjdeps])
2422 ])
2423 AC_REQUIRE([gl_CC_GNULIB_WARNINGS])
2424 LIBDIFFUTILS_LIBDEPS="$gl_libdeps"
2425 AC_SUBST([LIBDIFFUTILS_LIBDEPS])
2426 LIBDIFFUTILS_LTLIBDEPS="$gl_ltlibdeps"
2427 AC_SUBST([LIBDIFFUTILS_LTLIBDEPS])
2428 LIBTESTS_LIBDEPS="$gltests_libdeps"
2429 AC_SUBST([LIBTESTS_LIBDEPS])
2430 ])
2431
2432 # Like AC_LIBOBJ, except that the module name goes
2433 # into gl_LIBOBJS instead of into LIBOBJS.
2434 AC_DEFUN([gl_LIBOBJ], [
2435 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
2436 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
2437 ])
2438
2439 # Like AC_REPLACE_FUNCS, except that the module name goes
2440 # into gl_LIBOBJS instead of into LIBOBJS.
2441 AC_DEFUN([gl_REPLACE_FUNCS], [
2442 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
2443 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
2444 ])
2445
2446 # Like AC_LIBSOURCES, except the directory where the source file is
2447 # expected is derived from the gnulib-tool parameterization,
2448 # and alloca is special cased (for the alloca-opt module).
2449 # We could also entirely rely on EXTRA_lib..._SOURCES.
2450 AC_DEFUN([gl_LIBSOURCES], [
2451 m4_foreach([_gl_NAME], [$1], [
2452 m4_if(_gl_NAME, [alloca.c], [], [
2453 m4_define([gl_LIBSOURCES_DIR], [lib])
2454 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
2455 ])
2456 ])
2457 ])
2458
2459 # Like AC_LIBOBJ, except that the module name goes
2460 # into gltests_LIBOBJS instead of into LIBOBJS.
2461 AC_DEFUN([gltests_LIBOBJ], [
2462 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
2463 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
2464 ])
2465
2466 # Like AC_REPLACE_FUNCS, except that the module name goes
2467 # into gltests_LIBOBJS instead of into LIBOBJS.
2468 AC_DEFUN([gltests_REPLACE_FUNCS], [
2469 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
2470 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
2471 ])
2472
2473 # Like AC_LIBSOURCES, except the directory where the source file is
2474 # expected is derived from the gnulib-tool parameterization,
2475 # and alloca is special cased (for the alloca-opt module).
2476 # We could also entirely rely on EXTRA_lib..._SOURCES.
2477 AC_DEFUN([gltests_LIBSOURCES], [
2478 m4_foreach([_gl_NAME], [$1], [
2479 m4_if(_gl_NAME, [alloca.c], [], [
2480 m4_define([gltests_LIBSOURCES_DIR], [gnulib-tests])
2481 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
2482 ])
2483 ])
2484 ])
2485
2486 # This macro records the list of files which have been installed by
2487 # gnulib-tool and may be removed by future gnulib-tool invocations.
2488 AC_DEFUN([gl_FILE_LIST], [
2489 build-aux/announce-gen
2490 build-aux/config.rpath
2491 build-aux/do-release-commit-and-tag
2492 build-aux/gendocs.sh
2493 build-aux/git-version-gen
2494 build-aux/gitlog-to-changelog
2495 build-aux/gnu-web-doc-update
2496 build-aux/gnupload
2497 build-aux/update-copyright
2498 build-aux/useless-if-before-free
2499 build-aux/vc-list-files
2500 doc/gendocs_template
2501 doc/gendocs_template_min
2502 lib/_Noreturn.h
2503 lib/alloca.in.h
2504 lib/allocator.c
2505 lib/allocator.h
2506 lib/arg-nonnull.h
2507 lib/argmatch.c
2508 lib/argmatch.h
2509 lib/assert.in.h
2510 lib/assure.h
2511 lib/at-func.c
2512 lib/attribute.h
2513 lib/basename-lgpl.c
2514 lib/basename-lgpl.h
2515 lib/basename.c
2516 lib/binary-io.c
2517 lib/binary-io.h
2518 lib/bitrotate.c
2519 lib/bitrotate.h
2520 lib/btoc32.c
2521 lib/btowc.c
2522 lib/c++defs.h
2523 lib/c-ctype.c
2524 lib/c-ctype.h
2525 lib/c-file-type.c
2526 lib/c-stack.c
2527 lib/c-stack.h
2528 lib/c-strcase.h
2529 lib/c-strcasecmp.c
2530 lib/c-strcaseeq.h
2531 lib/c32_apply_type_test.c
2532 lib/c32_get_type_test.c
2533 lib/c32is-impl.h
2534 lib/c32isalnum.c
2535 lib/c32isalpha.c
2536 lib/c32isblank.c
2537 lib/c32iscntrl.c
2538 lib/c32isdigit.c
2539 lib/c32isgraph.c
2540 lib/c32islower.c
2541 lib/c32isprint.c
2542 lib/c32ispunct.c
2543 lib/c32isspace.c
2544 lib/c32isupper.c
2545 lib/c32isxdigit.c
2546 lib/c32to-impl.h
2547 lib/c32tolower.c
2548 lib/c32width.c
2549 lib/calloc.c
2550 lib/careadlinkat.c
2551 lib/careadlinkat.h
2552 lib/cdefs.h
2553 lib/chdir-long.c
2554 lib/chdir-long.h
2555 lib/cloexec.c
2556 lib/cloexec.h
2557 lib/close.c
2558 lib/closedir.c
2559 lib/ctype.in.h
2560 lib/diffseq.h
2561 lib/dirent-private.h
2562 lib/dirent.in.h
2563 lib/dirfd.c
2564 lib/dirname-lgpl.c
2565 lib/dirname.c
2566 lib/dirname.h
2567 lib/dup.c
2568 lib/dup2.c
2569 lib/dynarray.h
2570 lib/errno.in.h
2571 lib/error.c
2572 lib/error.in.h
2573 lib/exclude.c
2574 lib/exclude.h
2575 lib/exitfail.c
2576 lib/exitfail.h
2577 lib/fchdir.c
2578 lib/fcntl.c
2579 lib/fcntl.in.h
2580 lib/fd-hook.c
2581 lib/fd-hook.h
2582 lib/fdopendir.c
2583 lib/file-type.h
2584 lib/fileblocks.c
2585 lib/filename.h
2586 lib/filenamecat-lgpl.c
2587 lib/filenamecat.c
2588 lib/filenamecat.h
2589 lib/flexmember.h
2590 lib/fnmatch.c
2591 lib/fnmatch.in.h
2592 lib/fnmatch_loop.c
2593 lib/fopen.c
2594 lib/free.c
2595 lib/freopen.c
2596 lib/fstat.c
2597 lib/fstatat.c
2598 lib/getcwd-lgpl.c
2599 lib/getdtablesize.c
2600 lib/getlocalename_l-unsafe.c
2601 lib/getlocalename_l-unsafe.h
2602 lib/getopt-cdefs.in.h
2603 lib/getopt-core.h
2604 lib/getopt-ext.h
2605 lib/getopt-pfx-core.h
2606 lib/getopt-pfx-ext.h
2607 lib/getopt.c
2608 lib/getopt.in.h
2609 lib/getopt1.c
2610 lib/getopt_int.h
2611 lib/getpagesize.c
2612 lib/getprogname.c
2613 lib/getprogname.h
2614 lib/getrandom.c
2615 lib/gettext.h
2616 lib/gettime.c
2617 lib/gettimeofday.c
2618 lib/glthread/lock.c
2619 lib/glthread/lock.h
2620 lib/glthread/once.c
2621 lib/glthread/once.h
2622 lib/glthread/threadlib.c
2623 lib/hard-locale.c
2624 lib/hard-locale.h
2625 lib/hash.c
2626 lib/hash.h
2627 lib/ialloc.c
2628 lib/ialloc.h
2629 lib/idx.h
2630 lib/ignore-value.h
2631 lib/intprops-internal.h
2632 lib/intprops.h
2633 lib/inttypes.in.h
2634 lib/isblank.c
2635 lib/iswblank.c
2636 lib/iswctype-impl.h
2637 lib/iswctype.c
2638 lib/iswdigit.c
2639 lib/iswpunct.c
2640 lib/iswxdigit.c
2641 lib/langinfo.in.h
2642 lib/lc-charset-dispatch.c
2643 lib/lc-charset-dispatch.h
2644 lib/libc-config.h
2645 lib/limits.in.h
2646 lib/localcharset.c
2647 lib/localcharset.h
2648 lib/locale.in.h
2649 lib/localeconv.c
2650 lib/localename-unsafe.c
2651 lib/localename.h
2652 lib/lstat.c
2653 lib/malloc.c
2654 lib/malloc/dynarray-skeleton.c
2655 lib/malloc/dynarray.h
2656 lib/malloc/dynarray_at_failure.c
2657 lib/malloc/dynarray_emplace_enlarge.c
2658 lib/malloc/dynarray_finalize.c
2659 lib/malloc/dynarray_resize.c
2660 lib/malloc/dynarray_resize_clear.c
2661 lib/malloca.c
2662 lib/malloca.h
2663 lib/mbrtoc32.c
2664 lib/mbrtowc-impl-utf8.h
2665 lib/mbrtowc-impl.h
2666 lib/mbrtowc.c
2667 lib/mbscasecmp.c
2668 lib/mbsinit.c
2669 lib/mbsrtoc32s-state.c
2670 lib/mbsrtoc32s.c
2671 lib/mbsrtowcs-impl.h
2672 lib/mbsrtowcs-state.c
2673 lib/mbsrtowcs.c
2674 lib/mbszero.c
2675 lib/mbtowc-impl.h
2676 lib/mbtowc-lock.c
2677 lib/mbtowc-lock.h
2678 lib/mbtowc.c
2679 lib/mcel.c
2680 lib/mcel.h
2681 lib/memchr.c
2682 lib/memchr.valgrind
2683 lib/mempcpy.c
2684 lib/memrchr.c
2685 lib/minmax.h
2686 lib/mkdir.c
2687 lib/mkstemp.c
2688 lib/mktime-internal.h
2689 lib/mktime.c
2690 lib/msvc-inval.c
2691 lib/msvc-inval.h
2692 lib/msvc-nothrow.c
2693 lib/msvc-nothrow.h
2694 lib/nl_langinfo-lock.c
2695 lib/nl_langinfo.c
2696 lib/nstrftime.c
2697 lib/open.c
2698 lib/openat-die.c
2699 lib/openat-priv.h
2700 lib/openat-proc.c
2701 lib/openat.c
2702 lib/openat.h
2703 lib/opendir.c
2704 lib/pathmax.h
2705 lib/pclose.c
2706 lib/popen.c
2707 lib/progname.c
2708 lib/progname.h
2709 lib/propername-lite.c
2710 lib/propername.h
2711 lib/pthread-once.c
2712 lib/pthread.in.h
2713 lib/quote.h
2714 lib/quotearg.c
2715 lib/quotearg.h
2716 lib/raise.c
2717 lib/rawmemchr.c
2718 lib/rawmemchr.valgrind
2719 lib/readdir.c
2720 lib/readlink.c
2721 lib/readlinkat.c
2722 lib/realloc.c
2723 lib/reallocarray.c
2724 lib/regcomp.c
2725 lib/regex.c
2726 lib/regex.h
2727 lib/regex_internal.c
2728 lib/regex_internal.h
2729 lib/regexec.c
2730 lib/same-inode.c
2731 lib/same-inode.h
2732 lib/save-cwd.c
2733 lib/save-cwd.h
2734 lib/sched.in.h
2735 lib/setenv.c
2736 lib/setlocale-lock.c
2737 lib/setlocale_null-unlocked.c
2738 lib/setlocale_null.c
2739 lib/setlocale_null.h
2740 lib/sh-quote.c
2741 lib/sh-quote.h
2742 lib/sig-handler.c
2743 lib/sig-handler.h
2744 lib/sigaction.c
2745 lib/signal.in.h
2746 lib/sigprocmask.c
2747 lib/sigsegv.c
2748 lib/sigsegv.in.h
2749 lib/stackvma.c
2750 lib/stackvma.h
2751 lib/stat-macros.h
2752 lib/stat-size.h
2753 lib/stat-time.c
2754 lib/stat-time.h
2755 lib/stat-w32.c
2756 lib/stat-w32.h
2757 lib/stat.c
2758 lib/stdarg.in.h
2759 lib/stdbit.c
2760 lib/stdbit.in.h
2761 lib/stdc_bit_width.c
2762 lib/stdc_leading_zeros.c
2763 lib/stdckdint.in.h
2764 lib/stddef.in.h
2765 lib/stdint.in.h
2766 lib/stdio-read.c
2767 lib/stdio-write.c
2768 lib/stdio.in.h
2769 lib/stdlib.c
2770 lib/stdlib.in.h
2771 lib/stdopen.c
2772 lib/stdopen.h
2773 lib/stpcpy.c
2774 lib/strcasecmp.c
2775 lib/strdup.c
2776 lib/streq.h
2777 lib/strerror-override.c
2778 lib/strerror-override.h
2779 lib/strerror.c
2780 lib/strftime.c
2781 lib/strftime.h
2782 lib/string.in.h
2783 lib/strings.in.h
2784 lib/stripslash.c
2785 lib/strncasecmp.c
2786 lib/strnlen.c
2787 lib/strnlen1.c
2788 lib/strnlen1.h
2789 lib/strptime.c
2790 lib/strtoimax.c
2791 lib/strtol.c
2792 lib/strtoll.c
2793 lib/sys_random.in.h
2794 lib/sys_stat.in.h
2795 lib/sys_time.in.h
2796 lib/sys_types.in.h
2797 lib/sys_wait.in.h
2798 lib/system-quote.c
2799 lib/system-quote.h
2800 lib/tempname.c
2801 lib/tempname.h
2802 lib/time-internal.h
2803 lib/time.in.h
2804 lib/time_r.c
2805 lib/time_rz.c
2806 lib/timegm.c
2807 lib/timespec.c
2808 lib/timespec.h
2809 lib/timespec_get.c
2810 lib/tzset.c
2811 lib/uchar.in.h
2812 lib/unicase.in.h
2813 lib/unicase/simple-mapping.h
2814 lib/unicase/tolower.c
2815 lib/unicase/tolower.h
2816 lib/unictype.in.h
2817 lib/unictype/bitmap.h
2818 lib/unictype/ctype_alnum.c
2819 lib/unictype/ctype_alnum.h
2820 lib/unictype/ctype_alpha.c
2821 lib/unictype/ctype_alpha.h
2822 lib/unictype/ctype_blank.c
2823 lib/unictype/ctype_blank.h
2824 lib/unictype/ctype_cntrl.c
2825 lib/unictype/ctype_cntrl.h
2826 lib/unictype/ctype_digit.c
2827 lib/unictype/ctype_digit.h
2828 lib/unictype/ctype_graph.c
2829 lib/unictype/ctype_graph.h
2830 lib/unictype/ctype_lower.c
2831 lib/unictype/ctype_lower.h
2832 lib/unictype/ctype_print.c
2833 lib/unictype/ctype_print.h
2834 lib/unictype/ctype_punct.c
2835 lib/unictype/ctype_punct.h
2836 lib/unictype/ctype_space.c
2837 lib/unictype/ctype_space.h
2838 lib/unictype/ctype_upper.c
2839 lib/unictype/ctype_upper.h
2840 lib/unictype/ctype_xdigit.c
2841 lib/unictype/ctype_xdigit.h
2842 lib/uninorm.in.h
2843 lib/unistd.c
2844 lib/unistd.in.h
2845 lib/unistr.in.h
2846 lib/unistr/u-cpy.h
2847 lib/unistr/u-pcpy.h
2848 lib/unistr/u-strcat.h
2849 lib/unistr/u-strlen.h
2850 lib/unistr/u32-chr.c
2851 lib/unistr/u32-cpy.c
2852 lib/unistr/u32-pcpy.c
2853 lib/unistr/u32-strcat.c
2854 lib/unistr/u32-strlen.c
2855 lib/unitypes.in.h
2856 lib/uniwidth.in.h
2857 lib/uniwidth/cjk.h
2858 lib/uniwidth/width.c
2859 lib/uniwidth/width0.h
2860 lib/uniwidth/width2.h
2861 lib/unlocked-io.h
2862 lib/unsetenv.c
2863 lib/verify.h
2864 lib/version-etc-fsf.c
2865 lib/version-etc.c
2866 lib/version-etc.h
2867 lib/warn-on-use.h
2868 lib/wchar.in.h
2869 lib/wcrtomb.c
2870 lib/wctype-h.c
2871 lib/wctype-impl.h
2872 lib/wctype.c
2873 lib/wctype.in.h
2874 lib/wcwidth.c
2875 lib/windows-initguard.h
2876 lib/windows-mutex.c
2877 lib/windows-mutex.h
2878 lib/windows-once.c
2879 lib/windows-once.h
2880 lib/windows-recmutex.c
2881 lib/windows-recmutex.h
2882 lib/windows-rwlock.c
2883 lib/windows-rwlock.h
2884 lib/wmemchr-impl.h
2885 lib/wmemchr.c
2886 lib/wmempcpy.c
2887 lib/xalloc-die.c
2888 lib/xalloc-oversized.h
2889 lib/xalloc.h
2890 lib/xfreopen.c
2891 lib/xfreopen.h
2892 lib/xmalloc.c
2893 lib/xmalloca.c
2894 lib/xmalloca.h
2895 lib/xstdopen.c
2896 lib/xstdopen.h
2897 lib/xstrtoimax.c
2898 lib/xstrtol.c
2899 lib/xstrtol.h
2900 lib/xstrtoul.c
2901 m4/00gnulib.m4
2902 m4/__inline.m4
2903 m4/absolute-header.m4
2904 m4/alloca.m4
2905 m4/arpa_inet_h.m4
2906 m4/asm-underscore.m4
2907 m4/assert_h.m4
2908 m4/atoll.m4
2909 m4/btowc.m4
2910 m4/build-to-host.m4
2911 m4/builtin-expect.m4
2912 m4/c-bool.m4
2913 m4/c-stack.m4
2914 m4/c32rtomb.m4
2915 m4/calloc.m4
2916 m4/chdir-long.m4
2917 m4/clock_time.m4
2918 m4/close.m4
2919 m4/closedir.m4
2920 m4/codeset.m4
2921 m4/config-h.m4
2922 m4/ctype_h.m4
2923 m4/d-type.m4
2924 m4/dirent_h.m4
2925 m4/dirfd.m4
2926 m4/double-slash-root.m4
2927 m4/dup.m4
2928 m4/dup2.m4
2929 m4/environ.m4
2930 m4/errno_h.m4
2931 m4/error.m4
2932 m4/error_h.m4
2933 m4/exponentd.m4
2934 m4/exponentf.m4
2935 m4/exponentl.m4
2936 m4/extensions-aix.m4
2937 m4/extensions.m4
2938 m4/extern-inline.m4
2939 m4/fchdir.m4
2940 m4/fclose.m4
2941 m4/fcntl-o.m4
2942 m4/fcntl.m4
2943 m4/fcntl_h.m4
2944 m4/fdopen.m4
2945 m4/fdopendir.m4
2946 m4/fflush.m4
2947 m4/fileblocks.m4
2948 m4/filenamecat.m4
2949 m4/flexmember.m4
2950 m4/float_h.m4
2951 m4/fnmatch.m4
2952 m4/fnmatch_h.m4
2953 m4/fopen.m4
2954 m4/fpieee.m4
2955 m4/free.m4
2956 m4/freopen.m4
2957 m4/fstat.m4
2958 m4/fstatat.m4
2959 m4/ftruncate.m4
2960 m4/getcwd.m4
2961 m4/getdtablesize.m4
2962 m4/getlocalename_l.m4
2963 m4/getopt.m4
2964 m4/getpagesize.m4
2965 m4/getprogname.m4
2966 m4/getrandom.m4
2967 m4/gettime.m4
2968 m4/gettimeofday.m4
2969 m4/gnu-make.m4
2970 m4/gnulib-common.m4
2971 m4/gnulib-i18n.m4
2972 m4/host-cpu-c-abi.m4
2973 m4/include_next.m4
2974 m4/inet_pton.m4
2975 m4/init-package-version.m4
2976 m4/inline.m4
2977 m4/intl-thread-locale.m4
2978 m4/intmax_t.m4
2979 m4/inttostr.m4
2980 m4/inttypes.m4
2981 m4/inttypes_h.m4
2982 m4/ioctl.m4
2983 m4/isblank.m4
2984 m4/isnand.m4
2985 m4/isnanf.m4
2986 m4/isnanl.m4
2987 m4/iswblank.m4
2988 m4/iswctype.m4
2989 m4/iswdigit.m4
2990 m4/iswpunct.m4
2991 m4/iswxdigit.m4
2992 m4/langinfo_h.m4
2993 m4/largefile.m4
2994 m4/lcmessage.m4
2995 m4/lib-ld.m4
2996 m4/lib-link.m4
2997 m4/lib-prefix.m4
2998 m4/libsigsegv.m4
2999 m4/libunistring-base.m4
3000 m4/limits-h.m4
3001 m4/localcharset.m4
3002 m4/locale-en.m4
3003 m4/locale-fr.m4
3004 m4/locale-ja.m4
3005 m4/locale-tr.m4
3006 m4/locale-zh.m4
3007 m4/locale_h.m4
3008 m4/localeconv.m4
3009 m4/localename.m4
3010 m4/lock.m4
3011 m4/lstat.m4
3012 m4/malloc.m4
3013 m4/malloca.m4
3014 m4/manywarnings-c++.m4
3015 m4/manywarnings.m4
3016 m4/math_h.m4
3017 m4/mbrtoc32.m4
3018 m4/mbrtowc.m4
3019 m4/mbsinit.m4
3020 m4/mbsrtowcs.m4
3021 m4/mbstate_t.m4
3022 m4/mbtowc.m4
3023 m4/memchr.m4
3024 m4/mempcpy.m4
3025 m4/memrchr.m4
3026 m4/minmax.m4
3027 m4/mkdir.m4
3028 m4/mkstemp.m4
3029 m4/mktime.m4
3030 m4/mmap-anon.m4
3031 m4/mode_t.m4
3032 m4/msvc-inval.m4
3033 m4/msvc-nothrow.m4
3034 m4/multiarch.m4
3035 m4/musl.m4
3036 m4/nan-mips.m4
3037 m4/nanosleep.m4
3038 m4/netinet_in_h.m4
3039 m4/nl_langinfo.m4
3040 m4/nocrash.m4
3041 m4/nstrftime.m4
3042 m4/nullptr.m4
3043 m4/off64_t.m4
3044 m4/off_t.m4
3045 m4/once.m4
3046 m4/open-cloexec.m4
3047 m4/open-slash.m4
3048 m4/open.m4
3049 m4/openat.m4
3050 m4/opendir.m4
3051 m4/pathmax.m4
3052 m4/pclose.m4
3053 m4/perl.m4
3054 m4/perror.m4
3055 m4/pid_t.m4
3056 m4/pipe.m4
3057 m4/popen.m4
3058 m4/printf.m4
3059 m4/priv-set.m4
3060 m4/pselect.m4
3061 m4/pthread-cond.m4
3062 m4/pthread-mutex.m4
3063 m4/pthread-once.m4
3064 m4/pthread-rwlock.m4
3065 m4/pthread-spin.m4
3066 m4/pthread-thread.m4
3067 m4/pthread_h.m4
3068 m4/pthread_mutex_timedlock.m4
3069 m4/pthread_rwlock_rdlock.m4
3070 m4/pthread_sigmask.m4
3071 m4/putenv.m4
3072 m4/quote.m4
3073 m4/quotearg.m4
3074 m4/raise.m4
3075 m4/random.m4
3076 m4/random_r.m4
3077 m4/rawmemchr.m4
3078 m4/readdir.m4
3079 m4/readlink.m4
3080 m4/readlinkat.m4
3081 m4/realloc.m4
3082 m4/reallocarray.m4
3083 m4/regex.m4
3084 m4/rmdir.m4
3085 m4/save-cwd.m4
3086 m4/sched_h.m4
3087 m4/sched_yield.m4
3088 m4/select.m4
3089 m4/semaphore.m4
3090 m4/setenv.m4
3091 m4/setlocale_null.m4
3092 m4/sigaction.m4
3093 m4/sigaltstack.m4
3094 m4/signal_h.m4
3095 m4/signalblocking.m4
3096 m4/signbit.m4
3097 m4/sigsegv.m4
3098 m4/size_max.m4
3099 m4/sleep.m4
3100 m4/snan.m4
3101 m4/snprintf.m4
3102 m4/socketlib.m4
3103 m4/sockets.m4
3104 m4/socklen.m4
3105 m4/sockpfaf.m4
3106 m4/ssize_t.m4
3107 m4/stack-direction.m4
3108 m4/stat-size.m4
3109 m4/stat-time.m4
3110 m4/stat.m4
3111 m4/std-gnu11.m4
3112 m4/stdalign.m4
3113 m4/stdarg.m4
3114 m4/stdbit_h.m4
3115 m4/stddef_h.m4
3116 m4/stdint.m4
3117 m4/stdint_h.m4
3118 m4/stdio_h.m4
3119 m4/stdlib_h.m4
3120 m4/stpcpy.m4
3121 m4/strcasecmp.m4
3122 m4/strdup.m4
3123 m4/strerror.m4
3124 m4/strerror_r.m4
3125 m4/string_h.m4
3126 m4/strings_h.m4
3127 m4/strncasecmp.m4
3128 m4/strnlen.m4
3129 m4/strptime.m4
3130 m4/strtoimax.m4
3131 m4/strtoll.m4
3132 m4/symlink.m4
3133 m4/symlinkat.m4
3134 m4/sys_cdefs_h.m4
3135 m4/sys_ioctl_h.m4
3136 m4/sys_random_h.m4
3137 m4/sys_select_h.m4
3138 m4/sys_socket_h.m4
3139 m4/sys_stat_h.m4
3140 m4/sys_time_h.m4
3141 m4/sys_types_h.m4
3142 m4/sys_uio_h.m4
3143 m4/sys_wait_h.m4
3144 m4/tempname.m4
3145 m4/thread.m4
3146 m4/threadlib.m4
3147 m4/time.m4
3148 m4/time_h.m4
3149 m4/time_r.m4
3150 m4/time_rz.m4
3151 m4/timegm.m4
3152 m4/timespec.m4
3153 m4/timespec_get.m4
3154 m4/tm_gmtoff.m4
3155 m4/tzset.m4
3156 m4/uchar_h.m4
3157 m4/unicase_h.m4
3158 m4/unictype_h.m4
3159 m4/uninorm_h.m4
3160 m4/unistd_h.m4
3161 m4/unlink.m4
3162 m4/unlinkat.m4
3163 m4/unlinkdir.m4
3164 m4/unlocked-io.m4
3165 m4/vararrays.m4
3166 m4/vasnprintf.m4
3167 m4/version-etc.m4
3168 m4/visibility.m4
3169 m4/warn-on-use.m4
3170 m4/warnings.m4
3171 m4/wchar_h.m4
3172 m4/wcrtomb.m4
3173 m4/wctob.m4
3174 m4/wctomb.m4
3175 m4/wctype.m4
3176 m4/wctype_h.m4
3177 m4/wcwidth.m4
3178 m4/windows-rc.m4
3179 m4/wint_t.m4
3180 m4/wmemchr.m4
3181 m4/wmempcpy.m4
3182 m4/xalloc.m4
3183 m4/xgetcwd.m4
3184 m4/xsize.m4
3185 m4/xstrtol.m4
3186 m4/yield.m4
3187 m4/zzgnulib.m4
3188 tests/altstack-util.h
3189 tests/atomic-int-posix.h
3190 tests/from-glibc/support/test-driver.c
3191 tests/from-glibc/tst-stdbit.h
3192 tests/from-glibc/tst-stdc_bit_width.c
3193 tests/from-glibc/tst-stdc_leading_zeros.c
3194 tests/infinity.h
3195 tests/init.sh
3196 tests/locale.c
3197 tests/macros.h
3198 tests/minus-zero.h
3199 tests/mmap-anon-util.h
3200 tests/nap.h
3201 tests/signature.h
3202 tests/test-accept.c
3203 tests/test-alignasof.c
3204 tests/test-alloca-opt.c
3205 tests/test-argmatch.c
3206 tests/test-arpa_inet-h.c
3207 tests/test-assert.c
3208 tests/test-binary-io.c
3209 tests/test-binary-io.sh
3210 tests/test-bind.c
3211 tests/test-bitrotate.c
3212 tests/test-bool.c
3213 tests/test-btoc32-1.sh
3214 tests/test-btoc32-2.sh
3215 tests/test-btoc32-3.sh
3216 tests/test-btoc32.c
3217 tests/test-btowc-1.sh
3218 tests/test-btowc-2.sh
3219 tests/test-btowc-3.sh
3220 tests/test-btowc.c
3221 tests/test-c-ctype.c
3222 tests/test-c-stack.c
3223 tests/test-c-stack.sh
3224 tests/test-c-stack2.sh
3225 tests/test-c-strcasecmp.c
3226 tests/test-c-strcasecmp.sh
3227 tests/test-c-strcasestr.c
3228 tests/test-c-strncasecmp.c
3229 tests/test-c-strncasecmp.sh
3230 tests/test-c32_apply_type_test.c
3231 tests/test-c32_get_type_test.c
3232 tests/test-c32isalnum.c
3233 tests/test-c32isalnum.sh
3234 tests/test-c32isalpha.c
3235 tests/test-c32isalpha.sh
3236 tests/test-c32isblank.c
3237 tests/test-c32isblank.sh
3238 tests/test-c32iscntrl.c
3239 tests/test-c32iscntrl.sh
3240 tests/test-c32isdigit.c
3241 tests/test-c32isdigit.sh
3242 tests/test-c32isgraph.c
3243 tests/test-c32isgraph.sh
3244 tests/test-c32islower.c
3245 tests/test-c32islower.sh
3246 tests/test-c32isprint.c
3247 tests/test-c32isprint.sh
3248 tests/test-c32ispunct.c
3249 tests/test-c32ispunct.sh
3250 tests/test-c32isspace.c
3251 tests/test-c32isspace.sh
3252 tests/test-c32isupper.c
3253 tests/test-c32isupper.sh
3254 tests/test-c32isxdigit.c
3255 tests/test-c32isxdigit.sh
3256 tests/test-c32rtomb-w32-2.sh
3257 tests/test-c32rtomb-w32-3.sh
3258 tests/test-c32rtomb-w32-4.sh
3259 tests/test-c32rtomb-w32-5.sh
3260 tests/test-c32rtomb-w32-6.sh
3261 tests/test-c32rtomb-w32-7.sh
3262 tests/test-c32rtomb-w32-8.sh
3263 tests/test-c32rtomb-w32.c
3264 tests/test-c32rtomb.c
3265 tests/test-c32rtomb.sh
3266 tests/test-c32tolower.c
3267 tests/test-c32tolower.sh
3268 tests/test-c32width.c
3269 tests/test-calloc-gnu.c
3270 tests/test-calloc-posix.c
3271 tests/test-chdir.c
3272 tests/test-cloexec.c
3273 tests/test-close.c
3274 tests/test-connect.c
3275 tests/test-ctype-h.c
3276 tests/test-dirent-h.c
3277 tests/test-dirfd.c
3278 tests/test-dirname.c
3279 tests/test-dup.c
3280 tests/test-dup2.c
3281 tests/test-dynarray.c
3282 tests/test-environ.c
3283 tests/test-errno-h.c
3284 tests/test-error.c
3285 tests/test-error.sh
3286 tests/test-exclude.c
3287 tests/test-exclude1.sh
3288 tests/test-exclude2.sh
3289 tests/test-exclude3.sh
3290 tests/test-exclude4.sh
3291 tests/test-exclude5.sh
3292 tests/test-exclude6.sh
3293 tests/test-exclude7.sh
3294 tests/test-exclude8.sh
3295 tests/test-fchdir.c
3296 tests/test-fcntl-h.c
3297 tests/test-fcntl.c
3298 tests/test-fdopen.c
3299 tests/test-fdopendir.c
3300 tests/test-fgetc.c
3301 tests/test-filenamecat.c
3302 tests/test-float-h.c
3303 tests/test-fnmatch-1.sh
3304 tests/test-fnmatch-2.sh
3305 tests/test-fnmatch-3.sh
3306 tests/test-fnmatch-4.sh
3307 tests/test-fnmatch-5.sh
3308 tests/test-fnmatch-h.c
3309 tests/test-fnmatch-w32-2.sh
3310 tests/test-fnmatch-w32-3.sh
3311 tests/test-fnmatch-w32-4.sh
3312 tests/test-fnmatch-w32-5.sh
3313 tests/test-fnmatch-w32-6.sh
3314 tests/test-fnmatch-w32-7.sh
3315 tests/test-fnmatch-w32-8.sh
3316 tests/test-fnmatch-w32.c
3317 tests/test-fnmatch.c
3318 tests/test-fopen-gnu.c
3319 tests/test-fopen.c
3320 tests/test-fopen.h
3321 tests/test-fputc.c
3322 tests/test-fread.c
3323 tests/test-free.c
3324 tests/test-freopen.c
3325 tests/test-fstat.c
3326 tests/test-fstatat.c
3327 tests/test-ftruncate.c
3328 tests/test-ftruncate.sh
3329 tests/test-fwrite.c
3330 tests/test-getcwd-lgpl.c
3331 tests/test-getdtablesize.c
3332 tests/test-getopt-gnu.c
3333 tests/test-getopt-main.h
3334 tests/test-getopt-posix.c
3335 tests/test-getopt.h
3336 tests/test-getopt_long.h
3337 tests/test-getprogname.c
3338 tests/test-getrandom.c
3339 tests/test-gettext-h.c
3340 tests/test-gettimeofday.c
3341 tests/test-gmtime_r-mt.c
3342 tests/test-gmtime_r.c
3343 tests/test-hard-locale.c
3344 tests/test-hash.c
3345 tests/test-ignore-value.c
3346 tests/test-inet_pton.c
3347 tests/test-init.sh
3348 tests/test-intprops.c
3349 tests/test-inttostr.c
3350 tests/test-inttypes-h.c
3351 tests/test-ioctl.c
3352 tests/test-isblank.c
3353 tests/test-isnand-nolibm.c
3354 tests/test-isnand.h
3355 tests/test-isnanf-nolibm.c
3356 tests/test-isnanf.h
3357 tests/test-isnanl-nolibm.c
3358 tests/test-isnanl.h
3359 tests/test-iswblank.c
3360 tests/test-iswctype.c
3361 tests/test-iswdigit.c
3362 tests/test-iswdigit.sh
3363 tests/test-iswpunct.c
3364 tests/test-iswpunct.sh
3365 tests/test-iswxdigit.c
3366 tests/test-iswxdigit.sh
3367 tests/test-langinfo-h.c
3368 tests/test-largefile.c
3369 tests/test-limits-h.c
3370 tests/test-listen.c
3371 tests/test-localcharset-w32utf8.c
3372 tests/test-localcharset-w32utf8.sh
3373 tests/test-localcharset.c
3374 tests/test-locale-h.c
3375 tests/test-localeconv.c
3376 tests/test-localtime_r-mt.c
3377 tests/test-localtime_r.c
3378 tests/test-lstat.c
3379 tests/test-lstat.h
3380 tests/test-malloc-gnu.c
3381 tests/test-malloc-posix.c
3382 tests/test-malloca.c
3383 tests/test-math-h.c
3384 tests/test-mbrtoc32-1.sh
3385 tests/test-mbrtoc32-2.sh
3386 tests/test-mbrtoc32-3.sh
3387 tests/test-mbrtoc32-4.sh
3388 tests/test-mbrtoc32-5.sh
3389 tests/test-mbrtoc32-w32-2.sh
3390 tests/test-mbrtoc32-w32-3.sh
3391 tests/test-mbrtoc32-w32-4.sh
3392 tests/test-mbrtoc32-w32-5.sh
3393 tests/test-mbrtoc32-w32-6.sh
3394 tests/test-mbrtoc32-w32-7.sh
3395 tests/test-mbrtoc32-w32-8.sh
3396 tests/test-mbrtoc32-w32.c
3397 tests/test-mbrtoc32.c
3398 tests/test-mbrtowc-1.sh
3399 tests/test-mbrtowc-2.sh
3400 tests/test-mbrtowc-3.sh
3401 tests/test-mbrtowc-4.sh
3402 tests/test-mbrtowc-5.sh
3403 tests/test-mbrtowc-w32-2.sh
3404 tests/test-mbrtowc-w32-3.sh
3405 tests/test-mbrtowc-w32-4.sh
3406 tests/test-mbrtowc-w32-5.sh
3407 tests/test-mbrtowc-w32-6.sh
3408 tests/test-mbrtowc-w32-7.sh
3409 tests/test-mbrtowc-w32-8.sh
3410 tests/test-mbrtowc-w32.c
3411 tests/test-mbrtowc-w32utf8.c
3412 tests/test-mbrtowc-w32utf8.sh
3413 tests/test-mbrtowc.c
3414 tests/test-mbscasecmp.c
3415 tests/test-mbscasecmp.sh
3416 tests/test-mbsinit.c
3417 tests/test-mbsinit.sh
3418 tests/test-mbsrtoc32s-1.sh
3419 tests/test-mbsrtoc32s-2.sh
3420 tests/test-mbsrtoc32s-3.sh
3421 tests/test-mbsrtoc32s-4.sh
3422 tests/test-mbsrtoc32s-5.sh
3423 tests/test-mbsrtoc32s.c
3424 tests/test-mbsrtowcs-1.sh
3425 tests/test-mbsrtowcs-2.sh
3426 tests/test-mbsrtowcs-3.sh
3427 tests/test-mbsrtowcs-4.sh
3428 tests/test-mbsrtowcs-5.sh
3429 tests/test-mbsrtowcs.c
3430 tests/test-mcel-1.sh
3431 tests/test-mcel-2.sh
3432 tests/test-mcel-3.sh
3433 tests/test-mcel-4.sh
3434 tests/test-mcel-5.sh
3435 tests/test-mcel.c
3436 tests/test-memchr.c
3437 tests/test-memrchr.c
3438 tests/test-mkdir.c
3439 tests/test-mkdir.h
3440 tests/test-nanosleep.c
3441 tests/test-netinet_in-h.c
3442 tests/test-nl_langinfo-mt.c
3443 tests/test-nl_langinfo1.c
3444 tests/test-nl_langinfo1.sh
3445 tests/test-nl_langinfo2.c
3446 tests/test-nl_langinfo2.sh
3447 tests/test-nstrftime-1.sh
3448 tests/test-nstrftime-2.sh
3449 tests/test-nstrftime.c
3450 tests/test-nstrftime.h
3451 tests/test-nullptr.c
3452 tests/test-once.c
3453 tests/test-open.c
3454 tests/test-open.h
3455 tests/test-openat.c
3456 tests/test-pathmax.c
3457 tests/test-perror.c
3458 tests/test-perror.sh
3459 tests/test-perror2.c
3460 tests/test-pipe.c
3461 tests/test-popen.c
3462 tests/test-popen.h
3463 tests/test-priv-set.c
3464 tests/test-pselect.c
3465 tests/test-pthread-cond.c
3466 tests/test-pthread-mutex-type.c
3467 tests/test-pthread-mutex.c
3468 tests/test-pthread-once1.c
3469 tests/test-pthread-once2.c
3470 tests/test-pthread-rwlock.c
3471 tests/test-pthread-thread.c
3472 tests/test-pthread.c
3473 tests/test-pthread_sigmask1.c
3474 tests/test-pthread_sigmask2.c
3475 tests/test-putenv.c
3476 tests/test-quotearg-simple.c
3477 tests/test-quotearg.h
3478 tests/test-raise.c
3479 tests/test-random-mt.c
3480 tests/test-random.c
3481 tests/test-random_r.c
3482 tests/test-rawmemchr.c
3483 tests/test-readlink.c
3484 tests/test-readlink.h
3485 tests/test-readlinkat.c
3486 tests/test-realloc-posix.c
3487 tests/test-reallocarray.c
3488 tests/test-regex.c
3489 tests/test-rmdir.c
3490 tests/test-rmdir.h
3491 tests/test-sched-h.c
3492 tests/test-select-fd.c
3493 tests/test-select-in.sh
3494 tests/test-select-out.sh
3495 tests/test-select-stdin.c
3496 tests/test-select.c
3497 tests/test-select.h
3498 tests/test-setenv.c
3499 tests/test-setlocale_null-mt-all.c
3500 tests/test-setlocale_null-mt-one.c
3501 tests/test-setlocale_null-unlocked.c
3502 tests/test-setlocale_null.c
3503 tests/test-setsockopt.c
3504 tests/test-sh-quote.c
3505 tests/test-sigaction.c
3506 tests/test-signal-h.c
3507 tests/test-signbit.c
3508 tests/test-sigprocmask.c
3509 tests/test-sigsegv-catch-segv1.c
3510 tests/test-sigsegv-catch-segv2.c
3511 tests/test-sigsegv-catch-stackoverflow1.c
3512 tests/test-sigsegv-catch-stackoverflow2.c
3513 tests/test-sleep.c
3514 tests/test-snprintf.c
3515 tests/test-sockets.c
3516 tests/test-stat-time.c
3517 tests/test-stat.c
3518 tests/test-stat.h
3519 tests/test-stdbit-h.c
3520 tests/test-stdckdint-h.c
3521 tests/test-stddef-h.c
3522 tests/test-stdint-h.c
3523 tests/test-stdio-h.c
3524 tests/test-stdlib-h.c
3525 tests/test-str_startswith.c
3526 tests/test-strcasecmp-1.sh
3527 tests/test-strcasecmp-2.sh
3528 tests/test-strcasecmp.c
3529 tests/test-strerror.c
3530 tests/test-strerror_r.c
3531 tests/test-string-h.c
3532 tests/test-strings-h.c
3533 tests/test-strncasecmp-1.sh
3534 tests/test-strncasecmp-2.sh
3535 tests/test-strncasecmp.c
3536 tests/test-strnlen.c
3537 tests/test-strtoimax.c
3538 tests/test-strtoll.c
3539 tests/test-symlink.c
3540 tests/test-symlink.h
3541 tests/test-symlinkat.c
3542 tests/test-sys_ioctl-h.c
3543 tests/test-sys_random-h.c
3544 tests/test-sys_select-h.c
3545 tests/test-sys_socket-h.c
3546 tests/test-sys_stat-h.c
3547 tests/test-sys_time-h.c
3548 tests/test-sys_types-h.c
3549 tests/test-sys_uio-h.c
3550 tests/test-sys_wait-h.c
3551 tests/test-sys_wait-h.h
3552 tests/test-thread_create.c
3553 tests/test-thread_self.c
3554 tests/test-time-h.c
3555 tests/test-time.c
3556 tests/test-timespec.c
3557 tests/test-timespec_get.c
3558 tests/test-uchar-h.c
3559 tests/test-unistd-h.c
3560 tests/test-unlink.c
3561 tests/test-unlink.h
3562 tests/test-unlinkat.c
3563 tests/test-unsetenv.c
3564 tests/test-update-copyright.sh
3565 tests/test-vasnprintf.c
3566 tests/test-vc-list-files-cvs.sh
3567 tests/test-vc-list-files-git.sh
3568 tests/test-verify-try.c
3569 tests/test-verify.c
3570 tests/test-verify.sh
3571 tests/test-version-etc.c
3572 tests/test-version-etc.sh
3573 tests/test-wchar-h.c
3574 tests/test-wcrtomb-w32-2.sh
3575 tests/test-wcrtomb-w32-3.sh
3576 tests/test-wcrtomb-w32-4.sh
3577 tests/test-wcrtomb-w32-5.sh
3578 tests/test-wcrtomb-w32-6.sh
3579 tests/test-wcrtomb-w32-7.sh
3580 tests/test-wcrtomb-w32-8.sh
3581 tests/test-wcrtomb-w32.c
3582 tests/test-wcrtomb.c
3583 tests/test-wcrtomb.sh
3584 tests/test-wctype-h.c
3585 tests/test-wctype.c
3586 tests/test-wcwidth.c
3587 tests/test-windows-mutex-type.c
3588 tests/test-windows-recmutex-type.c
3589 tests/test-windows-timedmutex-type.c
3590 tests/test-windows-timedrecmutex-type.c
3591 tests/test-wmemchr.c
3592 tests/test-xalloc-die.c
3593 tests/test-xalloc-die.sh
3594 tests/test-xstdopen.c
3595 tests/test-xstdopen.sh
3596 tests/test-xstrtoimax.c
3597 tests/test-xstrtoimax.sh
3598 tests/test-xstrtol.c
3599 tests/test-xstrtol.sh
3600 tests/test-xstrtoul.c
3601 tests/test-year2038.c
3602 tests/unicase/test-mapping-part1.h
3603 tests/unicase/test-mapping-part2.h
3604 tests/unicase/test-uc_tolower.c
3605 tests/unictype/test-ctype_alnum.c
3606 tests/unictype/test-ctype_alpha.c
3607 tests/unictype/test-ctype_blank.c
3608 tests/unictype/test-ctype_cntrl.c
3609 tests/unictype/test-ctype_digit.c
3610 tests/unictype/test-ctype_graph.c
3611 tests/unictype/test-ctype_lower.c
3612 tests/unictype/test-ctype_print.c
3613 tests/unictype/test-ctype_punct.c
3614 tests/unictype/test-ctype_space.c
3615 tests/unictype/test-ctype_upper.c
3616 tests/unictype/test-ctype_xdigit.c
3617 tests/unictype/test-predicate-part1.h
3618 tests/unictype/test-predicate-part2.h
3619 tests/unistr/test-chr.h
3620 tests/unistr/test-cpy.h
3621 tests/unistr/test-pcpy.h
3622 tests/unistr/test-set.h
3623 tests/unistr/test-strcat.h
3624 tests/unistr/test-u32-chr.c
3625 tests/unistr/test-u32-cpy.c
3626 tests/unistr/test-u32-pcpy.c
3627 tests/unistr/test-u32-set.c
3628 tests/unistr/test-u32-strcat.c
3629 tests/unistr/test-u32-strlen.c
3630 tests/uniwidth/test-uc_width.c
3631 tests/uniwidth/test-uc_width2.c
3632 tests/uniwidth/test-uc_width2.sh
3633 tests/virtualbox.h
3634 tests/windows-utf8.manifest
3635 tests/windows-utf8.rc
3636 tests/zerosize-ptr.h
3637 tests=lib/_Noreturn.h
3638 tests=lib/accept.c
3639 tests=lib/alloca.c
3640 tests=lib/anytostr.c
3641 tests=lib/arg-nonnull.h
3642 tests=lib/arpa_inet.c
3643 tests=lib/arpa_inet.in.h
3644 tests=lib/asnprintf.c
3645 tests=lib/at-func.c
3646 tests=lib/atoll.c
3647 tests=lib/bind.c
3648 tests=lib/c++defs.h
3649 tests=lib/c-strcase.h
3650 tests=lib/c-strcasestr.c
3651 tests=lib/c-strcasestr.h
3652 tests=lib/c-strncasecmp.c
3653 tests=lib/c32rtomb.c
3654 tests=lib/c32tob.c
3655 tests=lib/concat-filename.c
3656 tests=lib/concat-filename.h
3657 tests=lib/connect.c
3658 tests=lib/dtotimespec.c
3659 tests=lib/fdopen.c
3660 tests=lib/float+.h
3661 tests=lib/float.c
3662 tests=lib/float.in.h
3663 tests=lib/fpucw.h
3664 tests=lib/ftruncate.c
3665 tests=lib/glthread/thread.c
3666 tests=lib/glthread/thread.h
3667 tests=lib/glthread/yield.h
3668 tests=lib/hash-pjw.c
3669 tests=lib/hash-pjw.h
3670 tests=lib/imaxtostr.c
3671 tests=lib/inet_pton.c
3672 tests=lib/inttostr.c
3673 tests=lib/inttostr.h
3674 tests=lib/ioctl.c
3675 tests=lib/isnan.c
3676 tests=lib/isnand-nolibm.h
3677 tests=lib/isnand.c
3678 tests=lib/isnanf-nolibm.h
3679 tests=lib/isnanf.c
3680 tests=lib/isnanl-nolibm.h
3681 tests=lib/isnanl.c
3682 tests=lib/itold.c
3683 tests=lib/listen.c
3684 tests=lib/math.c
3685 tests=lib/math.in.h
3686 tests=lib/nan.h
3687 tests=lib/nanosleep.c
3688 tests=lib/netinet_in.in.h
3689 tests=lib/offtostr.c
3690 tests=lib/perror.c
3691 tests=lib/pipe.c
3692 tests=lib/printf-args.c
3693 tests=lib/printf-args.h
3694 tests=lib/printf-parse.c
3695 tests=lib/printf-parse.h
3696 tests=lib/priv-set.c
3697 tests=lib/priv-set.h
3698 tests=lib/pselect.c
3699 tests=lib/pthread-cond.c
3700 tests=lib/pthread-mutex.c
3701 tests=lib/pthread-rwlock.c
3702 tests=lib/pthread-thread.c
3703 tests=lib/pthread_mutex_timedlock.c
3704 tests=lib/pthread_sigmask.c
3705 tests=lib/putenv.c
3706 tests=lib/random.c
3707 tests=lib/random_r.c
3708 tests=lib/rmdir.c
3709 tests=lib/root-uid.h
3710 tests=lib/sched_yield.c
3711 tests=lib/select.c
3712 tests=lib/setsockopt.c
3713 tests=lib/signbitd.c
3714 tests=lib/signbitf.c
3715 tests=lib/signbitl.c
3716 tests=lib/signed-nan.h
3717 tests=lib/signed-snan.h
3718 tests=lib/size_max.h
3719 tests=lib/sleep.c
3720 tests=lib/snan.h
3721 tests=lib/snprintf.c
3722 tests=lib/socket.c
3723 tests=lib/sockets.c
3724 tests=lib/sockets.h
3725 tests=lib/str-two-way.h
3726 tests=lib/str_startswith.c
3727 tests=lib/strerror_r.c
3728 tests=lib/symlink.c
3729 tests=lib/symlinkat.c
3730 tests=lib/sys_ioctl.in.h
3731 tests=lib/sys_select.in.h
3732 tests=lib/sys_socket.c
3733 tests=lib/sys_socket.in.h
3734 tests=lib/sys_uio.in.h
3735 tests=lib/time.c
3736 tests=lib/timespec-add.c
3737 tests=lib/timespec-sub.c
3738 tests=lib/uinttostr.c
3739 tests=lib/umaxtostr.c
3740 tests=lib/unistr/u-set.h
3741 tests=lib/unistr/u32-set.c
3742 tests=lib/unlink.c
3743 tests=lib/unlinkat.c
3744 tests=lib/unlinkdir.c
3745 tests=lib/unlinkdir.h
3746 tests=lib/vasnprintf.c
3747 tests=lib/vasnprintf.h
3748 tests=lib/vsnzprintf.c
3749 tests=lib/w32sock.h
3750 tests=lib/warn-on-use.h
3751 tests=lib/wctob.c
3752 tests=lib/wctomb-impl.h
3753 tests=lib/wctomb.c
3754 tests=lib/windows-cond.c
3755 tests=lib/windows-cond.h
3756 tests=lib/windows-initguard.h
3757 tests=lib/windows-thread.c
3758 tests=lib/windows-thread.h
3759 tests=lib/windows-timedmutex.c
3760 tests=lib/windows-timedmutex.h
3761 tests=lib/windows-timedrecmutex.c
3762 tests=lib/windows-timedrecmutex.h
3763 tests=lib/windows-timedrwlock.c
3764 tests=lib/windows-timedrwlock.h
3765 tests=lib/windows-tls.c
3766 tests=lib/windows-tls.h
3767 tests=lib/xconcat-filename.c
3768 tests=lib/xgetcwd.c
3769 tests=lib/xgetcwd.h
3770 tests=lib/xsize.c
3771 tests=lib/xsize.h
3772 tests=lib/xstrtol-error.c
3773 tests=lib/xstrtol-error.h
3774 top/GNUmakefile
3775 top/README-release
3776 top/maint.mk
3777 ])