1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2021 Free Software Foundation, Inc.
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.
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.
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/>.
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.
22 # Generated by gnulib-tool.
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
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.
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
42 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
43 AC_REQUIRE([gl_PROG_AR_RANLIB])
45 AC_REQUIRE([AM_PROG_CC_C_O])
46 # Code from module absolute-header:
47 # Code from module accept:
48 # Code from module accept-tests:
49 # Code from module alloca:
50 # Code from module alloca-opt:
51 # Code from module alloca-opt-tests:
52 # Code from module allocator:
53 # Code from module announce-gen:
54 # Code from module areadlink:
55 # Code from module areadlink-tests:
56 # Code from module argmatch:
57 # Code from module argmatch-tests:
58 # Code from module arpa_inet:
59 # Code from module arpa_inet-tests:
60 # Code from module assure:
61 # Code from module atoll:
62 # Code from module attribute:
63 # Code from module basename-lgpl:
64 # Code from module binary-io:
65 # Code from module binary-io-tests:
66 # Code from module bind:
67 # Code from module bind-tests:
68 # Code from module bitrotate:
69 # Code from module bitrotate-tests:
70 # Code from module btowc:
71 # Code from module btowc-tests:
72 # Code from module builtin-expect:
73 # Code from module c-ctype:
74 # Code from module c-ctype-tests:
75 # Code from module c-stack:
76 # Code from module c-stack-tests:
77 # Code from module c-strcase:
78 # Code from module c-strcase-tests:
79 # Code from module c-strcaseeq:
80 # Code from module c99:
81 # Code from module calloc-gnu:
82 # Code from module calloc-gnu-tests:
83 # Code from module calloc-posix:
84 # Code from module careadlinkat:
85 # Code from module clock-time:
86 # Code from module cloexec:
87 # Code from module cloexec-tests:
88 # Code from module close:
89 # Code from module close-tests:
90 # Code from module config-h:
91 # Code from module connect:
92 # Code from module connect-tests:
93 # Code from module ctype:
94 # Code from module ctype-tests:
95 # Code from module diffseq:
96 # Code from module dirname:
97 # Code from module dirname-lgpl:
98 # Code from module dirname-tests:
99 # Code from module do-release-commit-and-tag:
100 # Code from module double-slash-root:
101 # Code from module dtotimespec:
102 # Code from module dup2:
103 # Code from module dup2-tests:
104 # Code from module dynarray:
105 # Code from module dynarray-tests:
106 # Code from module environ:
107 # Code from module environ-tests:
108 # Code from module errno:
109 # Code from module errno-tests:
110 # Code from module error:
111 # Code from module exclude:
112 # Code from module exclude-tests:
113 # Code from module exitfail:
114 # Code from module extensions:
115 # Code from module extern-inline:
116 # Code from module fcntl:
117 # Code from module fcntl-h:
118 # Code from module fcntl-h-tests:
119 # Code from module fcntl-tests:
120 # Code from module fd-hook:
121 # Code from module fdl:
122 # Code from module fdopen:
123 # Code from module fdopen-tests:
124 # Code from module fgetc-tests:
125 # Code from module file-type:
126 # Code from module filename:
127 # Code from module filenamecat:
128 # Code from module filenamecat-lgpl:
129 # Code from module filenamecat-tests:
130 # Code from module flexmember:
131 # Code from module float:
132 # Code from module float-tests:
133 # Code from module fnmatch:
134 # Code from module fnmatch-gnu:
135 # Code from module fnmatch-h:
136 # Code from module fnmatch-h-tests:
137 # Code from module fnmatch-tests:
138 # Code from module fopen:
139 # Code from module fopen-gnu:
140 # Code from module fopen-gnu-tests:
141 # Code from module fopen-tests:
142 # Code from module fpieee:
143 AC_REQUIRE([gl_FP_IEEE])
144 # Code from module fpucw:
145 # Code from module fputc-tests:
146 # Code from module fread-tests:
147 # Code from module free-posix:
148 # Code from module free-posix-tests:
149 # Code from module freopen:
150 # Code from module freopen-tests:
151 # Code from module fstat:
152 # Code from module fstat-tests:
153 # Code from module ftruncate:
154 # Code from module ftruncate-tests:
155 # Code from module fwrite-tests:
156 # Code from module gendocs:
157 # Code from module getcwd-lgpl:
158 # Code from module getcwd-lgpl-tests:
159 # Code from module getdtablesize:
160 # Code from module getdtablesize-tests:
161 # Code from module getopt-gnu:
162 # Code from module getopt-gnu-tests:
163 # Code from module getopt-posix:
164 # Code from module getopt-posix-tests:
165 # Code from module getpagesize:
166 # Code from module getprogname:
167 # Code from module getprogname-tests:
168 # Code from module getrandom:
169 # Code from module getrandom-tests:
170 # Code from module gettext-h:
171 # Code from module gettime:
172 # Code from module gettimeofday:
173 # Code from module gettimeofday-tests:
174 # Code from module git-version-gen:
175 # Code from module gitlog-to-changelog:
176 # Code from module gnu-make:
177 # Code from module gnu-web-doc-update:
178 # Code from module gnumakefile:
179 # Code from module gnupload:
180 # Code from module gperf:
181 # Code from module hard-locale:
182 # Code from module hard-locale-tests:
183 # Code from module hash:
184 # Code from module hash-pjw:
185 # Code from module hash-tests:
186 # Code from module havelib:
187 # Code from module host-cpu-c-abi:
188 # Code from module ialloc:
189 # Code from module iconv:
190 # Code from module iconv-h:
191 # Code from module iconv-h-tests:
192 # Code from module iconv-tests:
193 # Code from module iconv_open:
194 # Code from module idx:
195 # Code from module ignore-value:
196 # Code from module ignore-value-tests:
197 # Code from module include_next:
198 # Code from module inet_pton:
199 # Code from module inet_pton-tests:
200 # Code from module inline:
201 # Code from module intprops:
202 # Code from module intprops-tests:
203 # Code from module inttostr:
204 # Code from module inttostr-tests:
205 # Code from module inttypes:
206 # Code from module inttypes-incomplete:
207 # Code from module inttypes-tests:
208 # Code from module ioctl:
209 # Code from module ioctl-tests:
210 # Code from module isblank:
211 # Code from module isblank-tests:
212 # Code from module iswblank:
213 # Code from module iswblank-tests:
214 # Code from module iswdigit:
215 # Code from module iswdigit-tests:
216 # Code from module iswxdigit:
217 # Code from module iswxdigit-tests:
218 # Code from module langinfo:
219 # Code from module langinfo-tests:
220 # Code from module largefile:
221 AC_REQUIRE([AC_SYS_LARGEFILE])
222 AC_REQUIRE([gl_YEAR2038_EARLY])
223 # Code from module libc-config:
224 # Code from module limits-h:
225 # Code from module limits-h-tests:
226 # Code from module listen:
227 # Code from module listen-tests:
228 # Code from module localcharset:
229 # Code from module localcharset-tests:
230 # Code from module locale:
231 # Code from module locale-tests:
232 # Code from module localeconv:
233 # Code from module localeconv-tests:
234 # Code from module lock:
235 # Code from module lstat:
236 # Code from module lstat-tests:
237 # Code from module maintainer-makefile:
238 # Code from module malloc-gnu:
239 # Code from module malloc-gnu-tests:
240 # Code from module malloc-posix:
241 # Code from module malloca:
242 # Code from module malloca-tests:
243 # Code from module manywarnings:
244 # Code from module mbchar:
245 # Code from module mbiter:
246 # Code from module mbrtowc:
247 # Code from module mbrtowc-tests:
248 # Code from module mbscasecmp:
249 # Code from module mbscasecmp-tests:
250 # Code from module mbsinit:
251 # Code from module mbsinit-tests:
252 # Code from module mbslen:
253 # Code from module mbsrtowcs:
254 # Code from module mbsrtowcs-tests:
255 # Code from module mbsstr:
256 # Code from module mbsstr-tests:
257 # Code from module mbtowc:
258 # Code from module mbuiter:
259 # Code from module memchr:
260 # Code from module memchr-tests:
261 # Code from module mempcpy:
262 # Code from module minmax:
263 # Code from module mkdir:
264 # Code from module mkdir-tests:
265 # Code from module mkstemp:
266 # Code from module mktime:
267 # Code from module mktime-internal:
268 # Code from module msvc-inval:
269 # Code from module msvc-nothrow:
270 # Code from module multiarch:
271 # Code from module nanosleep:
272 # Code from module nanosleep-tests:
273 # Code from module netinet_in:
274 # Code from module netinet_in-tests:
275 # Code from module nl_langinfo:
276 # Code from module nl_langinfo-tests:
277 # Code from module nocrash:
278 # Code from module nstrftime:
279 # Code from module nstrftime-tests:
280 # Code from module open:
281 # Code from module open-tests:
282 # Code from module pathmax:
283 # Code from module pathmax-tests:
284 # Code from module perror:
285 # Code from module perror-tests:
286 # Code from module pipe-posix:
287 # Code from module pipe-posix-tests:
288 # Code from module progname:
289 # Code from module propername:
290 # Code from module pthread-h:
291 gl_ANYTHREADLIB_EARLY
292 # Code from module pthread-h-tests:
293 # Code from module pthread-thread:
294 # Code from module pthread-thread-tests:
295 # Code from module pthread_sigmask:
296 # Code from module pthread_sigmask-tests:
297 # Code from module putenv:
298 # Code from module quote:
299 # Code from module quotearg:
300 # Code from module quotearg-simple:
301 # Code from module quotearg-simple-tests:
302 # Code from module raise:
303 # Code from module raise-tests:
304 # Code from module rawmemchr:
305 # Code from module rawmemchr-tests:
306 # Code from module readlink:
307 # Code from module readlink-tests:
308 # Code from module readme-release:
309 # Code from module realloc-gnu:
310 # Code from module realloc-gnu-tests:
311 # Code from module realloc-posix:
312 # Code from module reallocarray:
313 # Code from module reallocarray-tests:
314 # Code from module regex:
315 # Code from module regex-tests:
316 # Code from module same-inode:
317 # Code from module sched:
318 # Code from module sched-tests:
319 # Code from module select:
320 # Code from module select-tests:
321 # Code from module setenv:
322 # Code from module setenv-tests:
323 # Code from module setlocale-null:
324 # Code from module setlocale-null-tests:
325 # Code from module setsockopt:
326 # Code from module setsockopt-tests:
327 # Code from module sh-quote:
328 # Code from module sh-quote-tests:
329 # Code from module sigaction:
330 # Code from module sigaction-tests:
331 # Code from module signal:
332 # Code from module signal-h:
333 # Code from module signal-h-tests:
334 # Code from module sigprocmask:
335 # Code from module sigprocmask-tests:
336 # Code from module sigsegv:
337 # Code from module sigsegv-tests:
338 # Code from module size_max:
339 # Code from module sleep:
340 # Code from module sleep-tests:
341 # Code from module snippet/_Noreturn:
342 # Code from module snippet/arg-nonnull:
343 # Code from module snippet/c++defs:
344 # Code from module snippet/warn-on-use:
345 # Code from module snprintf:
346 # Code from module snprintf-tests:
347 # Code from module socket:
348 # Code from module socketlib:
349 # Code from module sockets:
350 # Code from module sockets-tests:
351 # Code from module socklen:
352 # Code from module ssize_t:
353 # Code from module stat:
354 # Code from module stat-macros:
355 # Code from module stat-tests:
356 # Code from module stat-time:
357 # Code from module stat-time-tests:
358 # Code from module std-gnu11:
359 # Code from module stdalign:
360 # Code from module stdalign-tests:
361 # Code from module stdarg:
362 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
363 dnl for the builtin va_copy to work. gl_PROG_CC_C99 arranges for this.
365 # Code from module stdarg-tests:
366 # Code from module stdbool:
367 # Code from module stdbool-tests:
368 # Code from module stddef:
369 # Code from module stddef-tests:
370 # Code from module stdint:
371 # Code from module stdint-tests:
372 # Code from module stdio:
373 # Code from module stdio-tests:
374 # Code from module stdlib:
375 # Code from module stdlib-tests:
376 # Code from module stdopen:
377 # Code from module strcase:
378 # Code from module streq:
379 # Code from module strerror:
380 # Code from module strerror-override:
381 # Code from module strerror-tests:
382 # Code from module strerror_r-posix:
383 # Code from module strerror_r-posix-tests:
384 # Code from module striconv:
385 # Code from module striconv-tests:
386 # Code from module string:
387 # Code from module string-tests:
388 # Code from module strings:
389 # Code from module strings-tests:
390 # Code from module strnlen:
391 # Code from module strnlen-tests:
392 # Code from module strnlen1:
393 # Code from module strptime:
394 # Code from module strtoimax:
395 # Code from module strtoimax-tests:
396 # Code from module strtoll:
397 # Code from module strtoll-tests:
398 # Code from module symlink:
399 # Code from module symlink-tests:
400 # Code from module sys_ioctl:
401 # Code from module sys_ioctl-tests:
402 # Code from module sys_random:
403 # Code from module sys_random-tests:
404 # Code from module sys_select:
405 # Code from module sys_select-tests:
406 # Code from module sys_socket:
407 # Code from module sys_socket-tests:
408 # Code from module sys_stat:
409 # Code from module sys_stat-tests:
410 # Code from module sys_time:
411 # Code from module sys_time-tests:
412 # Code from module sys_types:
413 # Code from module sys_types-tests:
414 # Code from module sys_uio:
415 # Code from module sys_uio-tests:
416 # Code from module sys_wait:
417 # Code from module sys_wait-tests:
418 # Code from module system-quote:
419 # Code from module tempname:
420 # Code from module test-framework-sh:
421 # Code from module test-framework-sh-tests:
422 # Code from module thread:
423 # Code from module thread-tests:
424 # Code from module threadlib:
426 # Code from module time:
427 # Code from module time-tests:
428 # Code from module time_r:
429 # Code from module time_rz:
430 # Code from module timegm:
431 # Code from module timespec:
432 # Code from module timespec-add:
433 # Code from module timespec-sub:
434 # Code from module timespec-tests:
435 # Code from module trim:
436 # Code from module tzset:
437 # Code from module unistd:
438 # Code from module unistd-tests:
439 # Code from module unistr/base:
440 # Code from module unistr/u8-mbtoucr:
441 # Code from module unistr/u8-mbtoucr-tests:
442 # Code from module unistr/u8-uctomb:
443 # Code from module unistr/u8-uctomb-tests:
444 # Code from module unitypes:
445 # Code from module uniwidth/base:
446 # Code from module uniwidth/width:
447 # Code from module uniwidth/width-tests:
448 # Code from module unlocked-io:
449 # Code from module unlocked-io-internal:
450 # Code from module unsetenv:
451 # Code from module unsetenv-tests:
452 # Code from module update-copyright:
453 # Code from module update-copyright-tests:
454 # Code from module useless-if-before-free:
455 # Code from module vasnprintf:
456 # Code from module vasnprintf-tests:
457 # Code from module vasprintf:
458 # Code from module vasprintf-tests:
459 # Code from module vc-list-files:
460 # Code from module vc-list-files-tests:
461 # Code from module verify:
462 # Code from module verify-tests:
463 # Code from module version-etc:
464 # Code from module version-etc-fsf:
465 # Code from module version-etc-tests:
466 # Code from module warnings:
467 # Code from module wchar:
468 # Code from module wchar-tests:
469 # Code from module wcrtomb:
470 # Code from module wcrtomb-tests:
471 # Code from module wctob:
472 # Code from module wctomb:
473 # Code from module wctype-h:
474 # Code from module wctype-h-tests:
475 # Code from module wcwidth:
476 # Code from module wcwidth-tests:
477 # Code from module windows-mutex:
478 # Code from module windows-once:
479 # Code from module windows-recmutex:
480 # Code from module windows-rwlock:
481 # Code from module windows-thread:
482 # Code from module windows-tls:
483 # Code from module wmemchr:
484 # Code from module wmempcpy:
485 # Code from module xalloc:
486 # Code from module xalloc-die:
487 # Code from module xalloc-die-tests:
488 # Code from module xalloc-oversized:
489 # Code from module xfreopen:
490 # Code from module xmalloca:
491 # Code from module xreadlink:
492 # Code from module xsize:
493 # Code from module xstdopen:
494 # Code from module xstdopen-tests:
495 # Code from module xstriconv:
496 # Code from module xstrtoimax:
497 # Code from module xstrtoimax-tests:
498 # Code from module xstrtol:
499 # Code from module xstrtol-error:
500 # Code from module xstrtol-tests:
501 # Code from module xvasprintf:
502 # Code from module xvasprintf-tests:
505 # This macro should be invoked from ./configure.ac, in the section
506 # "Check for header files, types and library functions".
509 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
510 gl_cond_libtool=false
514 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
515 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
516 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
517 m4_pushdef([gl_LIBSOURCES_LIST], [])
518 m4_pushdef([gl_LIBSOURCES_DIR], [])
519 m4_pushdef([GL_MACRO_PREFIX], [gl])
520 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
525 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
529 gl_WCHAR_MODULE_INDICATOR([btowc])
533 if test $REPLACE_CALLOC = 1; then
537 if test $REPLACE_CALLOC = 1; then
540 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
541 AC_REQUIRE([AC_C_RESTRICT])
542 AC_CHECK_FUNCS_ONCE([readlinkat])
544 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
546 if test $REPLACE_CLOSE = 1; then
549 gl_UNISTD_MODULE_INDICATOR([close])
552 gl_CTYPE_H_REQUIRE_DEFAULTS
553 gl_MODULE_INDICATOR([dirname])
556 if test $REPLACE_DUP2 = 1; then
560 gl_UNISTD_MODULE_INDICATOR([dup2])
563 gl_UNISTD_MODULE_INDICATOR([environ])
566 if test $ac_cv_lib_error_at_line = no; then
570 m4_ifdef([AM_XGETTEXT_OPTION],
571 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
572 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
573 AC_REQUIRE([gl_EXTERN_INLINE])
575 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
578 gl_FCNTL_MODULE_INDICATOR([fcntl])
580 gl_FCNTL_H_REQUIRE_DEFAULTS
582 gl_MODULE_INDICATOR([filenamecat])
583 gl_FILE_NAME_CONCAT_LGPL
584 AC_C_FLEXIBLE_ARRAY_MEMBER
586 if test $REPLACE_FLOAT_LDBL = 1; then
589 if test $REPLACE_ITOLD = 1; then
592 gl_FUNC_FNMATCH_POSIX
593 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
597 gl_FNMATCH_MODULE_INDICATOR([fnmatch])
599 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
603 gl_MODULE_INDICATOR([fnmatch-gnu])
605 gl_FNMATCH_H_REQUIRE_DEFAULTS
607 if test $REPLACE_FOPEN = 1; then
611 gl_STDIO_MODULE_INDICATOR([fopen])
613 if test $REPLACE_FOPEN = 1; then
617 gl_MODULE_INDICATOR([fopen-gnu])
619 if test $REPLACE_FREE = 1; then
623 gl_STDLIB_MODULE_INDICATOR([free-posix])
625 if test $REPLACE_FREOPEN = 1; then
629 gl_STDIO_MODULE_INDICATOR([freopen])
631 if test $REPLACE_FSTAT = 1; then
635 AC_LIBOBJ([stat-w32])
640 gl_SYS_STAT_MODULE_INDICATOR([fstat])
641 gl_FUNC_GETDTABLESIZE
642 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
643 AC_LIBOBJ([getdtablesize])
644 gl_PREREQ_GETDTABLESIZE
646 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
648 dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
649 dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
650 dnl done in the getopt-posix module.
652 if test $REPLACE_GETOPT = 1; then
655 dnl Define the substituted variable GNULIB_UNISTD_H_GETOPT to 1.
656 gl_UNISTD_H_REQUIRE_DEFAULTS
657 gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT], [1])
659 gl_UNISTD_MODULE_INDICATOR([getopt-posix])
661 if test $REPLACE_GETPAGESIZE = 1; then
662 AC_LIBOBJ([getpagesize])
664 gl_UNISTD_MODULE_INDICATOR([getpagesize])
666 AC_REQUIRE([AC_CANONICAL_HOST])
668 if test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1; then
669 AC_LIBOBJ([getrandom])
671 gl_SYS_RANDOM_MODULE_INDICATOR([getrandom])
673 AC_SUBST([LTLIBINTL])
676 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
677 AC_LIBOBJ([gettimeofday])
678 gl_PREREQ_GETTIMEOFDAY
680 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
682 # Autoconf 2.61a.99 and earlier don't support linking a file only
683 # in VPATH builds. But since GNUmakefile is for maintainer use
684 # only, it does not matter if we skip the link with older autoconf.
685 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
686 # builds, so use a shell variable to bypass this.
687 GNUmakefile=GNUmakefile
688 m4_if(m4_version_compare([2.61a.100],
689 m4_defn([m4_PACKAGE_VERSION])), [1], [],
690 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
691 [GNUmakefile=$GNUmakefile])])
692 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
693 LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
694 AC_SUBST([LIB_HARD_LOCALE])
695 AC_DEFUN([gl_HAVE_MODULE_HAVELIB])
696 AC_REQUIRE([gl_HOST_CPU_C_ABI])
698 m4_ifdef([gl_ICONV_MODULE_INDICATOR],
699 [gl_ICONV_MODULE_INDICATOR([iconv])])
701 gl_ICONV_H_REQUIRE_DEFAULTS
703 if test $REPLACE_ICONV_OPEN = 1; then
704 AC_LIBOBJ([iconv_open])
706 if test $REPLACE_ICONV = 1; then
708 AC_LIBOBJ([iconv_close])
713 gl_INTTYPES_INCOMPLETE
714 gl_INTTYPES_H_REQUIRE_DEFAULTS
716 if test $HAVE_ISBLANK = 0; then
719 gl_MODULE_INDICATOR([isblank])
720 gl_CTYPE_MODULE_INDICATOR([isblank])
722 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
725 if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
726 AC_LIBOBJ([iswblank])
729 gl_WCTYPE_MODULE_INDICATOR([iswblank])
731 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
734 if test $REPLACE_ISWDIGIT = 1; then
735 AC_LIBOBJ([iswdigit])
738 gl_WCTYPE_MODULE_INDICATOR([iswdigit])
740 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
743 if test $REPLACE_ISWXDIGIT = 1; then
744 AC_LIBOBJ([iswxdigit])
747 gl_WCTYPE_MODULE_INDICATOR([iswxdigit])
749 gl_LANGINFO_H_REQUIRE_DEFAULTS
750 AC_REQUIRE([gl_LARGEFILE])
754 dnl For backward compatibility. Some packages still use this.
755 LOCALCHARSET_TESTS_ENVIRONMENT=
756 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
758 gl_LOCALE_H_REQUIRE_DEFAULTS
760 if test $REPLACE_LOCALECONV = 1; then
761 AC_LIBOBJ([localeconv])
764 gl_LOCALE_MODULE_INDICATOR([localeconv])
766 gl_MODULE_INDICATOR([lock])
768 if test $REPLACE_LSTAT = 1; then
772 gl_SYS_STAT_MODULE_INDICATOR([lstat])
773 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
774 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
775 AC_REQUIRE([AC_PROG_SED])
776 AC_REQUIRE([AC_PROG_GREP])
778 if test $REPLACE_MALLOC = 1; then
781 AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
782 if test $REPLACE_MALLOC = 1; then
785 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
790 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
792 if test $REPLACE_MBSTATE_T = 1; then
793 AC_LIBOBJ([lc-charset-dispatch])
794 AC_LIBOBJ([mbtowc-lock])
795 gl_PREREQ_MBTOWC_LOCK
799 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
800 gl_STRING_MODULE_INDICATOR([mbscasecmp])
802 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
806 gl_WCHAR_MODULE_INDICATOR([mbsinit])
808 gl_STRING_MODULE_INDICATOR([mbslen])
810 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
811 AC_LIBOBJ([mbsrtowcs])
812 AC_LIBOBJ([mbsrtowcs-state])
815 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
816 gl_STRING_MODULE_INDICATOR([mbsstr])
818 if test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1; then
822 gl_STDLIB_MODULE_INDICATOR([mbtowc])
825 if test $REPLACE_MEMCHR = 1; then
829 gl_STRING_MODULE_INDICATOR([memchr])
831 if test $HAVE_MEMPCPY = 0; then
835 gl_STRING_MODULE_INDICATOR([mempcpy])
838 if test $REPLACE_MKDIR = 1; then
841 gl_SYS_STAT_MODULE_INDICATOR([mkdir])
843 if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
847 gl_STDLIB_MODULE_INDICATOR([mkstemp])
849 if test $REPLACE_MKTIME = 1; then
853 gl_TIME_MODULE_INDICATOR([mktime])
854 gl_FUNC_MKTIME_INTERNAL
855 if test $WANT_MKTIME_INTERNAL = 1; then
859 AC_REQUIRE([gl_MSVC_INVAL])
860 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
861 AC_LIBOBJ([msvc-inval])
863 AC_REQUIRE([gl_MSVC_NOTHROW])
864 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
865 AC_LIBOBJ([msvc-nothrow])
867 gl_MODULE_INDICATOR([msvc-nothrow])
870 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
871 AC_LIBOBJ([nl_langinfo])
873 if test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0; then
874 AC_LIBOBJ([nl_langinfo-lock])
875 gl_PREREQ_NL_LANGINFO_LOCK
877 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
880 if test $REPLACE_OPEN = 1; then
884 gl_FCNTL_MODULE_INDICATOR([open])
886 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
887 AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
888 m4_ifdef([AM_XGETTEXT_OPTION],
889 [AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
890 AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])])
894 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
898 gl_SIGNAL_MODULE_INDICATOR([raise])
900 if test $HAVE_RAWMEMCHR = 0; then
901 AC_LIBOBJ([rawmemchr])
904 gl_STRING_MODULE_INDICATOR([rawmemchr])
906 if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
907 AC_LIBOBJ([readlink])
910 gl_UNISTD_MODULE_INDICATOR([readlink])
912 if test $REPLACE_REALLOC = 1; then
915 gl_FUNC_REALLOC_POSIX
916 if test $REPLACE_REALLOC = 1; then
919 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
921 if test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1; then
922 AC_LIBOBJ([reallocarray])
923 gl_PREREQ_REALLOCARRAY
925 gl_MODULE_INDICATOR([reallocarray])
926 gl_STDLIB_MODULE_INDICATOR([reallocarray])
928 if test $ac_use_included_regex = yes; then
933 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
936 gl_STDLIB_MODULE_INDICATOR([setenv])
937 gl_FUNC_SETLOCALE_NULL
938 if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then
939 AC_LIBOBJ([setlocale-lock])
940 gl_PREREQ_SETLOCALE_LOCK
942 gl_LOCALE_MODULE_INDICATOR([setlocale_null])
943 AC_REQUIRE([AC_C_RESTRICT])
945 gl_SIGNAL_H_REQUIRE_DEFAULTS
946 AC_ARG_WITH([libsigsegv],
947 [AS_HELP_STRING([--with-libsigsegv],
948 [use the GNU libsigsegv library, when present, instead of the gnulib module 'sigsegv'])])
950 if test "$with_libsigsegv" = yes; then
952 if test "$gl_cv_lib_sigsegv" = yes; then
956 AC_SUBST([SIGSEGV_H])
957 AM_CONDITIONAL([GL_GENERATE_SIGSEGV_H], [test -n "$SIGSEGV_H"])
958 if test -n "$SIGSEGV_H"; then
959 dnl Persuade glibc <sys/ucontext.h> to declare macros designating register
960 dnl indices: REG_RSP on x86_64, REG_ESP on i386.
961 dnl Persuade Solaris OpenIndiana <ucontext.h> to include <sys/regset.h>,
962 dnl which declares macros designating register indices, such as ESP on i386.
963 dnl Persuade Solaris OpenIndiana <unistd.h> to declare mincore().
964 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
965 AC_REQUIRE([AC_CANONICAL_HOST])
968 AC_DEFINE([SOLARIS11], [1], [Define on Solaris 11 and its derivates.])
974 dnl Catching stack overflow requires an alternate signal stack.
975 dnl The old "install a guard page" trick would be unreliable, because
976 dnl we don't know where exactly to place the guard page.
978 AC_CHECK_FUNCS_ONCE([getrlimit])
983 if test $REPLACE_STAT = 1; then
987 AC_LIBOBJ([stat-w32])
992 gl_SYS_STAT_MODULE_INDICATOR([stat])
999 gl_STDDEF_H_REQUIRE_DEFAULTS
1002 gl_STDIO_H_REQUIRE_DEFAULTS
1003 dnl No need to create extra modules for these functions. Everyone who uses
1004 dnl <stdio.h> likely needs them.
1005 gl_STDIO_MODULE_INDICATOR([fscanf])
1006 gl_MODULE_INDICATOR([fscanf])
1007 gl_STDIO_MODULE_INDICATOR([scanf])
1008 gl_MODULE_INDICATOR([scanf])
1009 gl_STDIO_MODULE_INDICATOR([fgetc])
1010 gl_STDIO_MODULE_INDICATOR([getc])
1011 gl_STDIO_MODULE_INDICATOR([getchar])
1012 gl_STDIO_MODULE_INDICATOR([fgets])
1013 gl_STDIO_MODULE_INDICATOR([fread])
1014 dnl No need to create extra modules for these functions. Everyone who uses
1015 dnl <stdio.h> likely needs them.
1016 gl_STDIO_MODULE_INDICATOR([fprintf])
1017 gl_STDIO_MODULE_INDICATOR([printf])
1018 gl_STDIO_MODULE_INDICATOR([vfprintf])
1019 gl_STDIO_MODULE_INDICATOR([vprintf])
1020 gl_STDIO_MODULE_INDICATOR([fputc])
1021 gl_STDIO_MODULE_INDICATOR([putc])
1022 gl_STDIO_MODULE_INDICATOR([putchar])
1023 gl_STDIO_MODULE_INDICATOR([fputs])
1024 gl_STDIO_MODULE_INDICATOR([puts])
1025 gl_STDIO_MODULE_INDICATOR([fwrite])
1027 gl_STDLIB_H_REQUIRE_DEFAULTS
1029 if test $HAVE_STRCASECMP = 0; then
1030 AC_LIBOBJ([strcasecmp])
1031 gl_PREREQ_STRCASECMP
1033 if test $HAVE_STRNCASECMP = 0; then
1034 AC_LIBOBJ([strncasecmp])
1035 gl_PREREQ_STRNCASECMP
1038 if test $REPLACE_STRERROR = 1; then
1039 AC_LIBOBJ([strerror])
1041 gl_MODULE_INDICATOR([strerror])
1042 gl_STRING_MODULE_INDICATOR([strerror])
1043 AC_REQUIRE([gl_HEADER_ERRNO_H])
1044 AC_REQUIRE([gl_FUNC_STRERROR_0])
1045 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
1046 AC_LIBOBJ([strerror-override])
1047 gl_PREREQ_SYS_H_WINSOCK2
1049 if test $gl_cond_libtool = false; then
1050 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
1051 gl_libdeps="$gl_libdeps $LIBICONV"
1054 gl_STRING_H_REQUIRE_DEFAULTS
1056 gl_STRINGS_H_REQUIRE_DEFAULTS
1058 if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
1059 AC_LIBOBJ([strnlen])
1062 gl_STRING_MODULE_INDICATOR([strnlen])
1064 if test $HAVE_STRPTIME = 0; then
1065 AC_LIBOBJ([strptime])
1068 gl_TIME_MODULE_INDICATOR([strptime])
1070 if test $HAVE_DECL_STRTOIMAX = 0 || test $REPLACE_STRTOIMAX = 1; then
1071 AC_LIBOBJ([strtoimax])
1074 gl_INTTYPES_MODULE_INDICATOR([strtoimax])
1076 if test $HAVE_STRTOLL = 0 || test $REPLACE_STRTOLL = 1; then
1077 AC_LIBOBJ([strtoll])
1080 gl_STDLIB_MODULE_INDICATOR([strtoll])
1082 gl_SYS_RANDOM_H_REQUIRE_DEFAULTS
1085 gl_SYS_STAT_H_REQUIRE_DEFAULTS
1088 gl_SYS_TIME_H_REQUIRE_DEFAULTS
1091 gl_SYS_TYPES_H_REQUIRE_DEFAULTS
1094 gl_SYS_WAIT_H_REQUIRE_DEFAULTS
1096 AC_REQUIRE([AC_C_RESTRICT])
1097 gl_FUNC_GEN_TEMPNAME
1098 gl_MODULE_INDICATOR([tempname])
1099 AC_REQUIRE([gl_THREADLIB])
1101 gl_TIME_H_REQUIRE_DEFAULTS
1103 if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
1107 gl_TIME_MODULE_INDICATOR([time_r])
1109 if test $HAVE_TIMEZONE_T = 0; then
1110 AC_LIBOBJ([time_rz])
1112 gl_TIME_MODULE_INDICATOR([time_rz])
1114 if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then
1118 gl_TIME_MODULE_INDICATOR([timegm])
1121 if test $REPLACE_TZSET = 1; then
1124 gl_TIME_MODULE_INDICATOR([tzset])
1126 gl_UNISTD_H_REQUIRE_DEFAULTS
1127 gl_LIBUNISTRING_LIBHEADER([0.9.11], [unistr.h])
1128 gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
1129 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
1130 gl_MODULE_INDICATOR([unistr/u8-uctomb])
1131 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
1132 gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])
1133 AH_VERBATIM([unitypes_restrict], [
1134 /* This definition is a duplicate of the one in unitypes.h.
1135 It is here so that we can cope with an older version of unitypes.h
1136 that does not contain this definition and that is pre-installed among
1137 the public header files. */
1138 # if defined __restrict \
1139 || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
1140 || __clang_major__ >= 3
1141 # define _UC_RESTRICT __restrict
1142 # elif 199901L <= __STDC_VERSION__ || defined restrict
1143 # define _UC_RESTRICT restrict
1145 # define _UC_RESTRICT
1148 gl_LIBUNISTRING_LIBHEADER([0.9.11], [uniwidth.h])
1149 gl_LIBUNISTRING_MODULE([0.9.8], [uniwidth/width])
1150 AC_DEFINE([GNULIB_STDIO_SINGLE_THREAD], [1],
1151 [Define to 1 if you want the FILE stream functions getc, putc, etc.
1152 to use unlocked I/O if available, throughout the package.
1153 Unlocked I/O can improve performance, sometimes dramatically.
1154 But unlocked I/O is safe only in single-threaded programs,
1155 as well as in multithreaded programs for which you can guarantee that
1156 every FILE stream, including stdin, stdout, stderr, is used only
1157 in a single thread.])
1158 AC_DEFINE([USE_UNLOCKED_IO], [GNULIB_STDIO_SINGLE_THREAD],
1159 [An alias of GNULIB_STDIO_SINGLE_THREAD.])
1160 gl_FUNC_GLIBC_UNLOCKED_IO
1162 if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
1163 AC_LIBOBJ([unsetenv])
1166 gl_STDLIB_MODULE_INDICATOR([unsetenv])
1167 AC_REQUIRE([AC_C_RESTRICT])
1170 gl_STDIO_MODULE_INDICATOR([vasprintf])
1171 m4_ifdef([AM_XGETTEXT_OPTION],
1172 [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
1173 AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
1176 gl_WCHAR_H_REQUIRE_DEFAULTS
1178 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
1179 AC_LIBOBJ([wcrtomb])
1182 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
1184 gl_WCTYPE_H_REQUIRE_DEFAULTS
1186 if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
1187 AC_LIBOBJ([wcwidth])
1190 gl_WCHAR_MODULE_INDICATOR([wcwidth])
1191 AC_REQUIRE([AC_CANONICAL_HOST])
1194 AC_LIBOBJ([windows-mutex])
1197 AC_REQUIRE([AC_CANONICAL_HOST])
1200 AC_LIBOBJ([windows-once])
1203 AC_REQUIRE([AC_CANONICAL_HOST])
1206 AC_LIBOBJ([windows-recmutex])
1209 AC_REQUIRE([AC_CANONICAL_HOST])
1212 AC_LIBOBJ([windows-rwlock])
1216 if test $HAVE_WMEMCHR = 0; then
1217 AC_LIBOBJ([wmemchr])
1219 gl_WCHAR_MODULE_INDICATOR([wmemchr])
1221 if test $HAVE_WMEMPCPY = 0; then
1222 AC_LIBOBJ([wmempcpy])
1224 gl_WCHAR_MODULE_INDICATOR([wmempcpy])
1226 gl_MODULE_INDICATOR([xalloc])
1227 gl_MODULE_INDICATOR([xalloc-die])
1231 m4_ifdef([AM_XGETTEXT_OPTION],
1232 [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
1233 # End of code from modules
1234 m4_ifval(gl_LIBSOURCES_LIST, [
1235 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
1236 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
1237 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
1238 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
1242 m4_if(m4_sysval, [0], [],
1243 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1245 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
1246 m4_popdef([GL_MACRO_PREFIX])
1247 m4_popdef([gl_LIBSOURCES_DIR])
1248 m4_popdef([gl_LIBSOURCES_LIST])
1249 m4_popdef([AC_LIBSOURCES])
1250 m4_popdef([AC_REPLACE_FUNCS])
1251 m4_popdef([AC_LIBOBJ])
1252 AC_CONFIG_COMMANDS_PRE([
1255 if test -n "$gl_LIBOBJS"; then
1256 # Remove the extension.
1257 sed_drop_objext='s/\.o$//;s/\.obj$//'
1258 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1259 gl_libobjs="$gl_libobjs $i.$ac_objext"
1260 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
1263 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
1264 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
1268 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
1269 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
1270 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
1271 m4_pushdef([gltests_LIBSOURCES_LIST], [])
1272 m4_pushdef([gltests_LIBSOURCES_DIR], [])
1273 m4_pushdef([GL_MACRO_PREFIX], [gltests])
1274 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
1276 AC_REQUIRE([gl_CC_ALLOW_WARNINGS])
1277 AC_REQUIRE([gl_CXX_ALLOW_WARNINGS])
1278 gl_source_base='gnulib-tests'
1280 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
1281 changequote([, ])dnl
1282 AC_SUBST([gltests_WITNESS])
1283 gl_module_indicator_condition=$gltests_WITNESS
1284 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
1285 AC_REQUIRE([gl_SYS_SOCKET_H])
1286 if test "$ac_cv_header_winsock2_h" = yes; then
1289 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
1291 gl_ARPA_INET_H_REQUIRE_DEFAULTS
1294 if test $HAVE_ATOLL = 0; then
1298 gl_STDLIB_MODULE_INDICATOR([atoll])
1299 AC_REQUIRE([gl_SYS_SOCKET_H])
1300 if test "$ac_cv_header_winsock2_h" = yes; then
1303 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
1308 AC_REQUIRE([gl_SYS_SOCKET_H])
1309 if test "$ac_cv_header_winsock2_h" = yes; then
1310 AC_LIBOBJ([connect])
1312 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
1314 if test $REPLACE_FDOPEN = 1; then
1318 gl_STDIO_MODULE_INDICATOR([fdopen])
1320 if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
1321 AC_LIBOBJ([ftruncate])
1324 gl_UNISTD_MODULE_INDICATOR([ftruncate])
1326 if test $REPLACE_GETCWD = 1; then
1327 AC_LIBOBJ([getcwd-lgpl])
1329 gl_UNISTD_MODULE_INDICATOR([getcwd])
1331 dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2.
1332 AC_CHECK_FUNCS_ONCE([duplocale])
1334 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then
1335 AC_LIBOBJ([inet_pton])
1338 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
1341 if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
1344 gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
1353 AC_REQUIRE([gl_SYS_SOCKET_H])
1354 if test "$ac_cv_header_winsock2_h" = yes; then
1357 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
1358 AC_CHECK_FUNCS_ONCE([newlocale])
1371 dnl Check for prerequisites for memory fence checks.
1373 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1374 AC_CHECK_FUNCS_ONCE([mprotect])
1376 if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
1377 AC_LIBOBJ([nanosleep])
1380 gl_TIME_MODULE_INDICATOR([nanosleep])
1381 AC_CHECK_DECLS_ONCE([alarm])
1382 gl_HEADER_NETINET_IN
1387 if test $REPLACE_PERROR = 1; then
1390 gl_STRING_MODULE_INDICATOR([perror])
1392 if test $HAVE_PIPE = 0; then
1395 gl_UNISTD_MODULE_INDICATOR([pipe])
1397 gl_PTHREAD_H_REQUIRE_DEFAULTS
1399 if test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1; then
1400 AC_LIBOBJ([pthread-thread])
1402 gl_PTHREAD_MODULE_INDICATOR([pthread-thread])
1403 gl_FUNC_PTHREAD_SIGMASK
1404 if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then
1405 AC_LIBOBJ([pthread_sigmask])
1406 gl_PREREQ_PTHREAD_SIGMASK
1408 gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])
1410 if test $REPLACE_PUTENV = 1; then
1414 gl_STDLIB_MODULE_INDICATOR([putenv])
1415 dnl Check for prerequisites for memory fence checks.
1416 dnl FIXME: zerosize-ptr.h requires these: make a module for it
1418 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1419 AC_CHECK_FUNCS_ONCE([mprotect])
1420 dnl Check for prerequisites for memory fence checks.
1422 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1423 AC_CHECK_FUNCS_ONCE([mprotect])
1425 gl_SCHED_H_REQUIRE_DEFAULTS
1427 if test $REPLACE_SELECT = 1; then
1430 gl_SYS_SELECT_MODULE_INDICATOR([select])
1431 AC_CHECK_HEADERS_ONCE([sys/wait.h])
1432 AC_REQUIRE([gl_SYS_SOCKET_H])
1433 if test "$ac_cv_header_winsock2_h" = yes; then
1434 AC_LIBOBJ([setsockopt])
1436 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
1438 if test $HAVE_SIGACTION = 0; then
1439 AC_LIBOBJ([sigaction])
1442 gl_SIGNAL_MODULE_INDICATOR([sigaction])
1444 if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
1445 AC_LIBOBJ([sigprocmask])
1446 gl_PREREQ_SIGPROCMASK
1448 gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
1449 AC_CHECK_FUNCS_ONCE([setrlimit])
1452 if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
1455 gl_UNISTD_MODULE_INDICATOR([sleep])
1456 AC_CHECK_DECLS_ONCE([alarm])
1458 gl_STDIO_MODULE_INDICATOR([snprintf])
1459 gl_MODULE_INDICATOR([snprintf])
1460 AC_REQUIRE([gl_SYS_SOCKET_H])
1461 if test "$ac_cv_header_winsock2_h" = yes; then
1464 # When this module is used, sockets may actually occur as file descriptors,
1465 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
1466 m4_ifdef([gl_UNISTD_H_DEFAULTS], [gl_UNISTD_H_REQUIRE_DEFAULTS])
1467 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [gl_SYS_IOCTL_H_REQUIRE_DEFAULTS])
1468 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
1469 if test "$ac_cv_header_winsock2_h" = yes; then
1470 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1471 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1473 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
1474 AC_REQUIRE([gl_SOCKETLIB])
1475 AC_REQUIRE([gl_SOCKETS])
1477 AC_REQUIRE([gt_TYPE_WCHAR_T])
1478 AC_REQUIRE([gt_TYPE_WINT_T])
1480 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
1481 AC_LIBOBJ([strerror_r])
1482 gl_PREREQ_STRERROR_R
1484 gl_STRING_MODULE_INDICATOR([strerror_r])
1485 dnl For the modules argp, error.
1486 gl_MODULE_INDICATOR([strerror_r-posix])
1487 dnl Check for prerequisites for memory fence checks.
1489 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1490 AC_CHECK_FUNCS_ONCE([mprotect])
1492 if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
1493 AC_LIBOBJ([symlink])
1495 gl_UNISTD_MODULE_INDICATOR([symlink])
1497 gl_SYS_IOCTL_H_REQUIRE_DEFAULTS
1500 gl_SYS_SELECT_H_REQUIRE_DEFAULTS
1503 gl_SYS_SOCKET_H_REQUIRE_DEFAULTS
1505 AC_CHECK_FUNCS_ONCE([shutdown])
1507 gl_SYS_UIO_H_REQUIRE_DEFAULTS
1510 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1511 AC_SUBST([abs_aux_dir])
1512 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1513 AC_SUBST([abs_aux_dir])
1519 if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
1523 gl_WCHAR_MODULE_INDICATOR([wctob])
1525 if test $REPLACE_WCTOMB = 1; then
1529 gl_STDLIB_MODULE_INDICATOR([wctomb])
1530 AC_REQUIRE([AC_CANONICAL_HOST])
1533 AC_LIBOBJ([windows-thread])
1536 AC_REQUIRE([AC_CANONICAL_HOST])
1539 AC_LIBOBJ([windows-tls])
1542 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
1543 m4_ifval(gltests_LIBSOURCES_LIST, [
1544 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
1545 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
1546 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
1547 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
1551 m4_if(m4_sysval, [0], [],
1552 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1554 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
1555 m4_popdef([GL_MACRO_PREFIX])
1556 m4_popdef([gltests_LIBSOURCES_DIR])
1557 m4_popdef([gltests_LIBSOURCES_LIST])
1558 m4_popdef([AC_LIBSOURCES])
1559 m4_popdef([AC_REPLACE_FUNCS])
1560 m4_popdef([AC_LIBOBJ])
1561 AC_CONFIG_COMMANDS_PRE([
1564 if test -n "$gltests_LIBOBJS"; then
1565 # Remove the extension.
1566 sed_drop_objext='s/\.o$//;s/\.obj$//'
1567 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1568 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
1569 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
1572 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
1573 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
1575 LIBDIFFUTILS_LIBDEPS="$gl_libdeps"
1576 AC_SUBST([LIBDIFFUTILS_LIBDEPS])
1577 LIBDIFFUTILS_LTLIBDEPS="$gl_ltlibdeps"
1578 AC_SUBST([LIBDIFFUTILS_LTLIBDEPS])
1579 LIBTESTS_LIBDEPS="$gltests_libdeps"
1580 AC_SUBST([LIBTESTS_LIBDEPS])
1583 # Like AC_LIBOBJ, except that the module name goes
1584 # into gl_LIBOBJS instead of into LIBOBJS.
1585 AC_DEFUN([gl_LIBOBJ], [
1586 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
1587 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
1590 # Like AC_REPLACE_FUNCS, except that the module name goes
1591 # into gl_LIBOBJS instead of into LIBOBJS.
1592 AC_DEFUN([gl_REPLACE_FUNCS], [
1593 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1594 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
1597 # Like AC_LIBSOURCES, except the directory where the source file is
1598 # expected is derived from the gnulib-tool parameterization,
1599 # and alloca is special cased (for the alloca-opt module).
1600 # We could also entirely rely on EXTRA_lib..._SOURCES.
1601 AC_DEFUN([gl_LIBSOURCES], [
1602 m4_foreach([_gl_NAME], [$1], [
1603 m4_if(_gl_NAME, [alloca.c], [], [
1604 m4_define([gl_LIBSOURCES_DIR], [lib])
1605 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
1610 # Like AC_LIBOBJ, except that the module name goes
1611 # into gltests_LIBOBJS instead of into LIBOBJS.
1612 AC_DEFUN([gltests_LIBOBJ], [
1613 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
1614 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
1617 # Like AC_REPLACE_FUNCS, except that the module name goes
1618 # into gltests_LIBOBJS instead of into LIBOBJS.
1619 AC_DEFUN([gltests_REPLACE_FUNCS], [
1620 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1621 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
1624 # Like AC_LIBSOURCES, except the directory where the source file is
1625 # expected is derived from the gnulib-tool parameterization,
1626 # and alloca is special cased (for the alloca-opt module).
1627 # We could also entirely rely on EXTRA_lib..._SOURCES.
1628 AC_DEFUN([gltests_LIBSOURCES], [
1629 m4_foreach([_gl_NAME], [$1], [
1630 m4_if(_gl_NAME, [alloca.c], [], [
1631 m4_define([gltests_LIBSOURCES_DIR], [gnulib-tests])
1632 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
1637 # This macro records the list of files which have been installed by
1638 # gnulib-tool and may be removed by future gnulib-tool invocations.
1639 AC_DEFUN([gl_FILE_LIST], [
1640 build-aux/announce-gen
1641 build-aux/config.rpath
1642 build-aux/do-release-commit-and-tag
1643 build-aux/gendocs.sh
1644 build-aux/git-version-gen
1645 build-aux/gitlog-to-changelog
1646 build-aux/gnu-web-doc-update
1648 build-aux/update-copyright
1649 build-aux/useless-if-before-free
1650 build-aux/vc-list-files
1652 doc/gendocs_template
1653 doc/gendocs_template_min
1713 lib/filenamecat-lgpl.c
1728 lib/getopt-cdefs.in.h
1731 lib/getopt-pfx-core.h
1732 lib/getopt-pfx-ext.h
1746 lib/glthread/threadlib.c
1756 lib/iconv_open-aix.gperf
1757 lib/iconv_open-hpux.gperf
1758 lib/iconv_open-irix.gperf
1759 lib/iconv_open-osf.gperf
1760 lib/iconv_open-solaris.gperf
1761 lib/iconv_open-zos.gperf
1776 lib/lc-charset-dispatch.c
1777 lib/lc-charset-dispatch.h
1786 lib/malloc/dynarray-skeleton.c
1787 lib/malloc/dynarray.h
1788 lib/malloc/dynarray_at_failure.c
1789 lib/malloc/dynarray_emplace_enlarge.c
1790 lib/malloc/dynarray_finalize.c
1791 lib/malloc/dynarray_resize.c
1792 lib/malloc/dynarray_resize_clear.c
1799 lib/mbrtowc-impl-utf8.h
1805 lib/mbsrtowcs-impl.h
1806 lib/mbsrtowcs-state.c
1821 lib/mktime-internal.h
1827 lib/nl_langinfo-lock.c
1846 lib/rawmemchr.valgrind
1853 lib/regex_internal.c
1854 lib/regex_internal.h
1857 lib/setlocale-lock.c
1858 lib/setlocale_null.c
1859 lib/setlocale_null.h
1886 lib/strerror-override.c
1887 lib/strerror-override.h
1927 lib/unistr/u8-mbtoucr.c
1928 lib/unistr/u8-uctomb-aux.c
1929 lib/unistr/u8-uctomb.c
1933 lib/uniwidth/width.c
1940 lib/version-etc-fsf.c
1949 lib/windows-initguard.h
1954 lib/windows-recmutex.c
1955 lib/windows-recmutex.h
1956 lib/windows-rwlock.c
1957 lib/windows-rwlock.h
1962 lib/xalloc-oversized.h
1986 m4/absolute-header.m4
1989 m4/asm-underscore.m4
1992 m4/builtin-expect.m4
2000 m4/double-slash-root.m4
2034 m4/host-cpu-c-abi.m4
2056 m4/libunistring-base.m4
2069 m4/manywarnings-c++.m4
2106 m4/pthread-thread.m4
2108 m4/pthread_rwlock_rdlock.m4
2109 m4/pthread_sigmask.m4
2122 m4/setlocale_null.m4
2126 m4/signalblocking.m4
2135 m4/stack-direction.m4
2200 tests/altstack-util.h
2204 tests/mmap-anon-util.h
2208 tests/test-alloca-opt.c
2209 tests/test-areadlink.c
2210 tests/test-areadlink.h
2211 tests/test-argmatch.c
2212 tests/test-arpa_inet.c
2213 tests/test-binary-io.c
2214 tests/test-binary-io.sh
2216 tests/test-bitrotate.c
2218 tests/test-btowc1.sh
2219 tests/test-btowc2.sh
2220 tests/test-c-ctype.c
2221 tests/test-c-stack.c
2222 tests/test-c-stack.sh
2223 tests/test-c-stack2.sh
2224 tests/test-c-strcase.sh
2225 tests/test-c-strcasecmp.c
2226 tests/test-c-strncasecmp.c
2227 tests/test-calloc-gnu.c
2228 tests/test-cloexec.c
2230 tests/test-connect.c
2232 tests/test-dirname.c
2234 tests/test-dynarray.c
2235 tests/test-environ.c
2237 tests/test-exclude.c
2238 tests/test-exclude1.sh
2239 tests/test-exclude2.sh
2240 tests/test-exclude3.sh
2241 tests/test-exclude4.sh
2242 tests/test-exclude5.sh
2243 tests/test-exclude6.sh
2244 tests/test-exclude7.sh
2245 tests/test-exclude8.sh
2246 tests/test-fcntl-h.c
2250 tests/test-filenamecat.c
2252 tests/test-fnmatch-h.c
2253 tests/test-fnmatch.c
2254 tests/test-fopen-gnu.c
2260 tests/test-freopen.c
2262 tests/test-ftruncate.c
2263 tests/test-ftruncate.sh
2265 tests/test-getcwd-lgpl.c
2266 tests/test-getdtablesize.c
2267 tests/test-getopt-gnu.c
2268 tests/test-getopt-main.h
2269 tests/test-getopt-posix.c
2271 tests/test-getopt_long.h
2272 tests/test-getprogname.c
2273 tests/test-getrandom.c
2274 tests/test-gettimeofday.c
2275 tests/test-hard-locale.c
2277 tests/test-iconv-h.c
2279 tests/test-ignore-value.c
2280 tests/test-inet_pton.c
2282 tests/test-intprops.c
2283 tests/test-inttostr.c
2284 tests/test-inttypes.c
2286 tests/test-isblank.c
2287 tests/test-iswblank.c
2288 tests/test-iswdigit.c
2289 tests/test-iswdigit.sh
2290 tests/test-iswxdigit.c
2291 tests/test-iswxdigit.sh
2292 tests/test-langinfo.c
2293 tests/test-limits-h.c
2295 tests/test-localcharset.c
2297 tests/test-localeconv.c
2300 tests/test-malloc-gnu.c
2301 tests/test-malloca.c
2302 tests/test-mbrtowc-w32-1.sh
2303 tests/test-mbrtowc-w32-2.sh
2304 tests/test-mbrtowc-w32-3.sh
2305 tests/test-mbrtowc-w32-4.sh
2306 tests/test-mbrtowc-w32-5.sh
2307 tests/test-mbrtowc-w32-6.sh
2308 tests/test-mbrtowc-w32-7.sh
2309 tests/test-mbrtowc-w32.c
2310 tests/test-mbrtowc.c
2311 tests/test-mbrtowc1.sh
2312 tests/test-mbrtowc2.sh
2313 tests/test-mbrtowc3.sh
2314 tests/test-mbrtowc4.sh
2315 tests/test-mbrtowc5.sh
2316 tests/test-mbscasecmp.c
2317 tests/test-mbscasecmp.sh
2318 tests/test-mbsinit.c
2319 tests/test-mbsinit.sh
2320 tests/test-mbsrtowcs.c
2321 tests/test-mbsrtowcs1.sh
2322 tests/test-mbsrtowcs2.sh
2323 tests/test-mbsrtowcs3.sh
2324 tests/test-mbsrtowcs4.sh
2325 tests/test-mbsstr1.c
2326 tests/test-mbsstr2.c
2327 tests/test-mbsstr2.sh
2328 tests/test-mbsstr3.c
2329 tests/test-mbsstr3.sh
2333 tests/test-nanosleep.c
2334 tests/test-netinet_in.c
2335 tests/test-nl_langinfo-mt.c
2336 tests/test-nl_langinfo.c
2337 tests/test-nl_langinfo.sh
2338 tests/test-nstrftime.c
2341 tests/test-pathmax.c
2343 tests/test-perror.sh
2344 tests/test-perror2.c
2346 tests/test-pthread-thread.c
2347 tests/test-pthread.c
2348 tests/test-pthread_sigmask1.c
2349 tests/test-pthread_sigmask2.c
2350 tests/test-quotearg-simple.c
2351 tests/test-quotearg.h
2353 tests/test-rawmemchr.c
2354 tests/test-readlink.c
2355 tests/test-readlink.h
2356 tests/test-realloc-gnu.c
2357 tests/test-reallocarray.c
2360 tests/test-select-fd.c
2361 tests/test-select-in.sh
2362 tests/test-select-out.sh
2363 tests/test-select-stdin.c
2367 tests/test-setlocale_null-mt-all.c
2368 tests/test-setlocale_null-mt-one.c
2369 tests/test-setlocale_null.c
2370 tests/test-setsockopt.c
2371 tests/test-sh-quote.c
2372 tests/test-sigaction.c
2373 tests/test-signal-h.c
2374 tests/test-sigprocmask.c
2375 tests/test-sigsegv-catch-segv1.c
2376 tests/test-sigsegv-catch-segv2.c
2377 tests/test-sigsegv-catch-stackoverflow1.c
2378 tests/test-sigsegv-catch-stackoverflow2.c
2380 tests/test-snprintf.c
2381 tests/test-sockets.c
2382 tests/test-stat-time.c
2385 tests/test-stdalign.c
2386 tests/test-stdbool.c
2391 tests/test-strerror.c
2392 tests/test-strerror_r.c
2393 tests/test-striconv.c
2395 tests/test-strings.c
2396 tests/test-strnlen.c
2397 tests/test-strtoimax.c
2398 tests/test-strtoll.c
2399 tests/test-symlink.c
2400 tests/test-symlink.h
2401 tests/test-sys_ioctl.c
2402 tests/test-sys_random.c
2403 tests/test-sys_select.c
2404 tests/test-sys_socket.c
2405 tests/test-sys_stat.c
2406 tests/test-sys_time.c
2407 tests/test-sys_types.c
2408 tests/test-sys_uio.c
2409 tests/test-sys_wait.c
2410 tests/test-sys_wait.h
2411 tests/test-thread_create.c
2412 tests/test-thread_self.c
2414 tests/test-timespec.c
2416 tests/test-unsetenv.c
2417 tests/test-update-copyright.sh
2418 tests/test-vasnprintf.c
2419 tests/test-vasprintf.c
2420 tests/test-vc-list-files-cvs.sh
2421 tests/test-vc-list-files-git.sh
2422 tests/test-verify-try.c
2424 tests/test-verify.sh
2425 tests/test-version-etc.c
2426 tests/test-version-etc.sh
2428 tests/test-wcrtomb-w32-1.sh
2429 tests/test-wcrtomb-w32-2.sh
2430 tests/test-wcrtomb-w32-3.sh
2431 tests/test-wcrtomb-w32-4.sh
2432 tests/test-wcrtomb-w32-5.sh
2433 tests/test-wcrtomb-w32-6.sh
2434 tests/test-wcrtomb-w32-7.sh
2435 tests/test-wcrtomb-w32.c
2436 tests/test-wcrtomb.c
2437 tests/test-wcrtomb.sh
2438 tests/test-wctype-h.c
2439 tests/test-wcwidth.c
2440 tests/test-xalloc-die.c
2441 tests/test-xalloc-die.sh
2442 tests/test-xstdopen.c
2443 tests/test-xstdopen.sh
2444 tests/test-xstrtoimax.c
2445 tests/test-xstrtoimax.sh
2446 tests/test-xstrtol.c
2447 tests/test-xstrtol.sh
2448 tests/test-xstrtoul.c
2449 tests/test-xvasprintf.c
2450 tests/unistr/test-u8-mbtoucr.c
2451 tests/unistr/test-u8-uctomb.c
2452 tests/uniwidth/test-uc_width.c
2453 tests/uniwidth/test-uc_width2.c
2454 tests/uniwidth/test-uc_width2.sh
2455 tests/zerosize-ptr.h
2456 tests=lib/_Noreturn.h
2459 tests=lib/arg-nonnull.h
2460 tests=lib/arpa_inet.in.h
2465 tests=lib/dtotimespec.c
2468 tests=lib/ftruncate.c
2469 tests=lib/getcwd-lgpl.c
2470 tests=lib/glthread/thread.c
2471 tests=lib/glthread/thread.h
2472 tests=lib/hash-pjw.c
2473 tests=lib/hash-pjw.h
2474 tests=lib/inet_pton.c
2477 tests=lib/nanosleep.c
2478 tests=lib/netinet_in.in.h
2481 tests=lib/pthread-thread.c
2482 tests=lib/pthread.in.h
2483 tests=lib/pthread_sigmask.c
2485 tests=lib/same-inode.h
2486 tests=lib/sched.in.h
2488 tests=lib/setsockopt.c
2489 tests=lib/sig-handler.c
2490 tests=lib/sig-handler.h
2491 tests=lib/sigaction.c
2492 tests=lib/sigprocmask.c
2494 tests=lib/snprintf.c
2498 tests=lib/strerror_r.c
2500 tests=lib/sys_ioctl.in.h
2501 tests=lib/sys_select.in.h
2502 tests=lib/sys_socket.c
2503 tests=lib/sys_socket.in.h
2504 tests=lib/sys_uio.in.h
2505 tests=lib/timespec-add.c
2506 tests=lib/timespec-sub.c
2508 tests=lib/warn-on-use.h
2510 tests=lib/wctomb-impl.h
2512 tests=lib/windows-thread.c
2513 tests=lib/windows-thread.h
2514 tests=lib/windows-tls.c
2515 tests=lib/windows-tls.h
2516 tests=lib/xstrtol-error.c
2517 tests=lib/xstrtol-error.h