Debian Codegraph @

m4/gnulib-comp.m4

raw
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2020 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 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 alignof:
50 # Code from module alignof-tests:
51 # Code from module alloca:
52 # Code from module alloca-opt:
53 # Code from module alloca-opt-tests:
54 # Code from module announce-gen:
55 # Code from module argmatch:
56 # Code from module argmatch-tests:
57 # Code from module argv-iter:
58 # Code from module argv-iter-tests:
59 # Code from module arpa_inet:
60 # Code from module arpa_inet-tests:
61 # Code from module assure:
62 # Code from module at-internal:
63 # Code from module autobuild:
64 AB_INIT
65 # Code from module binary-io:
66 # Code from module binary-io-tests:
67 # Code from module bind:
68 # Code from module bind-tests:
69 # Code from module bitrotate:
70 # Code from module bitrotate-tests:
71 # Code from module btowc:
72 # Code from module btowc-tests:
73 # Code from module builtin-expect:
74 # Code from module c-ctype:
75 # Code from module c-ctype-tests:
76 # Code from module c-strcase:
77 # Code from module c-strcase-tests:
78 # Code from module c-strcaseeq:
79 # Code from module c99:
80 # Code from module calloc-gnu:
81 # Code from module calloc-gnu-tests:
82 # Code from module calloc-posix:
83 # Code from module chdir:
84 # Code from module chdir-long:
85 # Code from module chdir-tests:
86 # Code from module cloexec:
87 # Code from module cloexec-tests:
88 # Code from module close:
89 # Code from module close-stream:
90 # Code from module close-tests:
91 # Code from module closedir:
92 # Code from module closeout:
93 # Code from module connect:
94 # Code from module connect-tests:
95 # Code from module ctype:
96 # Code from module ctype-tests:
97 # Code from module d-ino:
98 # Code from module dirent:
99 # Code from module dirent-tests:
100 # Code from module dirfd:
101 # Code from module dirname:
102 # Code from module dirname-lgpl:
103 # Code from module dirname-tests:
104 # Code from module do-release-commit-and-tag:
105 # Code from module double-slash-root:
106 # Code from module dup:
107 # Code from module dup-tests:
108 # Code from module dup2:
109 # Code from module dup2-tests:
110 # Code from module environ:
111 # Code from module environ-tests:
112 # Code from module errno:
113 # Code from module errno-tests:
114 # Code from module error:
115 # Code from module exclude:
116 # Code from module exclude-tests:
117 # Code from module exitfail:
118 # Code from module extensions:
119 # Code from module extern-inline:
120 # Code from module fchdir:
121 # Code from module fchdir-tests:
122 # Code from module fcntl:
123 # Code from module fcntl-h:
124 # Code from module fcntl-h-tests:
125 # Code from module fcntl-tests:
126 # Code from module fd-hook:
127 # Code from module fd-safer-flag:
128 # Code from module fdopen:
129 # Code from module fdopen-tests:
130 # Code from module fdopendir:
131 # Code from module fdopendir-tests:
132 # Code from module fflush:
133 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
134 # Code from module fflush-tests:
135 # Code from module fgetc-tests:
136 # Code from module filename:
137 # Code from module filenamecat-lgpl:
138 # Code from module flexmember:
139 # Code from module float:
140 # Code from module float-tests:
141 # Code from module fnmatch:
142 # Code from module fnmatch-gnu:
143 # Code from module fnmatch-h:
144 # Code from module fnmatch-h-tests:
145 # Code from module fnmatch-tests:
146 # Code from module fopen:
147 # Code from module fopen-tests:
148 # Code from module fpending:
149 # Code from module fpending-tests:
150 # Code from module fpieee:
151 AC_REQUIRE([gl_FP_IEEE])
152 # Code from module fprintf-posix:
153 # Code from module fprintf-posix-tests:
154 # Code from module fpucw:
155 # Code from module fpurge:
156 # Code from module fpurge-tests:
157 # Code from module fputc-tests:
158 # Code from module fread-tests:
159 # Code from module freading:
160 # Code from module freading-tests:
161 # Code from module freopen:
162 # Code from module freopen-tests:
163 # Code from module frexp-nolibm:
164 # Code from module frexp-nolibm-tests:
165 # Code from module frexpl-nolibm:
166 # Code from module frexpl-nolibm-tests:
167 # Code from module fseek:
168 # Code from module fseek-tests:
169 # Code from module fseeko:
170 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
171 # Code from module fseeko-tests:
172 # Code from module fseterr:
173 # Code from module fseterr-tests:
174 # Code from module fstat:
175 # Code from module fstat-tests:
176 # Code from module fstatat:
177 # Code from module fstatat-tests:
178 # Code from module ftell:
179 # Code from module ftell-tests:
180 # Code from module ftello:
181 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
182 # Code from module ftello-tests:
183 # Code from module ftruncate:
184 # Code from module ftruncate-tests:
185 # Code from module fwrite-tests:
186 # Code from module gendocs:
187 # Code from module get-rusage-as:
188 # Code from module get-rusage-as-tests:
189 # Code from module getcwd:
190 # Code from module getcwd-lgpl:
191 # Code from module getcwd-lgpl-tests:
192 # Code from module getcwd-tests:
193 # Code from module getdelim:
194 # Code from module getdelim-tests:
195 # Code from module getdtablesize:
196 # Code from module getdtablesize-tests:
197 # Code from module getopt-gnu:
198 # Code from module getopt-gnu-tests:
199 # Code from module getopt-posix:
200 # Code from module getopt-posix-tests:
201 # Code from module getpagesize:
202 # Code from module getprogname:
203 # Code from module getprogname-tests:
204 # Code from module gettext-h:
205 # Code from module gettimeofday:
206 # Code from module gettimeofday-tests:
207 # Code from module git-version-gen:
208 # Code from module gitlog-to-changelog:
209 # Code from module gnu-make:
210 # Code from module gnu-web-doc-update:
211 # Code from module gnumakefile:
212 # Code from module gnupload:
213 # Code from module hard-locale:
214 # Code from module hard-locale-tests:
215 # Code from module hash:
216 # Code from module hash-pjw:
217 # Code from module hash-tests:
218 # Code from module havelib:
219 # Code from module ignore-value:
220 # Code from module ignore-value-tests:
221 # Code from module include_next:
222 # Code from module inet_pton:
223 # Code from module inet_pton-tests:
224 # Code from module intprops:
225 # Code from module intprops-tests:
226 # Code from module inttostr:
227 # Code from module inttostr-tests:
228 # Code from module inttypes:
229 # Code from module inttypes-incomplete:
230 # Code from module inttypes-tests:
231 # Code from module ioctl:
232 # Code from module ioctl-tests:
233 # Code from module isblank:
234 # Code from module isblank-tests:
235 # Code from module isnand-nolibm:
236 # Code from module isnand-nolibm-tests:
237 # Code from module isnanf-nolibm:
238 # Code from module isnanf-nolibm-tests:
239 # Code from module isnanl-nolibm:
240 # Code from module isnanl-nolibm-tests:
241 # Code from module iswblank:
242 # Code from module iswblank-tests:
243 # Code from module iswdigit:
244 # Code from module iswdigit-tests:
245 # Code from module iswxdigit:
246 # Code from module iswxdigit-tests:
247 # Code from module langinfo:
248 # Code from module langinfo-tests:
249 # Code from module largefile:
250 AC_REQUIRE([AC_SYS_LARGEFILE])
251 # Code from module libc-config:
252 # Code from module limits-h:
253 # Code from module limits-h-tests:
254 # Code from module listen:
255 # Code from module listen-tests:
256 # Code from module localcharset:
257 # Code from module localcharset-tests:
258 # Code from module locale:
259 # Code from module locale-tests:
260 # Code from module localeconv:
261 # Code from module localeconv-tests:
262 # Code from module localename:
263 # Code from module localename-tests:
264 # Code from module localtime-buffer:
265 # Code from module lock:
266 # Code from module lock-tests:
267 # Code from module lseek:
268 # Code from module lseek-tests:
269 # Code from module lstat:
270 # Code from module lstat-tests:
271 # Code from module maintainer-makefile:
272 # Code from module malloc-gnu:
273 # Code from module malloc-gnu-tests:
274 # Code from module malloc-posix:
275 # Code from module malloca:
276 # Code from module malloca-tests:
277 # Code from module manywarnings:
278 # Code from module math:
279 # Code from module math-tests:
280 # Code from module mbchar:
281 # Code from module mbrtowc:
282 # Code from module mbrtowc-tests:
283 # Code from module mbscasecmp:
284 # Code from module mbscasecmp-tests:
285 # Code from module mbsinit:
286 # Code from module mbsinit-tests:
287 # Code from module mbsrtowcs:
288 # Code from module mbsrtowcs-tests:
289 # Code from module mbtowc:
290 # Code from module mbuiter:
291 # Code from module memchr:
292 # Code from module memchr-tests:
293 # Code from module mempcpy:
294 # Code from module memrchr:
295 # Code from module memrchr-tests:
296 # Code from module minmax:
297 # Code from module mkdir:
298 # Code from module mkdir-tests:
299 # Code from module msvc-inval:
300 # Code from module msvc-nothrow:
301 # Code from module multiarch:
302 # Code from module nanosleep:
303 # Code from module nanosleep-tests:
304 # Code from module netinet_in:
305 # Code from module netinet_in-tests:
306 # Code from module nl_langinfo:
307 # Code from module nl_langinfo-tests:
308 # Code from module nocrash:
309 # Code from module obstack:
310 # Code from module open:
311 # Code from module open-tests:
312 # Code from module openat:
313 # Code from module openat-die:
314 # Code from module openat-h:
315 # Code from module openat-tests:
316 # Code from module opendir:
317 # Code from module pathmax:
318 # Code from module pathmax-tests:
319 # Code from module perl:
320 # Code from module perror:
321 # Code from module perror-tests:
322 # Code from module pipe-posix:
323 # Code from module pipe-posix-tests:
324 # Code from module posix-shell:
325 # Code from module printf-frexp:
326 # Code from module printf-frexp-tests:
327 # Code from module printf-frexpl:
328 # Code from module printf-frexpl-tests:
329 # Code from module printf-posix:
330 # Code from module printf-posix-tests:
331 # Code from module printf-safe:
332 # Code from module progname:
333 # Code from module pthread-h:
334 gl_ANYTHREADLIB_EARLY
335 # Code from module pthread-h-tests:
336 # Code from module pthread-thread:
337 # Code from module pthread-thread-tests:
338 # Code from module pthread_sigmask:
339 # Code from module pthread_sigmask-tests:
340 # Code from module putenv:
341 # Code from module quote:
342 # Code from module quotearg:
343 # Code from module quotearg-simple:
344 # Code from module quotearg-simple-tests:
345 # Code from module raise:
346 # Code from module raise-tests:
347 # Code from module readdir:
348 # Code from module readme-release:
349 # Code from module realloc-gnu:
350 # Code from module realloc-gnu-tests:
351 # Code from module realloc-posix:
352 # Code from module regex:
353 # Code from module regex-tests:
354 # Code from module rewinddir:
355 # Code from module same-inode:
356 # Code from module save-cwd:
357 # Code from module sched:
358 # Code from module sched-tests:
359 # Code from module secure_getenv:
360 # Code from module select:
361 # Code from module select-tests:
362 # Code from module setenv:
363 # Code from module setenv-tests:
364 # Code from module setlocale:
365 # Code from module setlocale-null:
366 # Code from module setlocale-null-tests:
367 # Code from module setlocale-tests:
368 # Code from module setsockopt:
369 # Code from module setsockopt-tests:
370 # Code from module sigaction:
371 # Code from module sigaction-tests:
372 # Code from module signal-h:
373 # Code from module signal-h-tests:
374 # Code from module signbit:
375 # Code from module signbit-tests:
376 # Code from module sigprocmask:
377 # Code from module sigprocmask-tests:
378 # Code from module size_max:
379 # Code from module sleep:
380 # Code from module sleep-tests:
381 # Code from module snippet/_Noreturn:
382 # Code from module snippet/arg-nonnull:
383 # Code from module snippet/c++defs:
384 # Code from module snippet/unused-parameter:
385 # Code from module snippet/warn-on-use:
386 # Code from module snprintf:
387 # Code from module snprintf-tests:
388 # Code from module socket:
389 # Code from module socketlib:
390 # Code from module sockets:
391 # Code from module sockets-tests:
392 # Code from module socklen:
393 # Code from module sprintf-posix:
394 # Code from module sprintf-posix-tests:
395 # Code from module ssize_t:
396 # Code from module stat:
397 # Code from module stat-macros:
398 # Code from module stat-tests:
399 # Code from module stat-time:
400 # Code from module stat-time-tests:
401 # Code from module std-gnu11:
402 # Code from module stdalign:
403 # Code from module stdalign-tests:
404 # Code from module stdbool:
405 # Code from module stdbool-tests:
406 # Code from module stddef:
407 # Code from module stddef-tests:
408 # Code from module stdint:
409 # Code from module stdint-tests:
410 # Code from module stdio:
411 # Code from module stdio-tests:
412 # Code from module stdlib:
413 # Code from module stdlib-tests:
414 # Code from module strcase:
415 # Code from module strcasestr:
416 # Code from module strcasestr-simple:
417 # Code from module strcasestr-tests:
418 # Code from module strdup-posix:
419 # Code from module streq:
420 # Code from module strerror:
421 # Code from module strerror-override:
422 # Code from module strerror-tests:
423 # Code from module strerror_r-posix:
424 # Code from module strerror_r-posix-tests:
425 # Code from module string:
426 # Code from module string-tests:
427 # Code from module strings:
428 # Code from module strings-tests:
429 # Code from module strndup:
430 # Code from module strnlen:
431 # Code from module strnlen-tests:
432 # Code from module strnlen1:
433 # Code from module strsep:
434 # Code from module symlink:
435 # Code from module symlink-tests:
436 # Code from module sys_ioctl:
437 # Code from module sys_ioctl-tests:
438 # Code from module sys_select:
439 # Code from module sys_select-tests:
440 # Code from module sys_socket:
441 # Code from module sys_socket-tests:
442 # Code from module sys_stat:
443 # Code from module sys_stat-tests:
444 # Code from module sys_time:
445 # Code from module sys_time-tests:
446 # Code from module sys_types:
447 # Code from module sys_types-tests:
448 # Code from module sys_uio:
449 # Code from module sys_uio-tests:
450 # Code from module tempname:
451 # Code from module test-framework-sh:
452 # Code from module test-framework-sh-tests:
453 # Code from module thread:
454 # Code from module thread-tests:
455 # Code from module threadlib:
456 gl_THREADLIB_EARLY
457 # Code from module time:
458 # Code from module time-tests:
459 # Code from module tmpdir:
460 # Code from module tmpfile:
461 # Code from module unistd:
462 # Code from module unistd-safer:
463 # Code from module unistd-safer-tests:
464 # Code from module unistd-tests:
465 # Code from module unitypes:
466 # Code from module uniwidth/base:
467 # Code from module uniwidth/width:
468 # Code from module uniwidth/width-tests:
469 # Code from module unsetenv:
470 # Code from module unsetenv-tests:
471 # Code from module update-copyright:
472 # Code from module update-copyright-tests:
473 # Code from module useless-if-before-free:
474 # Code from module usleep:
475 # Code from module usleep-tests:
476 # Code from module vasnprintf:
477 # Code from module vasnprintf-tests:
478 # Code from module vc-list-files:
479 # Code from module vc-list-files-tests:
480 # Code from module verify:
481 # Code from module verify-tests:
482 # Code from module vfprintf-posix:
483 # Code from module vfprintf-posix-tests:
484 # Code from module vma-iter:
485 # Code from module warnings:
486 # Code from module wchar:
487 # Code from module wchar-tests:
488 # Code from module wcrtomb:
489 # Code from module wcrtomb-tests:
490 # Code from module wctob:
491 # Code from module wctomb:
492 # Code from module wctype-h:
493 # Code from module wctype-h-tests:
494 # Code from module wcwidth:
495 # Code from module wcwidth-tests:
496 # Code from module windows-mutex:
497 # Code from module windows-once:
498 # Code from module windows-recmutex:
499 # Code from module windows-rwlock:
500 # Code from module windows-thread:
501 # Code from module windows-tls:
502 # Code from module xalloc:
503 # Code from module xalloc-die:
504 # Code from module xalloc-die-tests:
505 # Code from module xalloc-oversized:
506 # Code from module xgetcwd:
507 # Code from module xsize:
508 # Code from module xstrndup:
509 # Code from module yield:
510 ])
511
512 # This macro should be invoked from ./configure.ac, in the section
513 # "Check for header files, types and library functions".
514 AC_DEFUN([gl_INIT],
515 [
516 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
517 gl_cond_libtool=false
518 gl_libdeps=
519 gl_ltlibdeps=
520 gl_m4_base='m4'
521 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
522 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
523 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
524 m4_pushdef([gl_LIBSOURCES_LIST], [])
525 m4_pushdef([gl_LIBSOURCES_DIR], [])
526 gl_COMMON
527 gl_source_base='lib'
528 gl_FUNC_ALLOCA
529 gl_FUNC_BTOWC
530 if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
531 AC_LIBOBJ([btowc])
532 gl_PREREQ_BTOWC
533 fi
534 gl_WCHAR_MODULE_INDICATOR([btowc])
535 gl___BUILTIN_EXPECT
536 gl_FUNC_CALLOC_GNU
537 if test $REPLACE_CALLOC = 1; then
538 AC_LIBOBJ([calloc])
539 fi
540 gl_MODULE_INDICATOR([calloc-gnu])
541 gl_FUNC_CALLOC_POSIX
542 if test $REPLACE_CALLOC = 1; then
543 AC_LIBOBJ([calloc])
544 fi
545 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
546 gl_UNISTD_MODULE_INDICATOR([chdir])
547 gl_FUNC_CHDIR_LONG
548 if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then
549 AC_LIBOBJ([chdir-long])
550 gl_PREREQ_CHDIR_LONG
551 fi
552 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
553 gl_FUNC_CLOSE
554 if test $REPLACE_CLOSE = 1; then
555 AC_LIBOBJ([close])
556 fi
557 gl_UNISTD_MODULE_INDICATOR([close])
558 gl_MODULE_INDICATOR([close-stream])
559 gl_FUNC_CLOSEDIR
560 if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
561 AC_LIBOBJ([closedir])
562 fi
563 gl_DIRENT_MODULE_INDICATOR([closedir])
564 gl_CHECK_TYPE_STRUCT_DIRENT_D_INO
565 gl_DIRENT_H
566 gl_FUNC_DIRFD
567 if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
568 || test $REPLACE_DIRFD = 1; then
569 AC_LIBOBJ([dirfd])
570 gl_PREREQ_DIRFD
571 fi
572 gl_DIRENT_MODULE_INDICATOR([dirfd])
573 gl_DIRNAME
574 gl_MODULE_INDICATOR([dirname])
575 gl_DIRNAME_LGPL
576 gl_DOUBLE_SLASH_ROOT
577 gl_FUNC_DUP
578 if test $REPLACE_DUP = 1; then
579 AC_LIBOBJ([dup])
580 gl_PREREQ_DUP
581 fi
582 gl_UNISTD_MODULE_INDICATOR([dup])
583 gl_FUNC_DUP2
584 if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
585 AC_LIBOBJ([dup2])
586 gl_PREREQ_DUP2
587 fi
588 gl_UNISTD_MODULE_INDICATOR([dup2])
589 gl_HEADER_ERRNO_H
590 gl_ERROR
591 if test $ac_cv_lib_error_at_line = no; then
592 AC_LIBOBJ([error])
593 gl_PREREQ_ERROR
594 fi
595 m4_ifdef([AM_XGETTEXT_OPTION],
596 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
597 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
598 AC_REQUIRE([gl_EXTERN_INLINE])
599 gl_FUNC_FCHDIR
600 gl_UNISTD_MODULE_INDICATOR([fchdir])
601 gl_FUNC_FCNTL
602 if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
603 AC_LIBOBJ([fcntl])
604 fi
605 gl_FCNTL_MODULE_INDICATOR([fcntl])
606 gl_FCNTL_H
607 gl_MODULE_INDICATOR([fd-safer-flag])
608 gl_FUNC_FDOPENDIR
609 if test $HAVE_FDOPENDIR = 0 || test $REPLACE_FDOPENDIR = 1; then
610 AC_LIBOBJ([fdopendir])
611 fi
612 gl_DIRENT_MODULE_INDICATOR([fdopendir])
613 gl_MODULE_INDICATOR([fdopendir])
614 gl_FUNC_FFLUSH
615 if test $REPLACE_FFLUSH = 1; then
616 AC_LIBOBJ([fflush])
617 gl_PREREQ_FFLUSH
618 fi
619 gl_MODULE_INDICATOR([fflush])
620 gl_STDIO_MODULE_INDICATOR([fflush])
621 gl_FILE_NAME_CONCAT_LGPL
622 AC_C_FLEXIBLE_ARRAY_MEMBER
623 gl_FLOAT_H
624 if test $REPLACE_FLOAT_LDBL = 1; then
625 AC_LIBOBJ([float])
626 fi
627 if test $REPLACE_ITOLD = 1; then
628 AC_LIBOBJ([itold])
629 fi
630 gl_FUNC_FNMATCH_POSIX
631 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
632 AC_LIBOBJ([fnmatch])
633 gl_PREREQ_FNMATCH
634 fi
635 gl_FNMATCH_MODULE_INDICATOR([fnmatch])
636 gl_FUNC_FNMATCH_GNU
637 if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
638 AC_LIBOBJ([fnmatch])
639 gl_PREREQ_FNMATCH
640 fi
641 gl_MODULE_INDICATOR([fnmatch-gnu])
642 gl_FNMATCH_H
643 gl_FUNC_FOPEN
644 if test $REPLACE_FOPEN = 1; then
645 AC_LIBOBJ([fopen])
646 gl_PREREQ_FOPEN
647 fi
648 gl_STDIO_MODULE_INDICATOR([fopen])
649 gl_FUNC_FPENDING
650 if test $gl_cv_func___fpending = no; then
651 AC_LIBOBJ([fpending])
652 fi
653 gl_FUNC_FPRINTF_POSIX
654 gl_STDIO_MODULE_INDICATOR([fprintf-posix])
655 gl_FUNC_FPURGE
656 if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
657 AC_LIBOBJ([fpurge])
658 fi
659 gl_STDIO_MODULE_INDICATOR([fpurge])
660 gl_FUNC_FREADING
661 gl_FUNC_FREOPEN
662 if test $REPLACE_FREOPEN = 1; then
663 AC_LIBOBJ([freopen])
664 gl_PREREQ_FREOPEN
665 fi
666 gl_STDIO_MODULE_INDICATOR([freopen])
667 gl_FUNC_FREXP_NO_LIBM
668 if test $gl_func_frexp_no_libm != yes; then
669 AC_LIBOBJ([frexp])
670 fi
671 gl_MATH_MODULE_INDICATOR([frexp])
672 gl_FUNC_FREXPL_NO_LIBM
673 if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
674 AC_LIBOBJ([frexpl])
675 fi
676 gl_MATH_MODULE_INDICATOR([frexpl])
677 gl_FUNC_FSEEK
678 if test $REPLACE_FSEEK = 1; then
679 AC_LIBOBJ([fseek])
680 fi
681 gl_STDIO_MODULE_INDICATOR([fseek])
682 gl_FUNC_FSEEKO
683 if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
684 AC_LIBOBJ([fseeko])
685 gl_PREREQ_FSEEKO
686 fi
687 gl_STDIO_MODULE_INDICATOR([fseeko])
688 gl_FUNC_FSETERR
689 if test $ac_cv_func___fseterr = no; then
690 AC_LIBOBJ([fseterr])
691 fi
692 gl_FUNC_FSTAT
693 if test $REPLACE_FSTAT = 1; then
694 AC_LIBOBJ([fstat])
695 case "$host_os" in
696 mingw*)
697 AC_LIBOBJ([stat-w32])
698 ;;
699 esac
700 gl_PREREQ_FSTAT
701 fi
702 gl_SYS_STAT_MODULE_INDICATOR([fstat])
703 gl_FUNC_FSTATAT
704 if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
705 AC_LIBOBJ([fstatat])
706 fi
707 gl_SYS_STAT_MODULE_INDICATOR([fstatat])
708 gl_FUNC_FTELL
709 if test $REPLACE_FTELL = 1; then
710 AC_LIBOBJ([ftell])
711 fi
712 gl_STDIO_MODULE_INDICATOR([ftell])
713 gl_FUNC_FTELLO
714 if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
715 AC_LIBOBJ([ftello])
716 gl_PREREQ_FTELLO
717 fi
718 gl_STDIO_MODULE_INDICATOR([ftello])
719 gl_FUNC_GETCWD
720 if test $REPLACE_GETCWD = 1; then
721 AC_LIBOBJ([getcwd])
722 gl_PREREQ_GETCWD
723 fi
724 gl_MODULE_INDICATOR([getcwd])
725 gl_UNISTD_MODULE_INDICATOR([getcwd])
726 gl_FUNC_GETCWD_LGPL
727 if test $REPLACE_GETCWD = 1; then
728 AC_LIBOBJ([getcwd-lgpl])
729 fi
730 gl_UNISTD_MODULE_INDICATOR([getcwd])
731 gl_FUNC_GETDELIM
732 if test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1; then
733 AC_LIBOBJ([getdelim])
734 gl_PREREQ_GETDELIM
735 fi
736 gl_STDIO_MODULE_INDICATOR([getdelim])
737 gl_FUNC_GETDTABLESIZE
738 if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
739 AC_LIBOBJ([getdtablesize])
740 gl_PREREQ_GETDTABLESIZE
741 fi
742 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
743 gl_FUNC_GETOPT_GNU
744 dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
745 dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
746 dnl done in the getopt-posix module.
747 gl_FUNC_GETOPT_POSIX
748 if test $REPLACE_GETOPT = 1; then
749 AC_LIBOBJ([getopt])
750 AC_LIBOBJ([getopt1])
751 dnl Arrange for unistd.h to include getopt.h.
752 GNULIB_GL_UNISTD_H_GETOPT=1
753 fi
754 AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
755 gl_UNISTD_MODULE_INDICATOR([getopt-posix])
756 gl_FUNC_GETPROGNAME
757 AC_SUBST([LIBINTL])
758 AC_SUBST([LTLIBINTL])
759 gl_GNU_MAKE
760 # Autoconf 2.61a.99 and earlier don't support linking a file only
761 # in VPATH builds. But since GNUmakefile is for maintainer use
762 # only, it does not matter if we skip the link with older autoconf.
763 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
764 # builds, so use a shell variable to bypass this.
765 GNUmakefile=GNUmakefile
766 m4_if(m4_version_compare([2.61a.100],
767 m4_defn([m4_PACKAGE_VERSION])), [1], [],
768 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
769 [GNUmakefile=$GNUmakefile])])
770 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
771 LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
772 AC_SUBST([LIB_HARD_LOCALE])
773 gl_INTTOSTR
774 gl_INTTYPES_INCOMPLETE
775 gl_FUNC_ISNAND_NO_LIBM
776 if test $gl_func_isnand_no_libm != yes; then
777 AC_LIBOBJ([isnand])
778 gl_PREREQ_ISNAND
779 fi
780 gl_FUNC_ISNANF_NO_LIBM
781 if test $gl_func_isnanf_no_libm != yes; then
782 AC_LIBOBJ([isnanf])
783 gl_PREREQ_ISNANF
784 fi
785 gl_FUNC_ISNANL_NO_LIBM
786 if test $gl_func_isnanl_no_libm != yes; then
787 AC_LIBOBJ([isnanl])
788 gl_PREREQ_ISNANL
789 fi
790 gl_FUNC_ISWBLANK
791 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
792 :
793 else
794 if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
795 AC_LIBOBJ([iswblank])
796 fi
797 fi
798 gl_WCTYPE_MODULE_INDICATOR([iswblank])
799 gl_FUNC_ISWDIGIT
800 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
801 :
802 else
803 if test $REPLACE_ISWDIGIT = 1; then
804 AC_LIBOBJ([iswdigit])
805 fi
806 fi
807 gl_WCTYPE_MODULE_INDICATOR([iswdigit])
808 gl_FUNC_ISWXDIGIT
809 if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
810 :
811 else
812 if test $REPLACE_ISWXDIGIT = 1; then
813 AC_LIBOBJ([iswxdigit])
814 fi
815 fi
816 gl_WCTYPE_MODULE_INDICATOR([iswxdigit])
817 gl_LANGINFO_H
818 AC_REQUIRE([gl_LARGEFILE])
819 gl___INLINE
820 gl_LIMITS_H
821 gl_LOCALCHARSET
822 dnl For backward compatibility. Some packages still use this.
823 LOCALCHARSET_TESTS_ENVIRONMENT=
824 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
825 gl_LOCALE_H
826 gl_FUNC_LOCALECONV
827 if test $REPLACE_LOCALECONV = 1; then
828 AC_LIBOBJ([localeconv])
829 gl_PREREQ_LOCALECONV
830 fi
831 gl_LOCALE_MODULE_INDICATOR([localeconv])
832 gl_LOCK
833 gl_MODULE_INDICATOR([lock])
834 gl_FUNC_LSEEK
835 if test $REPLACE_LSEEK = 1; then
836 AC_LIBOBJ([lseek])
837 fi
838 gl_UNISTD_MODULE_INDICATOR([lseek])
839 gl_FUNC_LSTAT
840 if test $REPLACE_LSTAT = 1; then
841 AC_LIBOBJ([lstat])
842 gl_PREREQ_LSTAT
843 fi
844 gl_SYS_STAT_MODULE_INDICATOR([lstat])
845 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
846 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
847 AC_REQUIRE([AC_PROG_SED])
848 AC_REQUIRE([AC_PROG_GREP])
849 gl_FUNC_MALLOC_GNU
850 if test $REPLACE_MALLOC = 1; then
851 AC_LIBOBJ([malloc])
852 fi
853 gl_MODULE_INDICATOR([malloc-gnu])
854 gl_FUNC_MALLOC_POSIX
855 if test $REPLACE_MALLOC = 1; then
856 AC_LIBOBJ([malloc])
857 fi
858 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
859 gl_MALLOCA
860 gl_MATH_H
861 gl_MBCHAR
862 gl_FUNC_MBRTOWC
863 if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
864 AC_LIBOBJ([mbrtowc])
865 if test $REPLACE_MBSTATE_T = 1; then
866 AC_LIBOBJ([lc-charset-dispatch])
867 AC_LIBOBJ([mbtowc-lock])
868 gl_PREREQ_MBTOWC_LOCK
869 fi
870 gl_PREREQ_MBRTOWC
871 fi
872 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
873 gl_STRING_MODULE_INDICATOR([mbscasecmp])
874 gl_FUNC_MBSINIT
875 if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
876 AC_LIBOBJ([mbsinit])
877 gl_PREREQ_MBSINIT
878 fi
879 gl_WCHAR_MODULE_INDICATOR([mbsinit])
880 gl_FUNC_MBSRTOWCS
881 if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
882 AC_LIBOBJ([mbsrtowcs])
883 AC_LIBOBJ([mbsrtowcs-state])
884 gl_PREREQ_MBSRTOWCS
885 fi
886 gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
887 gl_FUNC_MBTOWC
888 if test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1; then
889 AC_LIBOBJ([mbtowc])
890 gl_PREREQ_MBTOWC
891 fi
892 gl_STDLIB_MODULE_INDICATOR([mbtowc])
893 gl_MBITER
894 gl_FUNC_MEMCHR
895 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
896 AC_LIBOBJ([memchr])
897 gl_PREREQ_MEMCHR
898 fi
899 gl_STRING_MODULE_INDICATOR([memchr])
900 gl_FUNC_MEMPCPY
901 if test $HAVE_MEMPCPY = 0; then
902 AC_LIBOBJ([mempcpy])
903 gl_PREREQ_MEMPCPY
904 fi
905 gl_STRING_MODULE_INDICATOR([mempcpy])
906 gl_FUNC_MEMRCHR
907 if test $ac_cv_func_memrchr = no; then
908 AC_LIBOBJ([memrchr])
909 gl_PREREQ_MEMRCHR
910 fi
911 gl_STRING_MODULE_INDICATOR([memrchr])
912 gl_MINMAX
913 AC_REQUIRE([gl_MSVC_INVAL])
914 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
915 AC_LIBOBJ([msvc-inval])
916 fi
917 AC_REQUIRE([gl_MSVC_NOTHROW])
918 if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
919 AC_LIBOBJ([msvc-nothrow])
920 fi
921 gl_MODULE_INDICATOR([msvc-nothrow])
922 gl_MULTIARCH
923 gl_FUNC_NL_LANGINFO
924 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
925 AC_LIBOBJ([nl_langinfo])
926 fi
927 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
928 AC_FUNC_OBSTACK
929 dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
930 gl_FUNC_OPEN
931 if test $REPLACE_OPEN = 1; then
932 AC_LIBOBJ([open])
933 gl_PREREQ_OPEN
934 fi
935 gl_FCNTL_MODULE_INDICATOR([open])
936 gl_FUNC_OPENAT
937 if test $HAVE_OPENAT = 0 || test $REPLACE_OPENAT = 1; then
938 AC_LIBOBJ([openat])
939 gl_PREREQ_OPENAT
940 fi
941 gl_MODULE_INDICATOR([openat]) dnl for lib/getcwd.c
942 gl_FCNTL_MODULE_INDICATOR([openat])
943 gl_FUNC_OPENDIR
944 if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
945 AC_LIBOBJ([opendir])
946 fi
947 gl_DIRENT_MODULE_INDICATOR([opendir])
948 gl_PATHMAX
949 gl_PERL
950 gl_POSIX_SHELL
951 gl_FUNC_PRINTF_FREXP
952 gl_FUNC_PRINTF_FREXPL
953 gl_FUNC_PRINTF_POSIX
954 gl_STDIO_MODULE_INDICATOR([printf-posix])
955 m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
956 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
957 AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
958 gl_QUOTE
959 gl_QUOTEARG
960 gl_FUNC_READDIR
961 if test $HAVE_READDIR = 0; then
962 AC_LIBOBJ([readdir])
963 fi
964 gl_DIRENT_MODULE_INDICATOR([readdir])
965 gl_FUNC_REALLOC_GNU
966 if test $REPLACE_REALLOC = 1; then
967 AC_LIBOBJ([realloc])
968 fi
969 gl_MODULE_INDICATOR([realloc-gnu])
970 gl_FUNC_REALLOC_POSIX
971 if test $REPLACE_REALLOC = 1; then
972 AC_LIBOBJ([realloc])
973 fi
974 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
975 gl_REGEX
976 if test $ac_use_included_regex = yes; then
977 AC_LIBOBJ([regex])
978 gl_PREREQ_REGEX
979 fi
980 gl_FUNC_REWINDDIR
981 if test $HAVE_REWINDDIR = 0; then
982 AC_LIBOBJ([rewinddir])
983 fi
984 gl_DIRENT_MODULE_INDICATOR([rewinddir])
985 gl_SAVE_CWD
986 gl_FUNC_SETLOCALE_NULL
987 if test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0; then
988 AC_LIBOBJ([setlocale-lock])
989 gl_PREREQ_SETLOCALE_LOCK
990 fi
991 gl_LOCALE_MODULE_INDICATOR([setlocale_null])
992 gl_SIGNBIT
993 if test $REPLACE_SIGNBIT = 1; then
994 AC_LIBOBJ([signbitf])
995 AC_LIBOBJ([signbitd])
996 AC_LIBOBJ([signbitl])
997 fi
998 gl_MATH_MODULE_INDICATOR([signbit])
999 gl_SIZE_MAX
1000 gl_FUNC_SPRINTF_POSIX
1001 gl_STDIO_MODULE_INDICATOR([sprintf-posix])
1002 gt_TYPE_SSIZE_T
1003 gl_FUNC_STAT
1004 if test $REPLACE_STAT = 1; then
1005 AC_LIBOBJ([stat])
1006 case "$host_os" in
1007 mingw*)
1008 AC_LIBOBJ([stat-w32])
1009 ;;
1010 esac
1011 gl_PREREQ_STAT
1012 fi
1013 gl_SYS_STAT_MODULE_INDICATOR([stat])
1014 gl_STAT_TIME
1015 gl_STAT_BIRTHTIME
1016 AM_STDBOOL_H
1017 gl_STDDEF_H
1018 gl_STDINT_H
1019 gl_STDIO_H
1020 gl_STDLIB_H
1021 gl_STRCASE
1022 if test $HAVE_STRCASECMP = 0; then
1023 AC_LIBOBJ([strcasecmp])
1024 gl_PREREQ_STRCASECMP
1025 fi
1026 if test $HAVE_STRNCASECMP = 0; then
1027 AC_LIBOBJ([strncasecmp])
1028 gl_PREREQ_STRNCASECMP
1029 fi
1030 gl_FUNC_STRCASESTR
1031 if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then
1032 AC_LIBOBJ([strcasestr])
1033 gl_PREREQ_STRCASESTR
1034 fi
1035 gl_FUNC_STRCASESTR_SIMPLE
1036 if test $HAVE_STRCASESTR = 0 || test $REPLACE_STRCASESTR = 1; then
1037 AC_LIBOBJ([strcasestr])
1038 gl_PREREQ_STRCASESTR
1039 fi
1040 gl_STRING_MODULE_INDICATOR([strcasestr])
1041 gl_FUNC_STRDUP_POSIX
1042 if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
1043 AC_LIBOBJ([strdup])
1044 gl_PREREQ_STRDUP
1045 fi
1046 gl_STRING_MODULE_INDICATOR([strdup])
1047 gl_FUNC_STRERROR
1048 if test $REPLACE_STRERROR = 1; then
1049 AC_LIBOBJ([strerror])
1050 fi
1051 gl_MODULE_INDICATOR([strerror])
1052 gl_STRING_MODULE_INDICATOR([strerror])
1053 AC_REQUIRE([gl_HEADER_ERRNO_H])
1054 AC_REQUIRE([gl_FUNC_STRERROR_0])
1055 if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
1056 AC_LIBOBJ([strerror-override])
1057 gl_PREREQ_SYS_H_WINSOCK2
1058 fi
1059 gl_HEADER_STRING_H
1060 gl_HEADER_STRINGS_H
1061 gl_FUNC_STRNDUP
1062 if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
1063 AC_LIBOBJ([strndup])
1064 fi
1065 gl_STRING_MODULE_INDICATOR([strndup])
1066 gl_FUNC_STRNLEN
1067 if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
1068 AC_LIBOBJ([strnlen])
1069 gl_PREREQ_STRNLEN
1070 fi
1071 gl_STRING_MODULE_INDICATOR([strnlen])
1072 gl_FUNC_STRSEP
1073 if test $HAVE_STRSEP = 0; then
1074 AC_LIBOBJ([strsep])
1075 gl_PREREQ_STRSEP
1076 fi
1077 gl_STRING_MODULE_INDICATOR([strsep])
1078 gl_SYS_IOCTL_H
1079 AC_PROG_MKDIR_P
1080 gl_HEADER_SYS_STAT_H
1081 AC_PROG_MKDIR_P
1082 gl_SYS_TYPES_H
1083 AC_PROG_MKDIR_P
1084 AC_REQUIRE([gl_THREADLIB])
1085 gl_HEADER_TIME_H
1086 gl_UNISTD_H
1087 gl_UNISTD_SAFER
1088 gl_LIBUNISTRING_LIBHEADER([0.9.4], [unitypes.h])
1089 gl_LIBUNISTRING_LIBHEADER([0.9.4], [uniwidth.h])
1090 gl_LIBUNISTRING_MODULE([0.9.8], [uniwidth/width])
1091 AC_REQUIRE([AC_C_RESTRICT])
1092 gl_FUNC_VASNPRINTF
1093 gl_FUNC_VFPRINTF_POSIX
1094 gl_STDIO_MODULE_INDICATOR([vfprintf-posix])
1095 gl_WCHAR_H
1096 gl_FUNC_WCRTOMB
1097 if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
1098 AC_LIBOBJ([wcrtomb])
1099 gl_PREREQ_WCRTOMB
1100 fi
1101 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
1102 gl_WCTYPE_H
1103 gl_FUNC_WCWIDTH
1104 if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
1105 AC_LIBOBJ([wcwidth])
1106 gl_PREREQ_WCWIDTH
1107 fi
1108 gl_WCHAR_MODULE_INDICATOR([wcwidth])
1109 AC_REQUIRE([AC_CANONICAL_HOST])
1110 case "$host_os" in
1111 mingw*)
1112 AC_LIBOBJ([windows-mutex])
1113 ;;
1114 esac
1115 AC_REQUIRE([AC_CANONICAL_HOST])
1116 case "$host_os" in
1117 mingw*)
1118 AC_LIBOBJ([windows-once])
1119 ;;
1120 esac
1121 AC_REQUIRE([AC_CANONICAL_HOST])
1122 case "$host_os" in
1123 mingw*)
1124 AC_LIBOBJ([windows-recmutex])
1125 ;;
1126 esac
1127 AC_REQUIRE([AC_CANONICAL_HOST])
1128 case "$host_os" in
1129 mingw*)
1130 AC_LIBOBJ([windows-rwlock])
1131 ;;
1132 esac
1133 gl_XALLOC
1134 gl_XGETCWD
1135 gl_XSIZE
1136 gl_XSTRNDUP
1137 # End of code from modules
1138 m4_ifval(gl_LIBSOURCES_LIST, [
1139 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
1140 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
1141 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
1142 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
1143 exit 1
1144 fi
1145 done])dnl
1146 m4_if(m4_sysval, [0], [],
1147 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1148 ])
1149 m4_popdef([gl_LIBSOURCES_DIR])
1150 m4_popdef([gl_LIBSOURCES_LIST])
1151 m4_popdef([AC_LIBSOURCES])
1152 m4_popdef([AC_REPLACE_FUNCS])
1153 m4_popdef([AC_LIBOBJ])
1154 AC_CONFIG_COMMANDS_PRE([
1155 gl_libobjs=
1156 gl_ltlibobjs=
1157 if test -n "$gl_LIBOBJS"; then
1158 # Remove the extension.
1159 sed_drop_objext='s/\.o$//;s/\.obj$//'
1160 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1161 gl_libobjs="$gl_libobjs $i.$ac_objext"
1162 gl_ltlibobjs="$gl_ltlibobjs $i.lo"
1163 done
1164 fi
1165 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
1166 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
1167 ])
1168 gltests_libdeps=
1169 gltests_ltlibdeps=
1170 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
1171 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
1172 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
1173 m4_pushdef([gltests_LIBSOURCES_LIST], [])
1174 m4_pushdef([gltests_LIBSOURCES_DIR], [])
1175 gl_COMMON
1176 gl_source_base='gnulib-tests'
1177 changequote(,)dnl
1178 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
1179 changequote([, ])dnl
1180 AC_SUBST([gltests_WITNESS])
1181 gl_module_indicator_condition=$gltests_WITNESS
1182 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
1183 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1184 if test "$ac_cv_header_winsock2_h" = yes; then
1185 AC_LIBOBJ([accept])
1186 fi
1187 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
1188 gl_HEADER_ARPA_INET
1189 AC_PROG_MKDIR_P
1190 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1191 if test "$ac_cv_header_winsock2_h" = yes; then
1192 AC_LIBOBJ([bind])
1193 fi
1194 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
1195 gt_LOCALE_FR
1196 gt_LOCALE_FR_UTF8
1197 gt_LOCALE_FR
1198 gt_LOCALE_TR_UTF8
1199 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1200 if test "$ac_cv_header_winsock2_h" = yes; then
1201 AC_LIBOBJ([connect])
1202 fi
1203 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
1204 gl_CTYPE_H
1205 gl_ENVIRON
1206 gl_UNISTD_MODULE_INDICATOR([environ])
1207 gl_FUNC_FDOPEN
1208 if test $REPLACE_FDOPEN = 1; then
1209 AC_LIBOBJ([fdopen])
1210 gl_PREREQ_FDOPEN
1211 fi
1212 gl_STDIO_MODULE_INDICATOR([fdopen])
1213 AC_CHECK_FUNCS_ONCE([getrlimit setrlimit])
1214 gl_FUNC_UNGETC_WORKS
1215 gl_FUNC_UNGETC_WORKS
1216 gl_FUNC_UNGETC_WORKS
1217 gl_FUNC_UNGETC_WORKS
1218 gl_FUNC_FTRUNCATE
1219 if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
1220 AC_LIBOBJ([ftruncate])
1221 gl_PREREQ_FTRUNCATE
1222 fi
1223 gl_UNISTD_MODULE_INDICATOR([ftruncate])
1224 AC_CHECK_FUNCS_ONCE([setrlimit])
1225 gl_FUNC_MMAP_ANON
1226 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1227 AC_CHECK_FUNCS_ONCE([mprotect])
1228 gl_FUNC_GETPAGESIZE
1229 if test $REPLACE_GETPAGESIZE = 1; then
1230 AC_LIBOBJ([getpagesize])
1231 fi
1232 gl_UNISTD_MODULE_INDICATOR([getpagesize])
1233 gl_FUNC_GETTIMEOFDAY
1234 if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
1235 AC_LIBOBJ([gettimeofday])
1236 gl_PREREQ_GETTIMEOFDAY
1237 fi
1238 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
1239 gl_MUSL_LIBC
1240 dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2.
1241 AC_CHECK_FUNCS_ONCE([duplocale])
1242 gl_FUNC_INET_PTON
1243 if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1; then
1244 AC_LIBOBJ([inet_pton])
1245 gl_PREREQ_INET_PTON
1246 fi
1247 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
1248 AC_C_BIGENDIAN
1249 gl_INTTYPES_H
1250 gl_FUNC_IOCTL
1251 if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
1252 AC_LIBOBJ([ioctl])
1253 fi
1254 gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
1255 gl_FUNC_ISBLANK
1256 if test $HAVE_ISBLANK = 0; then
1257 AC_LIBOBJ([isblank])
1258 fi
1259 gl_MODULE_INDICATOR([isblank])
1260 gl_CTYPE_MODULE_INDICATOR([isblank])
1261 gl_DOUBLE_EXPONENT_LOCATION
1262 gl_FLOAT_EXPONENT_LOCATION
1263 gl_LONG_DOUBLE_EXPONENT_LOCATION
1264 AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
1265 gt_LOCALE_FR
1266 gt_LOCALE_FR_UTF8
1267 gt_LOCALE_JA
1268 gt_LOCALE_ZH_CN
1269 gt_LOCALE_FR
1270 gt_LOCALE_FR_UTF8
1271 gt_LOCALE_JA
1272 gt_LOCALE_ZH_CN
1273 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1274 if test "$ac_cv_header_winsock2_h" = yes; then
1275 AC_LIBOBJ([listen])
1276 fi
1277 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
1278 AC_CHECK_FUNCS_ONCE([newlocale])
1279 gl_LOCALENAME
1280 gl_LOCALE_MODULE_INDICATOR([localename])
1281 AC_CHECK_FUNCS_ONCE([newlocale])
1282 AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS])
1283 AC_LIBOBJ([localtime-buffer])
1284 AC_CHECK_HEADERS_ONCE([semaphore.h])
1285 AC_CHECK_DECLS_ONCE([alarm])
1286 AC_REQUIRE([gl_SEMAPHORE])
1287 gt_LOCALE_FR
1288 gt_LOCALE_FR_UTF8
1289 gt_LOCALE_JA
1290 gt_LOCALE_ZH_CN
1291 gt_LOCALE_TR_UTF8
1292 gt_LOCALE_FR_UTF8
1293 gt_LOCALE_FR
1294 gt_LOCALE_FR_UTF8
1295 gt_LOCALE_JA
1296 gt_LOCALE_ZH_CN
1297 dnl Check for prerequisites for memory fence checks.
1298 gl_FUNC_MMAP_ANON
1299 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1300 AC_CHECK_FUNCS_ONCE([mprotect])
1301 gl_FUNC_MMAP_ANON
1302 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1303 AC_CHECK_FUNCS_ONCE([mprotect])
1304 gl_FUNC_MKDIR
1305 if test $REPLACE_MKDIR = 1; then
1306 AC_LIBOBJ([mkdir])
1307 fi
1308 gl_FUNC_NANOSLEEP
1309 if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
1310 AC_LIBOBJ([nanosleep])
1311 gl_PREREQ_NANOSLEEP
1312 fi
1313 gl_TIME_MODULE_INDICATOR([nanosleep])
1314 AC_CHECK_DECLS_ONCE([alarm])
1315 gl_HEADER_NETINET_IN
1316 AC_PROG_MKDIR_P
1317 gt_LOCALE_FR
1318 gt_LOCALE_FR_UTF8
1319 gl_FUNC_PERROR
1320 if test $REPLACE_PERROR = 1; then
1321 AC_LIBOBJ([perror])
1322 fi
1323 gl_STRING_MODULE_INDICATOR([perror])
1324 gl_FUNC_PIPE
1325 if test $HAVE_PIPE = 0; then
1326 AC_LIBOBJ([pipe])
1327 fi
1328 gl_UNISTD_MODULE_INDICATOR([pipe])
1329 AC_CHECK_FUNCS_ONCE([getrlimit setrlimit])
1330 gl_PTHREAD_H
1331 gl_PTHREAD_THREAD
1332 if test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1; then
1333 AC_LIBOBJ([pthread-thread])
1334 fi
1335 gl_PTHREAD_MODULE_INDICATOR([pthread-thread])
1336 gl_FUNC_PTHREAD_SIGMASK
1337 if test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1; then
1338 AC_LIBOBJ([pthread_sigmask])
1339 gl_PREREQ_PTHREAD_SIGMASK
1340 fi
1341 gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])
1342 gl_FUNC_PUTENV
1343 if test $REPLACE_PUTENV = 1; then
1344 AC_LIBOBJ([putenv])
1345 gl_PREREQ_PUTENV
1346 fi
1347 gl_STDLIB_MODULE_INDICATOR([putenv])
1348 dnl Check for prerequisites for memory fence checks.
1349 dnl FIXME: zerosize-ptr.h requires these: make a module for it
1350 gl_FUNC_MMAP_ANON
1351 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1352 AC_CHECK_FUNCS_ONCE([mprotect])
1353 gl_FUNC_RAISE
1354 if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
1355 AC_LIBOBJ([raise])
1356 gl_PREREQ_RAISE
1357 fi
1358 gl_SIGNAL_MODULE_INDICATOR([raise])
1359 gl_SCHED_H
1360 gl_FUNC_SECURE_GETENV
1361 if test $HAVE_SECURE_GETENV = 0; then
1362 AC_LIBOBJ([secure_getenv])
1363 gl_PREREQ_SECURE_GETENV
1364 fi
1365 gl_STDLIB_MODULE_INDICATOR([secure_getenv])
1366 gl_FUNC_SELECT
1367 if test $REPLACE_SELECT = 1; then
1368 AC_LIBOBJ([select])
1369 fi
1370 gl_SYS_SELECT_MODULE_INDICATOR([select])
1371 AC_CHECK_HEADERS_ONCE([sys/wait.h])
1372 gl_FUNC_SETENV
1373 if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
1374 AC_LIBOBJ([setenv])
1375 fi
1376 gl_STDLIB_MODULE_INDICATOR([setenv])
1377 gl_FUNC_SETLOCALE
1378 if test $REPLACE_SETLOCALE = 1; then
1379 AC_LIBOBJ([setlocale])
1380 gl_PREREQ_SETLOCALE
1381 fi
1382 gl_LOCALE_MODULE_INDICATOR([setlocale])
1383 gt_LOCALE_FR
1384 gt_LOCALE_FR_UTF8
1385 gt_LOCALE_JA
1386 gt_LOCALE_ZH_CN
1387 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1388 if test "$ac_cv_header_winsock2_h" = yes; then
1389 AC_LIBOBJ([setsockopt])
1390 fi
1391 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
1392 gl_SIGACTION
1393 if test $HAVE_SIGACTION = 0; then
1394 AC_LIBOBJ([sigaction])
1395 gl_PREREQ_SIGACTION
1396 fi
1397 gl_SIGNAL_MODULE_INDICATOR([sigaction])
1398 gl_SIGNAL_H
1399 AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION])
1400 AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION])
1401 AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION])
1402 gl_SIGNALBLOCKING
1403 if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
1404 AC_LIBOBJ([sigprocmask])
1405 gl_PREREQ_SIGPROCMASK
1406 fi
1407 gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
1408 gl_FUNC_SLEEP
1409 if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
1410 AC_LIBOBJ([sleep])
1411 fi
1412 gl_UNISTD_MODULE_INDICATOR([sleep])
1413 AC_CHECK_DECLS_ONCE([alarm])
1414 gl_FUNC_SNPRINTF
1415 gl_STDIO_MODULE_INDICATOR([snprintf])
1416 gl_MODULE_INDICATOR([snprintf])
1417 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1418 if test "$ac_cv_header_winsock2_h" = yes; then
1419 AC_LIBOBJ([socket])
1420 fi
1421 # When this module is used, sockets may actually occur as file descriptors,
1422 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
1423 m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
1424 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
1425 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
1426 if test "$ac_cv_header_winsock2_h" = yes; then
1427 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1428 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1429 fi
1430 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
1431 AC_REQUIRE([gl_SOCKETLIB])
1432 AC_REQUIRE([gl_SOCKETS])
1433 gl_TYPE_SOCKLEN_T
1434 AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
1435 gl_STDALIGN_H
1436 AC_REQUIRE([gt_TYPE_WCHAR_T])
1437 AC_REQUIRE([gt_TYPE_WINT_T])
1438 AC_CHECK_DECLS_ONCE([alarm])
1439 gl_FUNC_STRERROR_R
1440 if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
1441 AC_LIBOBJ([strerror_r])
1442 gl_PREREQ_STRERROR_R
1443 fi
1444 gl_STRING_MODULE_INDICATOR([strerror_r])
1445 dnl For the modules argp, error.
1446 gl_MODULE_INDICATOR([strerror_r-posix])
1447 dnl Check for prerequisites for memory fence checks.
1448 gl_FUNC_MMAP_ANON
1449 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1450 AC_CHECK_FUNCS_ONCE([mprotect])
1451 gl_FUNC_SYMLINK
1452 if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
1453 AC_LIBOBJ([symlink])
1454 fi
1455 gl_UNISTD_MODULE_INDICATOR([symlink])
1456 AC_REQUIRE([gl_HEADER_SYS_SELECT])
1457 AC_PROG_MKDIR_P
1458 AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1459 AC_PROG_MKDIR_P
1460 AC_CHECK_FUNCS_ONCE([shutdown])
1461 gl_HEADER_SYS_TIME_H
1462 AC_PROG_MKDIR_P
1463 gl_HEADER_SYS_UIO
1464 AC_PROG_MKDIR_P
1465 gl_FUNC_GEN_TEMPNAME
1466 gl_THREAD
1467 gt_TMPDIR
1468 gl_FUNC_TMPFILE
1469 if test $REPLACE_TMPFILE = 1; then
1470 AC_LIBOBJ([tmpfile])
1471 gl_PREREQ_TMPFILE
1472 fi
1473 gl_STDIO_MODULE_INDICATOR([tmpfile])
1474 gl_FUNC_UNSETENV
1475 if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
1476 AC_LIBOBJ([unsetenv])
1477 gl_PREREQ_UNSETENV
1478 fi
1479 gl_STDLIB_MODULE_INDICATOR([unsetenv])
1480 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1481 AC_SUBST([abs_aux_dir])
1482 gl_FUNC_USLEEP
1483 if test $HAVE_USLEEP = 0 || test $REPLACE_USLEEP = 1; then
1484 AC_LIBOBJ([usleep])
1485 fi
1486 gl_UNISTD_MODULE_INDICATOR([usleep])
1487 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1488 AC_SUBST([abs_aux_dir])
1489 gl_FUNC_MMAP_ANON
1490 AC_REQUIRE([AC_C_INLINE])
1491 AC_CHECK_FUNCS_ONCE([mquery pstat_getprocvm])
1492 gt_LOCALE_FR
1493 gt_LOCALE_FR_UTF8
1494 gt_LOCALE_JA
1495 gt_LOCALE_ZH_CN
1496 gl_FUNC_WCTOB
1497 if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
1498 AC_LIBOBJ([wctob])
1499 gl_PREREQ_WCTOB
1500 fi
1501 gl_WCHAR_MODULE_INDICATOR([wctob])
1502 gl_FUNC_WCTOMB
1503 if test $REPLACE_WCTOMB = 1; then
1504 AC_LIBOBJ([wctomb])
1505 gl_PREREQ_WCTOMB
1506 fi
1507 gl_STDLIB_MODULE_INDICATOR([wctomb])
1508 AC_REQUIRE([AC_CANONICAL_HOST])
1509 case "$host_os" in
1510 mingw*)
1511 AC_LIBOBJ([windows-thread])
1512 ;;
1513 esac
1514 AC_REQUIRE([AC_CANONICAL_HOST])
1515 case "$host_os" in
1516 mingw*)
1517 AC_LIBOBJ([windows-tls])
1518 ;;
1519 esac
1520 AC_REQUIRE([gl_YIELD])
1521 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
1522 m4_ifval(gltests_LIBSOURCES_LIST, [
1523 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
1524 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
1525 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
1526 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
1527 exit 1
1528 fi
1529 done])dnl
1530 m4_if(m4_sysval, [0], [],
1531 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1532 ])
1533 m4_popdef([gltests_LIBSOURCES_DIR])
1534 m4_popdef([gltests_LIBSOURCES_LIST])
1535 m4_popdef([AC_LIBSOURCES])
1536 m4_popdef([AC_REPLACE_FUNCS])
1537 m4_popdef([AC_LIBOBJ])
1538 AC_CONFIG_COMMANDS_PRE([
1539 gltests_libobjs=
1540 gltests_ltlibobjs=
1541 if test -n "$gltests_LIBOBJS"; then
1542 # Remove the extension.
1543 sed_drop_objext='s/\.o$//;s/\.obj$//'
1544 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1545 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
1546 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
1547 done
1548 fi
1549 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
1550 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
1551 ])
1552 LIBGNU_LIBDEPS="$gl_libdeps"
1553 AC_SUBST([LIBGNU_LIBDEPS])
1554 LIBGNU_LTLIBDEPS="$gl_ltlibdeps"
1555 AC_SUBST([LIBGNU_LTLIBDEPS])
1556 LIBTESTS_LIBDEPS="$gltests_libdeps"
1557 AC_SUBST([LIBTESTS_LIBDEPS])
1558 ])
1559
1560 # Like AC_LIBOBJ, except that the module name goes
1561 # into gl_LIBOBJS instead of into LIBOBJS.
1562 AC_DEFUN([gl_LIBOBJ], [
1563 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
1564 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
1565 ])
1566
1567 # Like AC_REPLACE_FUNCS, except that the module name goes
1568 # into gl_LIBOBJS instead of into LIBOBJS.
1569 AC_DEFUN([gl_REPLACE_FUNCS], [
1570 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1571 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
1572 ])
1573
1574 # Like AC_LIBSOURCES, except the directory where the source file is
1575 # expected is derived from the gnulib-tool parameterization,
1576 # and alloca is special cased (for the alloca-opt module).
1577 # We could also entirely rely on EXTRA_lib..._SOURCES.
1578 AC_DEFUN([gl_LIBSOURCES], [
1579 m4_foreach([_gl_NAME], [$1], [
1580 m4_if(_gl_NAME, [alloca.c], [], [
1581 m4_define([gl_LIBSOURCES_DIR], [lib])
1582 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
1583 ])
1584 ])
1585 ])
1586
1587 # Like AC_LIBOBJ, except that the module name goes
1588 # into gltests_LIBOBJS instead of into LIBOBJS.
1589 AC_DEFUN([gltests_LIBOBJ], [
1590 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
1591 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
1592 ])
1593
1594 # Like AC_REPLACE_FUNCS, except that the module name goes
1595 # into gltests_LIBOBJS instead of into LIBOBJS.
1596 AC_DEFUN([gltests_REPLACE_FUNCS], [
1597 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1598 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
1599 ])
1600
1601 # Like AC_LIBSOURCES, except the directory where the source file is
1602 # expected is derived from the gnulib-tool parameterization,
1603 # and alloca is special cased (for the alloca-opt module).
1604 # We could also entirely rely on EXTRA_lib..._SOURCES.
1605 AC_DEFUN([gltests_LIBSOURCES], [
1606 m4_foreach([_gl_NAME], [$1], [
1607 m4_if(_gl_NAME, [alloca.c], [], [
1608 m4_define([gltests_LIBSOURCES_DIR], [gnulib-tests])
1609 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
1610 ])
1611 ])
1612 ])
1613
1614 # This macro records the list of files which have been installed by
1615 # gnulib-tool and may be removed by future gnulib-tool invocations.
1616 AC_DEFUN([gl_FILE_LIST], [
1617 build-aux/announce-gen
1618 build-aux/config.rpath
1619 build-aux/do-release-commit-and-tag
1620 build-aux/gendocs.sh
1621 build-aux/git-version-gen
1622 build-aux/gitlog-to-changelog
1623 build-aux/gnu-web-doc-update
1624 build-aux/gnupload
1625 build-aux/update-copyright
1626 build-aux/useless-if-before-free
1627 build-aux/vc-list-files
1628 doc/gendocs_template
1629 doc/gendocs_template_min
1630 lib/_Noreturn.h
1631 lib/alignof.h
1632 lib/alloca.c
1633 lib/alloca.in.h
1634 lib/anytostr.c
1635 lib/arg-nonnull.h
1636 lib/argv-iter.c
1637 lib/argv-iter.h
1638 lib/asnprintf.c
1639 lib/assure.h
1640 lib/at-func.c
1641 lib/basename-lgpl.c
1642 lib/basename.c
1643 lib/bitrotate.c
1644 lib/bitrotate.h
1645 lib/btowc.c
1646 lib/c++defs.h
1647 lib/c-ctype.c
1648 lib/c-ctype.h
1649 lib/c-strcase.h
1650 lib/c-strcasecmp.c
1651 lib/c-strcaseeq.h
1652 lib/c-strncasecmp.c
1653 lib/calloc.c
1654 lib/cdefs.h
1655 lib/chdir-long.c
1656 lib/chdir-long.h
1657 lib/cloexec.c
1658 lib/cloexec.h
1659 lib/close-stream.c
1660 lib/close-stream.h
1661 lib/close.c
1662 lib/closedir.c
1663 lib/closeout.c
1664 lib/closeout.h
1665 lib/dirent-private.h
1666 lib/dirent.in.h
1667 lib/dirfd.c
1668 lib/dirname-lgpl.c
1669 lib/dirname.c
1670 lib/dirname.h
1671 lib/dup-safer-flag.c
1672 lib/dup-safer.c
1673 lib/dup.c
1674 lib/dup2.c
1675 lib/errno.in.h
1676 lib/error.c
1677 lib/error.h
1678 lib/exclude.c
1679 lib/exclude.h
1680 lib/exitfail.c
1681 lib/exitfail.h
1682 lib/fchdir.c
1683 lib/fcntl.c
1684 lib/fcntl.in.h
1685 lib/fd-hook.c
1686 lib/fd-hook.h
1687 lib/fd-safer-flag.c
1688 lib/fd-safer.c
1689 lib/fdopendir.c
1690 lib/fflush.c
1691 lib/filename.h
1692 lib/filenamecat-lgpl.c
1693 lib/filenamecat.h
1694 lib/flexmember.h
1695 lib/float+.h
1696 lib/float.c
1697 lib/float.in.h
1698 lib/fnmatch.c
1699 lib/fnmatch.in.h
1700 lib/fnmatch_loop.c
1701 lib/fopen.c
1702 lib/fpending.c
1703 lib/fpending.h
1704 lib/fprintf.c
1705 lib/fpucw.h
1706 lib/fpurge.c
1707 lib/freading.c
1708 lib/freading.h
1709 lib/freopen.c
1710 lib/frexp.c
1711 lib/frexpl.c
1712 lib/fseek.c
1713 lib/fseeko.c
1714 lib/fseterr.c
1715 lib/fseterr.h
1716 lib/fstat.c
1717 lib/fstatat.c
1718 lib/ftell.c
1719 lib/ftello.c
1720 lib/getcwd-lgpl.c
1721 lib/getcwd.c
1722 lib/getdelim.c
1723 lib/getdtablesize.c
1724 lib/getopt-cdefs.in.h
1725 lib/getopt-core.h
1726 lib/getopt-ext.h
1727 lib/getopt-pfx-core.h
1728 lib/getopt-pfx-ext.h
1729 lib/getopt.c
1730 lib/getopt.in.h
1731 lib/getopt1.c
1732 lib/getopt_int.h
1733 lib/getprogname.c
1734 lib/getprogname.h
1735 lib/gettext.h
1736 lib/glthread/lock.c
1737 lib/glthread/lock.h
1738 lib/glthread/threadlib.c
1739 lib/hard-locale.c
1740 lib/hard-locale.h
1741 lib/hash.c
1742 lib/hash.h
1743 lib/ignore-value.h
1744 lib/imaxtostr.c
1745 lib/intprops.h
1746 lib/inttostr.c
1747 lib/inttostr.h
1748 lib/inttypes.in.h
1749 lib/isnan.c
1750 lib/isnand-nolibm.h
1751 lib/isnand.c
1752 lib/isnanf-nolibm.h
1753 lib/isnanf.c
1754 lib/isnanl-nolibm.h
1755 lib/isnanl.c
1756 lib/iswblank.c
1757 lib/iswdigit.c
1758 lib/iswxdigit.c
1759 lib/itold.c
1760 lib/langinfo.in.h
1761 lib/lc-charset-dispatch.c
1762 lib/lc-charset-dispatch.h
1763 lib/libc-config.h
1764 lib/limits.in.h
1765 lib/localcharset.c
1766 lib/localcharset.h
1767 lib/locale.in.h
1768 lib/localeconv.c
1769 lib/lseek.c
1770 lib/lstat.c
1771 lib/malloc.c
1772 lib/malloca.c
1773 lib/malloca.h
1774 lib/math.c
1775 lib/math.in.h
1776 lib/mbchar.c
1777 lib/mbchar.h
1778 lib/mbrtowc-impl-utf8.h
1779 lib/mbrtowc-impl.h
1780 lib/mbrtowc.c
1781 lib/mbscasecmp.c
1782 lib/mbsinit.c
1783 lib/mbsrtowcs-impl.h
1784 lib/mbsrtowcs-state.c
1785 lib/mbsrtowcs.c
1786 lib/mbtowc-impl.h
1787 lib/mbtowc-lock.c
1788 lib/mbtowc-lock.h
1789 lib/mbtowc.c
1790 lib/mbuiter.c
1791 lib/mbuiter.h
1792 lib/memchr.c
1793 lib/memchr.valgrind
1794 lib/mempcpy.c
1795 lib/memrchr.c
1796 lib/minmax.h
1797 lib/msvc-inval.c
1798 lib/msvc-inval.h
1799 lib/msvc-nothrow.c
1800 lib/msvc-nothrow.h
1801 lib/nl_langinfo.c
1802 lib/obstack.c
1803 lib/obstack.h
1804 lib/offtostr.c
1805 lib/open.c
1806 lib/openat-die.c
1807 lib/openat-priv.h
1808 lib/openat-proc.c
1809 lib/openat.c
1810 lib/openat.h
1811 lib/opendir.c
1812 lib/pathmax.h
1813 lib/pipe-safer.c
1814 lib/printf-args.c
1815 lib/printf-args.h
1816 lib/printf-frexp.c
1817 lib/printf-frexp.h
1818 lib/printf-frexpl.c
1819 lib/printf-frexpl.h
1820 lib/printf-parse.c
1821 lib/printf-parse.h
1822 lib/printf.c
1823 lib/progname.c
1824 lib/progname.h
1825 lib/quote.h
1826 lib/quotearg.c
1827 lib/quotearg.h
1828 lib/readdir.c
1829 lib/realloc.c
1830 lib/regcomp.c
1831 lib/regex.c
1832 lib/regex.h
1833 lib/regex_internal.c
1834 lib/regex_internal.h
1835 lib/regexec.c
1836 lib/rewinddir.c
1837 lib/save-cwd.c
1838 lib/save-cwd.h
1839 lib/setlocale-lock.c
1840 lib/setlocale_null.c
1841 lib/setlocale_null.h
1842 lib/signbitd.c
1843 lib/signbitf.c
1844 lib/signbitl.c
1845 lib/size_max.h
1846 lib/sprintf.c
1847 lib/stat-macros.h
1848 lib/stat-time.c
1849 lib/stat-time.h
1850 lib/stat-w32.c
1851 lib/stat-w32.h
1852 lib/stat.c
1853 lib/stdbool.in.h
1854 lib/stddef.in.h
1855 lib/stdint.in.h
1856 lib/stdio-impl.h
1857 lib/stdio.in.h
1858 lib/stdlib.in.h
1859 lib/str-two-way.h
1860 lib/strcasecmp.c
1861 lib/strcasestr.c
1862 lib/strdup.c
1863 lib/streq.h
1864 lib/strerror-override.c
1865 lib/strerror-override.h
1866 lib/strerror.c
1867 lib/string.in.h
1868 lib/strings.in.h
1869 lib/stripslash.c
1870 lib/strncasecmp.c
1871 lib/strndup.c
1872 lib/strnlen.c
1873 lib/strnlen1.c
1874 lib/strnlen1.h
1875 lib/strsep.c
1876 lib/sys_ioctl.in.h
1877 lib/sys_stat.in.h
1878 lib/sys_types.in.h
1879 lib/time.in.h
1880 lib/uinttostr.c
1881 lib/umaxtostr.c
1882 lib/unistd--.h
1883 lib/unistd-safer.h
1884 lib/unistd.c
1885 lib/unistd.in.h
1886 lib/unitypes.in.h
1887 lib/uniwidth.in.h
1888 lib/uniwidth/cjk.h
1889 lib/uniwidth/width.c
1890 lib/unused-parameter.h
1891 lib/vasnprintf.c
1892 lib/vasnprintf.h
1893 lib/verify.h
1894 lib/vfprintf.c
1895 lib/warn-on-use.h
1896 lib/wchar.in.h
1897 lib/wcrtomb.c
1898 lib/wctype-h.c
1899 lib/wctype.in.h
1900 lib/wcwidth.c
1901 lib/windows-initguard.h
1902 lib/windows-mutex.c
1903 lib/windows-mutex.h
1904 lib/windows-once.c
1905 lib/windows-once.h
1906 lib/windows-recmutex.c
1907 lib/windows-recmutex.h
1908 lib/windows-rwlock.c
1909 lib/windows-rwlock.h
1910 lib/xalloc-die.c
1911 lib/xalloc-oversized.h
1912 lib/xalloc.h
1913 lib/xgetcwd.c
1914 lib/xgetcwd.h
1915 lib/xmalloc.c
1916 lib/xsize.c
1917 lib/xsize.h
1918 lib/xstrndup.c
1919 lib/xstrndup.h
1920 m4/00gnulib.m4
1921 m4/__inline.m4
1922 m4/absolute-header.m4
1923 m4/alloca.m4
1924 m4/arpa_inet_h.m4
1925 m4/asm-underscore.m4
1926 m4/autobuild.m4
1927 m4/btowc.m4
1928 m4/builtin-expect.m4
1929 m4/calloc.m4
1930 m4/chdir-long.m4
1931 m4/close.m4
1932 m4/closedir.m4
1933 m4/codeset.m4
1934 m4/ctype.m4
1935 m4/d-ino.m4
1936 m4/dirent_h.m4
1937 m4/dirfd.m4
1938 m4/dirname.m4
1939 m4/double-slash-root.m4
1940 m4/dup.m4
1941 m4/dup2.m4
1942 m4/eealloc.m4
1943 m4/environ.m4
1944 m4/errno_h.m4
1945 m4/error.m4
1946 m4/exponentd.m4
1947 m4/exponentf.m4
1948 m4/exponentl.m4
1949 m4/extensions.m4
1950 m4/extern-inline.m4
1951 m4/fchdir.m4
1952 m4/fcntl-o.m4
1953 m4/fcntl.m4
1954 m4/fcntl_h.m4
1955 m4/fdopen.m4
1956 m4/fdopendir.m4
1957 m4/fflush.m4
1958 m4/filenamecat.m4
1959 m4/flexmember.m4
1960 m4/float_h.m4
1961 m4/fnmatch.m4
1962 m4/fnmatch_h.m4
1963 m4/fopen.m4
1964 m4/fpending.m4
1965 m4/fpieee.m4
1966 m4/fprintf-posix.m4
1967 m4/fpurge.m4
1968 m4/freading.m4
1969 m4/freopen.m4
1970 m4/frexp.m4
1971 m4/frexpl.m4
1972 m4/fseek.m4
1973 m4/fseeko.m4
1974 m4/fseterr.m4
1975 m4/fstat.m4
1976 m4/fstatat.m4
1977 m4/ftell.m4
1978 m4/ftello.m4
1979 m4/ftruncate.m4
1980 m4/getcwd-abort-bug.m4
1981 m4/getcwd-path-max.m4
1982 m4/getcwd.m4
1983 m4/getdelim.m4
1984 m4/getdtablesize.m4
1985 m4/getopt.m4
1986 m4/getpagesize.m4
1987 m4/getprogname.m4
1988 m4/gettimeofday.m4
1989 m4/glibc21.m4
1990 m4/gnu-make.m4
1991 m4/gnulib-common.m4
1992 m4/host-cpu-c-abi.m4
1993 m4/include_next.m4
1994 m4/inet_pton.m4
1995 m4/intl-thread-locale.m4
1996 m4/intlmacosx.m4
1997 m4/intmax_t.m4
1998 m4/inttostr.m4
1999 m4/inttypes-pri.m4
2000 m4/inttypes.m4
2001 m4/inttypes_h.m4
2002 m4/ioctl.m4
2003 m4/isblank.m4
2004 m4/isnand.m4
2005 m4/isnanf.m4
2006 m4/isnanl.m4
2007 m4/iswblank.m4
2008 m4/iswdigit.m4
2009 m4/iswxdigit.m4
2010 m4/langinfo_h.m4
2011 m4/largefile.m4
2012 m4/lcmessage.m4
2013 m4/ldexpl.m4
2014 m4/lib-ld.m4
2015 m4/lib-link.m4
2016 m4/lib-prefix.m4
2017 m4/libunistring-base.m4
2018 m4/limits-h.m4
2019 m4/localcharset.m4
2020 m4/locale-fr.m4
2021 m4/locale-ja.m4
2022 m4/locale-tr.m4
2023 m4/locale-zh.m4
2024 m4/locale_h.m4
2025 m4/localeconv.m4
2026 m4/localename.m4
2027 m4/localtime-buffer.m4
2028 m4/lock.m4
2029 m4/lseek.m4
2030 m4/lstat.m4
2031 m4/malloc.m4
2032 m4/malloca.m4
2033 m4/manywarnings-c++.m4
2034 m4/manywarnings.m4
2035 m4/math_h.m4
2036 m4/mbchar.m4
2037 m4/mbiter.m4
2038 m4/mbrtowc.m4
2039 m4/mbsinit.m4
2040 m4/mbsrtowcs.m4
2041 m4/mbstate_t.m4
2042 m4/mbtowc.m4
2043 m4/memchr.m4
2044 m4/mempcpy.m4
2045 m4/memrchr.m4
2046 m4/minmax.m4
2047 m4/mkdir.m4
2048 m4/mmap-anon.m4
2049 m4/mode_t.m4
2050 m4/msvc-inval.m4
2051 m4/msvc-nothrow.m4
2052 m4/multiarch.m4
2053 m4/musl.m4
2054 m4/nanosleep.m4
2055 m4/netinet_in_h.m4
2056 m4/nl_langinfo.m4
2057 m4/nocrash.m4
2058 m4/obstack.m4
2059 m4/off_t.m4
2060 m4/open-cloexec.m4
2061 m4/open-slash.m4
2062 m4/open.m4
2063 m4/openat.m4
2064 m4/opendir.m4
2065 m4/pathmax.m4
2066 m4/perl.m4
2067 m4/perror.m4
2068 m4/pipe.m4
2069 m4/posix-shell.m4
2070 m4/printf-frexp.m4
2071 m4/printf-frexpl.m4
2072 m4/printf-posix-rpl.m4
2073 m4/printf.m4
2074 m4/pthread-thread.m4
2075 m4/pthread_h.m4
2076 m4/pthread_rwlock_rdlock.m4
2077 m4/pthread_sigmask.m4
2078 m4/putenv.m4
2079 m4/quote.m4
2080 m4/quotearg.m4
2081 m4/raise.m4
2082 m4/readdir.m4
2083 m4/realloc.m4
2084 m4/regex.m4
2085 m4/rewinddir.m4
2086 m4/save-cwd.m4
2087 m4/sched_h.m4
2088 m4/secure_getenv.m4
2089 m4/select.m4
2090 m4/semaphore.m4
2091 m4/setenv.m4
2092 m4/setlocale.m4
2093 m4/setlocale_null.m4
2094 m4/sigaction.m4
2095 m4/signal_h.m4
2096 m4/signalblocking.m4
2097 m4/signbit.m4
2098 m4/size_max.m4
2099 m4/sleep.m4
2100 m4/snprintf.m4
2101 m4/socketlib.m4
2102 m4/sockets.m4
2103 m4/socklen.m4
2104 m4/sockpfaf.m4
2105 m4/sprintf-posix.m4
2106 m4/ssize_t.m4
2107 m4/stat-time.m4
2108 m4/stat.m4
2109 m4/std-gnu11.m4
2110 m4/stdalign.m4
2111 m4/stdbool.m4
2112 m4/stddef_h.m4
2113 m4/stdint.m4
2114 m4/stdint_h.m4
2115 m4/stdio_h.m4
2116 m4/stdlib_h.m4
2117 m4/strcase.m4
2118 m4/strcasestr.m4
2119 m4/strdup.m4
2120 m4/strerror.m4
2121 m4/strerror_r.m4
2122 m4/string_h.m4
2123 m4/strings_h.m4
2124 m4/strndup.m4
2125 m4/strnlen.m4
2126 m4/strsep.m4
2127 m4/symlink.m4
2128 m4/sys_ioctl_h.m4
2129 m4/sys_select_h.m4
2130 m4/sys_socket_h.m4
2131 m4/sys_stat_h.m4
2132 m4/sys_time_h.m4
2133 m4/sys_types_h.m4
2134 m4/sys_uio_h.m4
2135 m4/tempname.m4
2136 m4/thread.m4
2137 m4/threadlib.m4
2138 m4/time_h.m4
2139 m4/tmpdir.m4
2140 m4/tmpfile.m4
2141 m4/ungetc.m4
2142 m4/unistd-safer.m4
2143 m4/unistd_h.m4
2144 m4/usleep.m4
2145 m4/vasnprintf.m4
2146 m4/vfprintf-posix.m4
2147 m4/visibility.m4
2148 m4/warn-on-use.m4
2149 m4/warnings.m4
2150 m4/wchar_h.m4
2151 m4/wchar_t.m4
2152 m4/wcrtomb.m4
2153 m4/wctob.m4
2154 m4/wctomb.m4
2155 m4/wctype_h.m4
2156 m4/wcwidth.m4
2157 m4/wint_t.m4
2158 m4/xalloc.m4
2159 m4/xgetcwd.m4
2160 m4/xsize.m4
2161 m4/xstrndup.m4
2162 m4/yield.m4
2163 m4/zzgnulib.m4
2164 tests/infinity.h
2165 tests/init.sh
2166 tests/locale.c
2167 tests/macros.h
2168 tests/minus-zero.h
2169 tests/nan.h
2170 tests/nap.h
2171 tests/randomd.c
2172 tests/randoml.c
2173 tests/signature.h
2174 tests/test-accept.c
2175 tests/test-alignof.c
2176 tests/test-alloca-opt.c
2177 tests/test-argmatch.c
2178 tests/test-argv-iter.c
2179 tests/test-arpa_inet.c
2180 tests/test-binary-io.c
2181 tests/test-binary-io.sh
2182 tests/test-bind.c
2183 tests/test-bitrotate.c
2184 tests/test-btowc.c
2185 tests/test-btowc1.sh
2186 tests/test-btowc2.sh
2187 tests/test-c-ctype.c
2188 tests/test-c-strcase.sh
2189 tests/test-c-strcasecmp.c
2190 tests/test-c-strncasecmp.c
2191 tests/test-calloc-gnu.c
2192 tests/test-chdir.c
2193 tests/test-cloexec.c
2194 tests/test-close.c
2195 tests/test-connect.c
2196 tests/test-ctype.c
2197 tests/test-dirent.c
2198 tests/test-dirname.c
2199 tests/test-dup-safer.c
2200 tests/test-dup.c
2201 tests/test-dup2.c
2202 tests/test-environ.c
2203 tests/test-errno.c
2204 tests/test-exclude.c
2205 tests/test-exclude1.sh
2206 tests/test-exclude2.sh
2207 tests/test-exclude3.sh
2208 tests/test-exclude4.sh
2209 tests/test-exclude5.sh
2210 tests/test-exclude6.sh
2211 tests/test-exclude7.sh
2212 tests/test-exclude8.sh
2213 tests/test-fchdir.c
2214 tests/test-fcntl-h.c
2215 tests/test-fcntl.c
2216 tests/test-fdopen.c
2217 tests/test-fdopendir.c
2218 tests/test-fflush.c
2219 tests/test-fflush2.c
2220 tests/test-fflush2.sh
2221 tests/test-fgetc.c
2222 tests/test-float.c
2223 tests/test-fnmatch-h.c
2224 tests/test-fnmatch.c
2225 tests/test-fopen.c
2226 tests/test-fopen.h
2227 tests/test-fpending.c
2228 tests/test-fpending.sh
2229 tests/test-fprintf-posix.c
2230 tests/test-fprintf-posix.h
2231 tests/test-fprintf-posix.sh
2232 tests/test-fprintf-posix2.c
2233 tests/test-fprintf-posix2.sh
2234 tests/test-fprintf-posix3.c
2235 tests/test-fprintf-posix3.sh
2236 tests/test-fpurge.c
2237 tests/test-fputc.c
2238 tests/test-fread.c
2239 tests/test-freading.c
2240 tests/test-freopen.c
2241 tests/test-frexp.c
2242 tests/test-frexp.h
2243 tests/test-frexpl.c
2244 tests/test-fseek.c
2245 tests/test-fseek.sh
2246 tests/test-fseek2.sh
2247 tests/test-fseeko.c
2248 tests/test-fseeko.sh
2249 tests/test-fseeko2.sh
2250 tests/test-fseeko3.c
2251 tests/test-fseeko3.sh
2252 tests/test-fseeko4.c
2253 tests/test-fseeko4.sh
2254 tests/test-fseterr.c
2255 tests/test-fstat.c
2256 tests/test-fstatat.c
2257 tests/test-ftell.c
2258 tests/test-ftell.sh
2259 tests/test-ftell2.sh
2260 tests/test-ftell3.c
2261 tests/test-ftello.c
2262 tests/test-ftello.sh
2263 tests/test-ftello2.sh
2264 tests/test-ftello3.c
2265 tests/test-ftello4.c
2266 tests/test-ftello4.sh
2267 tests/test-ftruncate.c
2268 tests/test-ftruncate.sh
2269 tests/test-fwrite.c
2270 tests/test-get-rusage-as.c
2271 tests/test-getcwd-lgpl.c
2272 tests/test-getcwd.c
2273 tests/test-getcwd.sh
2274 tests/test-getdelim.c
2275 tests/test-getdtablesize.c
2276 tests/test-getopt-gnu.c
2277 tests/test-getopt-main.h
2278 tests/test-getopt-posix.c
2279 tests/test-getopt.h
2280 tests/test-getopt_long.h
2281 tests/test-getprogname.c
2282 tests/test-gettimeofday.c
2283 tests/test-hard-locale.c
2284 tests/test-hash.c
2285 tests/test-ignore-value.c
2286 tests/test-inet_pton.c
2287 tests/test-init.sh
2288 tests/test-intprops.c
2289 tests/test-inttostr.c
2290 tests/test-inttypes.c
2291 tests/test-ioctl.c
2292 tests/test-isblank.c
2293 tests/test-isnand-nolibm.c
2294 tests/test-isnand.h
2295 tests/test-isnanf-nolibm.c
2296 tests/test-isnanf.h
2297 tests/test-isnanl-nolibm.c
2298 tests/test-isnanl.h
2299 tests/test-iswblank.c
2300 tests/test-iswdigit.c
2301 tests/test-iswdigit.sh
2302 tests/test-iswxdigit.c
2303 tests/test-iswxdigit.sh
2304 tests/test-langinfo.c
2305 tests/test-limits-h.c
2306 tests/test-listen.c
2307 tests/test-localcharset.c
2308 tests/test-locale.c
2309 tests/test-localeconv.c
2310 tests/test-localename.c
2311 tests/test-lock.c
2312 tests/test-lseek.c
2313 tests/test-lseek.sh
2314 tests/test-lstat.c
2315 tests/test-lstat.h
2316 tests/test-malloc-gnu.c
2317 tests/test-malloca.c
2318 tests/test-math.c
2319 tests/test-mbrtowc-w32-1.sh
2320 tests/test-mbrtowc-w32-2.sh
2321 tests/test-mbrtowc-w32-3.sh
2322 tests/test-mbrtowc-w32-4.sh
2323 tests/test-mbrtowc-w32-5.sh
2324 tests/test-mbrtowc-w32-6.sh
2325 tests/test-mbrtowc-w32-7.sh
2326 tests/test-mbrtowc-w32.c
2327 tests/test-mbrtowc.c
2328 tests/test-mbrtowc1.sh
2329 tests/test-mbrtowc2.sh
2330 tests/test-mbrtowc3.sh
2331 tests/test-mbrtowc4.sh
2332 tests/test-mbrtowc5.sh
2333 tests/test-mbscasecmp.c
2334 tests/test-mbscasecmp.sh
2335 tests/test-mbsinit.c
2336 tests/test-mbsinit.sh
2337 tests/test-mbsrtowcs.c
2338 tests/test-mbsrtowcs1.sh
2339 tests/test-mbsrtowcs2.sh
2340 tests/test-mbsrtowcs3.sh
2341 tests/test-mbsrtowcs4.sh
2342 tests/test-memchr.c
2343 tests/test-memrchr.c
2344 tests/test-mkdir.c
2345 tests/test-mkdir.h
2346 tests/test-nanosleep.c
2347 tests/test-netinet_in.c
2348 tests/test-nl_langinfo-mt.c
2349 tests/test-nl_langinfo.c
2350 tests/test-nl_langinfo.sh
2351 tests/test-once.c
2352 tests/test-open.c
2353 tests/test-open.h
2354 tests/test-openat.c
2355 tests/test-pathmax.c
2356 tests/test-perror.c
2357 tests/test-perror.sh
2358 tests/test-perror2.c
2359 tests/test-pipe.c
2360 tests/test-printf-frexp.c
2361 tests/test-printf-frexpl.c
2362 tests/test-printf-posix.c
2363 tests/test-printf-posix.h
2364 tests/test-printf-posix.output
2365 tests/test-printf-posix.sh
2366 tests/test-printf-posix2.c
2367 tests/test-printf-posix2.sh
2368 tests/test-pthread-thread.c
2369 tests/test-pthread.c
2370 tests/test-pthread_sigmask1.c
2371 tests/test-pthread_sigmask2.c
2372 tests/test-quotearg-simple.c
2373 tests/test-quotearg.h
2374 tests/test-raise.c
2375 tests/test-realloc-gnu.c
2376 tests/test-regex.c
2377 tests/test-rwlock1.c
2378 tests/test-sched.c
2379 tests/test-select-fd.c
2380 tests/test-select-in.sh
2381 tests/test-select-out.sh
2382 tests/test-select-stdin.c
2383 tests/test-select.c
2384 tests/test-select.h
2385 tests/test-setenv.c
2386 tests/test-setlocale1.c
2387 tests/test-setlocale1.sh
2388 tests/test-setlocale2.c
2389 tests/test-setlocale2.sh
2390 tests/test-setlocale_null-mt-all.c
2391 tests/test-setlocale_null-mt-one.c
2392 tests/test-setlocale_null.c
2393 tests/test-setsockopt.c
2394 tests/test-sigaction.c
2395 tests/test-signal-h.c
2396 tests/test-signbit.c
2397 tests/test-sigprocmask.c
2398 tests/test-sleep.c
2399 tests/test-snprintf.c
2400 tests/test-sockets.c
2401 tests/test-sprintf-posix.c
2402 tests/test-sprintf-posix.h
2403 tests/test-stat-time.c
2404 tests/test-stat.c
2405 tests/test-stat.h
2406 tests/test-stdalign.c
2407 tests/test-stdbool.c
2408 tests/test-stddef.c
2409 tests/test-stdint.c
2410 tests/test-stdio.c
2411 tests/test-stdlib.c
2412 tests/test-strcasestr.c
2413 tests/test-strerror.c
2414 tests/test-strerror_r.c
2415 tests/test-string.c
2416 tests/test-strings.c
2417 tests/test-strnlen.c
2418 tests/test-symlink.c
2419 tests/test-symlink.h
2420 tests/test-sys_ioctl.c
2421 tests/test-sys_select.c
2422 tests/test-sys_socket.c
2423 tests/test-sys_stat.c
2424 tests/test-sys_time.c
2425 tests/test-sys_types.c
2426 tests/test-sys_uio.c
2427 tests/test-sys_wait.h
2428 tests/test-thread_create.c
2429 tests/test-thread_self.c
2430 tests/test-time.c
2431 tests/test-unistd.c
2432 tests/test-unsetenv.c
2433 tests/test-update-copyright.sh
2434 tests/test-usleep.c
2435 tests/test-vasnprintf.c
2436 tests/test-vc-list-files-cvs.sh
2437 tests/test-vc-list-files-git.sh
2438 tests/test-verify-try.c
2439 tests/test-verify.c
2440 tests/test-verify.sh
2441 tests/test-vfprintf-posix.c
2442 tests/test-vfprintf-posix.sh
2443 tests/test-wchar.c
2444 tests/test-wcrtomb-w32-1.sh
2445 tests/test-wcrtomb-w32-2.sh
2446 tests/test-wcrtomb-w32-3.sh
2447 tests/test-wcrtomb-w32-4.sh
2448 tests/test-wcrtomb-w32-5.sh
2449 tests/test-wcrtomb-w32-6.sh
2450 tests/test-wcrtomb-w32-7.sh
2451 tests/test-wcrtomb-w32.c
2452 tests/test-wcrtomb.c
2453 tests/test-wcrtomb.sh
2454 tests/test-wctype-h.c
2455 tests/test-wcwidth.c
2456 tests/test-xalloc-die.c
2457 tests/test-xalloc-die.sh
2458 tests/uniwidth/test-uc_width.c
2459 tests/uniwidth/test-uc_width2.c
2460 tests/uniwidth/test-uc_width2.sh
2461 tests/zerosize-ptr.h
2462 tests=lib/_Noreturn.h
2463 tests=lib/accept.c
2464 tests=lib/arg-nonnull.h
2465 tests=lib/argmatch.c
2466 tests=lib/argmatch.h
2467 tests=lib/arpa_inet.in.h
2468 tests=lib/binary-io.c
2469 tests=lib/binary-io.h
2470 tests=lib/bind.c
2471 tests=lib/c++defs.h
2472 tests=lib/connect.c
2473 tests=lib/ctype.in.h
2474 tests=lib/fdopen.c
2475 tests=lib/ftruncate.c
2476 tests=lib/get-rusage-as.c
2477 tests=lib/getpagesize.c
2478 tests=lib/gettimeofday.c
2479 tests=lib/glthread/thread.c
2480 tests=lib/glthread/thread.h
2481 tests=lib/glthread/yield.h
2482 tests=lib/hash-pjw.c
2483 tests=lib/hash-pjw.h
2484 tests=lib/inet_pton.c
2485 tests=lib/ioctl.c
2486 tests=lib/isblank.c
2487 tests=lib/listen.c
2488 tests=lib/localename-table.c
2489 tests=lib/localename-table.h
2490 tests=lib/localename.c
2491 tests=lib/localename.h
2492 tests=lib/localtime-buffer.c
2493 tests=lib/localtime-buffer.h
2494 tests=lib/mkdir.c
2495 tests=lib/nanosleep.c
2496 tests=lib/netinet_in.in.h
2497 tests=lib/perror.c
2498 tests=lib/pipe.c
2499 tests=lib/pthread-thread.c
2500 tests=lib/pthread.in.h
2501 tests=lib/pthread_sigmask.c
2502 tests=lib/putenv.c
2503 tests=lib/raise.c
2504 tests=lib/resource-ext.h
2505 tests=lib/same-inode.h
2506 tests=lib/sched.in.h
2507 tests=lib/secure_getenv.c
2508 tests=lib/select.c
2509 tests=lib/setenv.c
2510 tests=lib/setlocale.c
2511 tests=lib/setsockopt.c
2512 tests=lib/sig-handler.c
2513 tests=lib/sig-handler.h
2514 tests=lib/sigaction.c
2515 tests=lib/signal.in.h
2516 tests=lib/sigprocmask.c
2517 tests=lib/sleep.c
2518 tests=lib/snprintf.c
2519 tests=lib/socket.c
2520 tests=lib/sockets.c
2521 tests=lib/sockets.h
2522 tests=lib/stdalign.in.h
2523 tests=lib/strerror_r.c
2524 tests=lib/symlink.c
2525 tests=lib/sys_select.in.h
2526 tests=lib/sys_socket.c
2527 tests=lib/sys_socket.in.h
2528 tests=lib/sys_time.in.h
2529 tests=lib/sys_uio.in.h
2530 tests=lib/tempname.c
2531 tests=lib/tempname.h
2532 tests=lib/tmpdir.c
2533 tests=lib/tmpdir.h
2534 tests=lib/tmpfile.c
2535 tests=lib/unsetenv.c
2536 tests=lib/unused-parameter.h
2537 tests=lib/usleep.c
2538 tests=lib/vma-iter.c
2539 tests=lib/vma-iter.h
2540 tests=lib/w32sock.h
2541 tests=lib/warn-on-use.h
2542 tests=lib/wctob.c
2543 tests=lib/wctomb-impl.h
2544 tests=lib/wctomb.c
2545 tests=lib/windows-thread.c
2546 tests=lib/windows-thread.h
2547 tests=lib/windows-tls.c
2548 tests=lib/windows-tls.h
2549 top/GNUmakefile
2550 top/README-release
2551 top/maint.mk
2552 ])