source: trunk/src/sed/m4/gnulib-comp.m4@ 3670

Last change on this file since 3670 was 3611, checked in by bird, 10 months ago

vendor/sed/current: GNU sed 4.9 (sed-4.9.tar.xz sha256:6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181)

File size: 65.8 KB
Line 
1# DO NOT EDIT! GENERATED AUTOMATICALLY!
2# Copyright (C) 2002-2022 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.
34AC_DEFUN([gl_EARLY],
35[
36 m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
37 m4_pattern_allow([^gl_ES$])dnl a valid locale name
38 m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
39 m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
40
41 # Pre-early section.
42 AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
43 AC_REQUIRE([gl_PROG_AR_RANLIB])
44
45 # Code from module absolute-header:
46 # Code from module accept:
47 # Code from module accept-tests:
48 # Code from module acl:
49 # Code from module acl-permissions:
50 # Code from module acl-tests:
51 # Code from module alignof:
52 # Code from module alignof-tests:
53 # Code from module alloca:
54 # Code from module alloca-opt:
55 # Code from module alloca-opt-tests:
56 # Code from module announce-gen:
57 # Code from module arpa_inet:
58 # Code from module arpa_inet-tests:
59 # Code from module assert:
60 # Code from module assert-h:
61 # Code from module assert-h-tests:
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 btowc:
69 # Code from module btowc-tests:
70 # Code from module builtin-expect:
71 # Code from module c-ctype:
72 # Code from module c-ctype-tests:
73 # Code from module c-strcase:
74 # Code from module c-strcase-tests:
75 # Code from module c-strcaseeq:
76 # Code from module c99:
77 # Code from module calloc-gnu:
78 # Code from module calloc-gnu-tests:
79 # Code from module calloc-posix:
80 # Code from module canonicalize-lgpl:
81 # Code from module canonicalize-lgpl-tests:
82 # Code from module chdir:
83 # Code from module chdir-tests:
84 # Code from module clock-time:
85 # Code from module cloexec:
86 # Code from module cloexec-tests:
87 # Code from module close:
88 # Code from module close-stream:
89 # Code from module close-tests:
90 # Code from module closedir:
91 # Code from module closeout:
92 # Code from module connect:
93 # Code from module connect-tests:
94 # Code from module ctype:
95 # Code from module ctype-tests:
96 # Code from module dfa:
97 # Code from module dfa-tests:
98 # Code from module dirent:
99 # Code from module dirent-tests:
100 # Code from module dirfd:
101 # Code from module dirname-lgpl:
102 # Code from module do-release-commit-and-tag:
103 # Code from module double-slash-root:
104 # Code from module dup2:
105 # Code from module dup2-tests:
106 # Code from module eloop-threshold:
107 # Code from module environ:
108 # Code from module environ-tests:
109 # Code from module errno:
110 # Code from module errno-tests:
111 # Code from module error:
112 # Code from module exitfail:
113 # Code from module explicit_bzero:
114 # Code from module explicit_bzero-tests:
115 # Code from module extensions:
116 # Code from module extern-inline:
117 # Code from module fcntl:
118 # Code from module fcntl-h:
119 # Code from module fcntl-h-tests:
120 # Code from module fcntl-tests:
121 # Code from module fd-hook:
122 # Code from module fdopen:
123 # Code from module fdopen-tests:
124 # Code from module fflush:
125 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
126 # Code from module fflush-tests:
127 # Code from module fgetc-tests:
128 # Code from module file-has-acl:
129 # Code from module file-has-acl-tests:
130 # Code from module filename:
131 # Code from module flexmember:
132 # Code from module fopen:
133 # Code from module fopen-gnu:
134 # Code from module fopen-gnu-tests:
135 # Code from module fopen-tests:
136 # Code from module fpending:
137 # Code from module fpending-tests:
138 # Code from module fpurge:
139 # Code from module fpurge-tests:
140 # Code from module fputc-tests:
141 # Code from module fread-tests:
142 # Code from module freading:
143 # Code from module freading-tests:
144 # Code from module free-posix:
145 # Code from module free-posix-tests:
146 # Code from module fseek:
147 # Code from module fseek-tests:
148 # Code from module fseeko:
149 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
150 # Code from module fseeko-tests:
151 # Code from module fstat:
152 # Code from module fstat-tests:
153 # Code from module ftell:
154 # Code from module ftell-tests:
155 # Code from module ftello:
156 AC_REQUIRE([gl_SET_LARGEFILE_SOURCE])
157 # Code from module ftello-tests:
158 # Code from module ftruncate:
159 # Code from module ftruncate-tests:
160 # Code from module fwrite-tests:
161 # Code from module fwriting:
162 # Code from module fwriting-tests:
163 # Code from module gen-header:
164 # Code from module gendocs:
165 # Code from module getcwd-lgpl:
166 # Code from module getcwd-lgpl-tests:
167 # Code from module getdelim:
168 # Code from module getdelim-tests:
169 # Code from module getdtablesize:
170 # Code from module getdtablesize-tests:
171 # Code from module getpagesize:
172 # Code from module getprogname:
173 # Code from module getprogname-tests:
174 # Code from module getrandom:
175 # Code from module getrandom-tests:
176 # Code from module gettext-h:
177 # Code from module gettimeofday:
178 # Code from module gettimeofday-tests:
179 # Code from module git-version-gen:
180 # Code from module gitlog-to-changelog:
181 # Code from module glibc-internal/dynarray:
182 # Code from module glibc-internal/dynarray-tests:
183 # Code from module glibc-internal/scratch_buffer:
184 # Code from module glibc-internal/scratch_buffer-tests:
185 # Code from module gnu-web-doc-update:
186 # Code from module gnumakefile:
187 # Code from module gnupload:
188 # Code from module hard-locale:
189 # Code from module hard-locale-tests:
190 # Code from module ialloc:
191 # Code from module idx:
192 # Code from module ignore-value:
193 # Code from module ignore-value-tests:
194 # Code from module include_next:
195 # Code from module inet_pton:
196 # Code from module inet_pton-tests:
197 # Code from module intprops:
198 # Code from module intprops-tests:
199 # Code from module inttypes:
200 # Code from module inttypes-incomplete:
201 # Code from module inttypes-tests:
202 # Code from module ioctl:
203 # Code from module ioctl-tests:
204 # Code from module isblank:
205 # Code from module isblank-tests:
206 # Code from module langinfo:
207 # Code from module langinfo-tests:
208 # Code from module largefile:
209 AC_REQUIRE([gl_YEAR2038_EARLY])
210 AC_REQUIRE([AC_SYS_LARGEFILE])
211 # Code from module libc-config:
212 # Code from module limits-h:
213 # Code from module limits-h-tests:
214 # Code from module link:
215 # Code from module link-tests:
216 # Code from module listen:
217 # Code from module listen-tests:
218 # Code from module localcharset:
219 # Code from module localcharset-tests:
220 # Code from module locale:
221 # Code from module locale-tests:
222 # Code from module localeconv:
223 # Code from module localeconv-tests:
224 # Code from module localename:
225 # Code from module localename-tests:
226 # Code from module lock:
227 # Code from module lseek:
228 # Code from module lseek-tests:
229 # Code from module lstat:
230 # Code from module lstat-tests:
231 # Code from module maintainer-makefile:
232 # Code from module malloc-gnu:
233 # Code from module malloc-gnu-tests:
234 # Code from module malloc-posix:
235 # Code from module malloca:
236 # Code from module malloca-tests:
237 # Code from module manywarnings:
238 # Code from module mbrlen:
239 # Code from module mbrtowc:
240 # Code from module mbrtowc-tests:
241 # Code from module mbsinit:
242 # Code from module mbsinit-tests:
243 # Code from module mbtowc:
244 # Code from module memchr:
245 # Code from module memchr-tests:
246 # Code from module mempcpy:
247 # Code from module memrchr:
248 # Code from module memrchr-tests:
249 # Code from module minmax:
250 # Code from module mkdir:
251 # Code from module mkdir-tests:
252 # Code from module mkostemp:
253 # Code from module msvc-inval:
254 # Code from module msvc-nothrow:
255 # Code from module multiarch:
256 # Code from module nanosleep:
257 # Code from module nanosleep-tests:
258 # Code from module netinet_in:
259 # Code from module netinet_in-tests:
260 # Code from module nl_langinfo:
261 # Code from module nl_langinfo-tests:
262 # Code from module nocrash:
263 # Code from module obstack:
264 # Code from module open:
265 # Code from module open-tests:
266 # Code from module opendir:
267 # Code from module pathmax:
268 # Code from module pathmax-tests:
269 # Code from module perl:
270 # Code from module perror:
271 # Code from module perror-tests:
272 # Code from module pipe-posix:
273 # Code from module pipe-posix-tests:
274 # Code from module progname:
275 # Code from module pselect:
276 # Code from module pselect-tests:
277 # Code from module pthread-h:
278 gl_ANYTHREADLIB_EARLY
279 # Code from module pthread-h-tests:
280 # Code from module pthread-thread:
281 # Code from module pthread-thread-tests:
282 # Code from module pthread_sigmask:
283 # Code from module pthread_sigmask-tests:
284 # Code from module putenv:
285 # Code from module qcopy-acl:
286 # Code from module qset-acl:
287 # Code from module quote:
288 # Code from module quotearg:
289 # Code from module quotearg-simple:
290 # Code from module quotearg-simple-tests:
291 # Code from module raise:
292 # Code from module raise-tests:
293 # Code from module rawmemchr:
294 # Code from module rawmemchr-tests:
295 # Code from module read-file:
296 # Code from module read-file-tests:
297 # Code from module readdir:
298 # Code from module readlink:
299 # Code from module readlink-tests:
300 # Code from module readme-release:
301 # Code from module realloc-gnu:
302 # Code from module realloc-gnu-tests:
303 # Code from module realloc-posix:
304 # Code from module reallocarray:
305 # Code from module reallocarray-tests:
306 # Code from module regex:
307 # Code from module regex-tests:
308 # Code from module rename:
309 # Code from module rename-tests:
310 # Code from module rmdir:
311 # Code from module rmdir-tests:
312 # Code from module same-inode:
313 # Code from module sched:
314 # Code from module sched-tests:
315 # Code from module select:
316 # Code from module select-tests:
317 # Code from module selinux-h:
318 # Code from module setenv:
319 # Code from module setenv-tests:
320 # Code from module setlocale:
321 # Code from module setlocale-null:
322 # Code from module setlocale-null-tests:
323 # Code from module setlocale-tests:
324 # Code from module setsockopt:
325 # Code from module setsockopt-tests:
326 # Code from module signal-h:
327 # Code from module signal-h-tests:
328 # Code from module sigprocmask:
329 # Code from module sigprocmask-tests:
330 # Code from module sleep:
331 # Code from module sleep-tests:
332 # Code from module snippet/_Noreturn:
333 # Code from module snippet/arg-nonnull:
334 # Code from module snippet/c++defs:
335 # Code from module snippet/warn-on-use:
336 # Code from module socket:
337 # Code from module socketlib:
338 # Code from module sockets:
339 # Code from module sockets-tests:
340 # Code from module socklen:
341 # Code from module ssize_t:
342 # Code from module stat:
343 # Code from module stat-macros:
344 # Code from module stat-tests:
345 # Code from module stat-time:
346 # Code from module stat-time-tests:
347 # Code from module std-gnu11:
348 # Code from module stdalign:
349 # Code from module stdalign-tests:
350 # Code from module stdarg:
351 dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
352 dnl for the builtin va_copy to work. gl_PROG_CC_C99 arranges for this.
353 gl_PROG_CC_C99
354 # Code from module stdarg-tests:
355 # Code from module stdbool:
356 # Code from module stdbool-tests:
357 # Code from module stdckdint:
358 # Code from module stdckdint-tests:
359 # Code from module stddef:
360 # Code from module stddef-tests:
361 # Code from module stdint:
362 # Code from module stdint-tests:
363 # Code from module stdio:
364 # Code from module stdio-tests:
365 # Code from module stdlib:
366 # Code from module stdlib-tests:
367 # Code from module strdup-posix:
368 # Code from module streq:
369 # Code from module strerror:
370 # Code from module strerror-override:
371 # Code from module strerror-tests:
372 # Code from module strerror_r-posix:
373 # Code from module strerror_r-posix-tests:
374 # Code from module string:
375 # Code from module string-tests:
376 # Code from module strverscmp:
377 # Code from module strverscmp-tests:
378 # Code from module symlink:
379 # Code from module symlink-tests:
380 # Code from module sys_ioctl:
381 # Code from module sys_ioctl-tests:
382 # Code from module sys_random:
383 # Code from module sys_random-tests:
384 # Code from module sys_select:
385 # Code from module sys_select-tests:
386 # Code from module sys_socket:
387 # Code from module sys_socket-tests:
388 # Code from module sys_stat:
389 # Code from module sys_stat-tests:
390 # Code from module sys_time:
391 # Code from module sys_time-tests:
392 # Code from module sys_types:
393 # Code from module sys_types-tests:
394 # Code from module sys_uio:
395 # Code from module sys_uio-tests:
396 # Code from module tempname:
397 # Code from module test-framework-sh:
398 # Code from module test-framework-sh-tests:
399 # Code from module thread:
400 # Code from module thread-optim:
401 # Code from module thread-tests:
402 # Code from module threadlib:
403 gl_THREADLIB_EARLY
404 # Code from module time:
405 # Code from module time-tests:
406 # Code from module unistd:
407 # Code from module unistd-tests:
408 # Code from module unlocked-io:
409 # Code from module unlocked-io-internal:
410 # Code from module unsetenv:
411 # Code from module unsetenv-tests:
412 # Code from module update-copyright:
413 # Code from module update-copyright-tests:
414 # Code from module useless-if-before-free:
415 # Code from module vararrays:
416 # Code from module vc-list-files:
417 # Code from module vc-list-files-tests:
418 # Code from module verify:
419 # Code from module verify-tests:
420 # Code from module version-etc:
421 # Code from module version-etc-fsf:
422 # Code from module version-etc-tests:
423 # Code from module vma-iter:
424 # Code from module warnings:
425 # Code from module wchar:
426 # Code from module wchar-tests:
427 # Code from module wcrtomb:
428 # Code from module wcrtomb-tests:
429 # Code from module wctob:
430 # Code from module wctomb:
431 # Code from module wctype-h:
432 # Code from module wctype-h-tests:
433 # Code from module windows-mutex:
434 # Code from module windows-once:
435 # Code from module windows-recmutex:
436 # Code from module windows-rwlock:
437 # Code from module windows-thread:
438 # Code from module windows-tls:
439 # Code from module xalloc:
440 # Code from module xalloc-die:
441 # Code from module xalloc-die-tests:
442 # Code from module xalloc-oversized:
443])
444
445# This macro should be invoked from ./configure.ac, in the section
446# "Check for header files, types and library functions".
447AC_DEFUN([gl_INIT],
448[
449 AC_CONFIG_LIBOBJ_DIR([lib])
450 AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
451 gl_cond_libtool=false
452 gl_libdeps=
453 gl_ltlibdeps=
454 gl_m4_base='m4'
455 m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
456 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
457 m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
458 m4_pushdef([gl_LIBSOURCES_LIST], [])
459 m4_pushdef([gl_LIBSOURCES_DIR], [])
460 m4_pushdef([GL_MACRO_PREFIX], [gl])
461 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
462 gl_COMMON
463 gl_source_base='lib'
464 gl_source_base_prefix='$(top_build_prefix)lib/'
465 gl_FUNC_ACL
466 gl_FUNC_ALLOCA
467 gl_CONDITIONAL_HEADER([alloca.h])
468 AC_PROG_MKDIR_P
469 gl_ASSERT
470 gl_ASSERT_H
471 gl_CONDITIONAL_HEADER([assert.h])
472 AC_PROG_MKDIR_P
473 gl_FUNC_BTOWC
474 gl_CONDITIONAL([GL_COND_OBJ_BTOWC],
475 [test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1])
476 AM_COND_IF([GL_COND_OBJ_BTOWC], [
477 gl_PREREQ_BTOWC
478 ])
479 gl_WCHAR_MODULE_INDICATOR([btowc])
480 gl___BUILTIN_EXPECT
481 gl_FUNC_CALLOC_GNU
482 if test $REPLACE_CALLOC_FOR_CALLOC_GNU = 1; then
483 AC_LIBOBJ([calloc])
484 fi
485 gl_STDLIB_MODULE_INDICATOR([calloc-gnu])
486 gl_FUNC_CALLOC_POSIX
487 if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then
488 AC_LIBOBJ([calloc])
489 fi
490 gl_STDLIB_MODULE_INDICATOR([calloc-posix])
491 gl_CANONICALIZE_LGPL
492 gl_CONDITIONAL([GL_COND_OBJ_CANONICALIZE_LGPL],
493 [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1])
494 gl_MODULE_INDICATOR([canonicalize-lgpl])
495 gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
496 gl_STDLIB_MODULE_INDICATOR([realpath])
497 gl_UNISTD_MODULE_INDICATOR([chdir])
498 gl_CLOCK_TIME
499 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
500 gl_FUNC_CLOSE
501 gl_CONDITIONAL([GL_COND_OBJ_CLOSE], [test $REPLACE_CLOSE = 1])
502 gl_UNISTD_MODULE_INDICATOR([close])
503 gl_MODULE_INDICATOR([close-stream])
504 gl_CTYPE_H
505 gl_CTYPE_H_REQUIRE_DEFAULTS
506 AC_PROG_MKDIR_P
507 AC_REQUIRE([AC_C_INLINE])
508 gl_DOUBLE_SLASH_ROOT
509 gl_FUNC_DUP2
510 gl_CONDITIONAL([GL_COND_OBJ_DUP2], [test $REPLACE_DUP2 = 1])
511 AM_COND_IF([GL_COND_OBJ_DUP2], [
512 gl_PREREQ_DUP2
513 ])
514 gl_UNISTD_MODULE_INDICATOR([dup2])
515 gl_HEADER_ERRNO_H
516 gl_CONDITIONAL_HEADER([errno.h])
517 AC_PROG_MKDIR_P
518 gl_ERROR
519 gl_CONDITIONAL([GL_COND_OBJ_ERROR], [test "$ac_cv_lib_error_at_line" = no])
520 AM_COND_IF([GL_COND_OBJ_ERROR], [
521 gl_PREREQ_ERROR
522 ])
523 m4_ifdef([AM_XGETTEXT_OPTION],
524 [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
525 AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
526 AC_REQUIRE([gl_EXTERN_INLINE])
527 gl_FUNC_FCNTL
528 gl_CONDITIONAL([GL_COND_OBJ_FCNTL],
529 [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1])
530 gl_FCNTL_MODULE_INDICATOR([fcntl])
531 gl_FCNTL_H
532 gl_FCNTL_H_REQUIRE_DEFAULTS
533 AC_PROG_MKDIR_P
534 AC_C_FLEXIBLE_ARRAY_MEMBER
535 gl_FUNC_FPENDING
536 gl_CONDITIONAL([GL_COND_OBJ_FPENDING], [test $gl_cv_func___fpending = no])
537 gl_FUNC_FREE
538 gl_CONDITIONAL([GL_COND_OBJ_FREE], [test $REPLACE_FREE = 1])
539 AM_COND_IF([GL_COND_OBJ_FREE], [
540 gl_PREREQ_FREE
541 ])
542 gl_STDLIB_MODULE_INDICATOR([free-posix])
543 gl_FUNC_FSTAT
544 gl_CONDITIONAL([GL_COND_OBJ_FSTAT], [test $REPLACE_FSTAT = 1])
545 AM_COND_IF([GL_COND_OBJ_FSTAT], [
546 case "$host_os" in
547 mingw*)
548 AC_LIBOBJ([stat-w32])
549 ;;
550 esac
551 gl_PREREQ_FSTAT
552 ])
553 gl_SYS_STAT_MODULE_INDICATOR([fstat])
554 gl_FUNC_FWRITING
555 gl_CONDITIONAL([GL_COND_OBJ_FWRITING], [test $ac_cv_func___fwriting = no])
556 gl_FUNC_GETDELIM
557 gl_CONDITIONAL([GL_COND_OBJ_GETDELIM],
558 [test $HAVE_GETDELIM = 0 || test $REPLACE_GETDELIM = 1])
559 AM_COND_IF([GL_COND_OBJ_GETDELIM], [
560 gl_PREREQ_GETDELIM
561 ])
562 gl_STDIO_MODULE_INDICATOR([getdelim])
563 gl_FUNC_GETDTABLESIZE
564 gl_CONDITIONAL([GL_COND_OBJ_GETDTABLESIZE],
565 [test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1])
566 AM_COND_IF([GL_COND_OBJ_GETDTABLESIZE], [
567 gl_PREREQ_GETDTABLESIZE
568 ])
569 gl_UNISTD_MODULE_INDICATOR([getdtablesize])
570 gl_FUNC_GETPROGNAME
571 AC_REQUIRE([AC_CANONICAL_HOST])
572 gl_FUNC_GETRANDOM
573 gl_CONDITIONAL([GL_COND_OBJ_GETRANDOM],
574 [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1])
575 gl_SYS_RANDOM_MODULE_INDICATOR([getrandom])
576 AC_SUBST([LIBINTL])
577 AC_SUBST([LTLIBINTL])
578 AC_PROG_MKDIR_P
579 AC_PROG_MKDIR_P
580 # Autoconf 2.61a.99 and earlier don't support linking a file only
581 # in VPATH builds. But since GNUmakefile is for maintainer use
582 # only, it does not matter if we skip the link with older autoconf.
583 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
584 # builds, so use a shell variable to bypass this.
585 GNUmakefile=GNUmakefile
586 m4_if(m4_version_compare([2.61a.100],
587 m4_defn([m4_PACKAGE_VERSION])), [1], [],
588 [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
589 [GNUmakefile=$GNUmakefile])])
590 AC_REQUIRE([gl_FUNC_SETLOCALE_NULL])
591 LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
592 AC_SUBST([LIB_HARD_LOCALE])
593 gl_INTTYPES_INCOMPLETE
594 gl_INTTYPES_H_REQUIRE_DEFAULTS
595 AC_PROG_MKDIR_P
596 gl_LANGINFO_H
597 gl_LANGINFO_H_REQUIRE_DEFAULTS
598 AC_PROG_MKDIR_P
599 AC_REQUIRE([gl_LARGEFILE])
600 gl___INLINE
601 gl_LIMITS_H
602 gl_CONDITIONAL_HEADER([limits.h])
603 AC_PROG_MKDIR_P
604 gl_LOCALCHARSET
605 dnl For backward compatibility. Some packages still use this.
606 LOCALCHARSET_TESTS_ENVIRONMENT=
607 AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
608 gl_LOCALE_H
609 gl_LOCALE_H_REQUIRE_DEFAULTS
610 AC_PROG_MKDIR_P
611 gl_FUNC_LOCALECONV
612 gl_CONDITIONAL([GL_COND_OBJ_LOCALECONV], [test $REPLACE_LOCALECONV = 1])
613 AM_COND_IF([GL_COND_OBJ_LOCALECONV], [
614 gl_PREREQ_LOCALECONV
615 ])
616 gl_LOCALE_MODULE_INDICATOR([localeconv])
617 gl_LOCK
618 gl_MODULE_INDICATOR([lock])
619 gl_FUNC_LSTAT
620 gl_CONDITIONAL([GL_COND_OBJ_LSTAT], [test $REPLACE_LSTAT = 1])
621 AM_COND_IF([GL_COND_OBJ_LSTAT], [
622 gl_PREREQ_LSTAT
623 ])
624 gl_SYS_STAT_MODULE_INDICATOR([lstat])
625 AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
626 [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
627 AC_REQUIRE([AC_PROG_SED])
628 AC_REQUIRE([AC_PROG_GREP])
629 gl_FUNC_MALLOC_GNU
630 if test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1; then
631 AC_LIBOBJ([malloc])
632 fi
633 gl_STDLIB_MODULE_INDICATOR([malloc-gnu])
634 AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
635 if test $REPLACE_MALLOC_FOR_MALLOC_POSIX = 1; then
636 AC_LIBOBJ([malloc])
637 fi
638 gl_STDLIB_MODULE_INDICATOR([malloc-posix])
639 gl_MALLOCA
640 gl_FUNC_MBRLEN
641 gl_CONDITIONAL([GL_COND_OBJ_MBRLEN],
642 [test $HAVE_MBRLEN = 0 || test $REPLACE_MBRLEN = 1])
643 AM_COND_IF([GL_COND_OBJ_MBRLEN], [
644 gl_PREREQ_MBRLEN
645 ])
646 gl_WCHAR_MODULE_INDICATOR([mbrlen])
647 gl_FUNC_MBRTOWC
648 gl_CONDITIONAL([GL_COND_OBJ_MBRTOWC],
649 [test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1])
650 AM_COND_IF([GL_COND_OBJ_MBRTOWC], [
651 if test $REPLACE_MBSTATE_T = 1; then
652 AC_LIBOBJ([lc-charset-dispatch])
653 AC_LIBOBJ([mbtowc-lock])
654 gl_PREREQ_MBTOWC_LOCK
655 fi
656 gl_PREREQ_MBRTOWC
657 ])
658 gl_WCHAR_MODULE_INDICATOR([mbrtowc])
659 gl_FUNC_MBSINIT
660 gl_CONDITIONAL([GL_COND_OBJ_MBSINIT],
661 [test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1])
662 AM_COND_IF([GL_COND_OBJ_MBSINIT], [
663 gl_PREREQ_MBSINIT
664 ])
665 gl_WCHAR_MODULE_INDICATOR([mbsinit])
666 gl_FUNC_MBTOWC
667 gl_CONDITIONAL([GL_COND_OBJ_MBTOWC],
668 [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1])
669 AM_COND_IF([GL_COND_OBJ_MBTOWC], [
670 gl_PREREQ_MBTOWC
671 ])
672 gl_STDLIB_MODULE_INDICATOR([mbtowc])
673 gl_FUNC_MEMCHR
674 gl_CONDITIONAL([GL_COND_OBJ_MEMCHR], [test $REPLACE_MEMCHR = 1])
675 AM_COND_IF([GL_COND_OBJ_MEMCHR], [
676 gl_PREREQ_MEMCHR
677 ])
678 gl_STRING_MODULE_INDICATOR([memchr])
679 gl_FUNC_MEMPCPY
680 gl_CONDITIONAL([GL_COND_OBJ_MEMPCPY], [test $HAVE_MEMPCPY = 0])
681 AM_COND_IF([GL_COND_OBJ_MEMPCPY], [
682 gl_PREREQ_MEMPCPY
683 ])
684 gl_STRING_MODULE_INDICATOR([mempcpy])
685 gl_FUNC_MEMRCHR
686 gl_CONDITIONAL([GL_COND_OBJ_MEMRCHR], [test $ac_cv_func_memrchr = no])
687 AM_COND_IF([GL_COND_OBJ_MEMRCHR], [
688 gl_PREREQ_MEMRCHR
689 ])
690 gl_STRING_MODULE_INDICATOR([memrchr])
691 gl_MINMAX
692 gl_FUNC_MKDIR
693 gl_CONDITIONAL([GL_COND_OBJ_MKDIR], [test $REPLACE_MKDIR = 1])
694 gl_SYS_STAT_MODULE_INDICATOR([mkdir])
695 gl_FUNC_MKOSTEMP
696 gl_CONDITIONAL([GL_COND_OBJ_MKOSTEMP], [test $HAVE_MKOSTEMP = 0])
697 AM_COND_IF([GL_COND_OBJ_MKOSTEMP], [
698 gl_PREREQ_MKOSTEMP
699 ])
700 gl_MODULE_INDICATOR([mkostemp])
701 gl_STDLIB_MODULE_INDICATOR([mkostemp])
702 AC_REQUIRE([gl_MSVC_INVAL])
703 gl_CONDITIONAL([GL_COND_OBJ_MSVC_INVAL],
704 [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1])
705 AC_REQUIRE([gl_MSVC_NOTHROW])
706 gl_CONDITIONAL([GL_COND_OBJ_MSVC_NOTHROW],
707 [test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1])
708 gl_MODULE_INDICATOR([msvc-nothrow])
709 gl_MULTIARCH
710 gl_FUNC_NL_LANGINFO
711 gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO],
712 [test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1])
713 gl_CONDITIONAL([GL_COND_OBJ_NL_LANGINFO_LOCK],
714 [test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0])
715 if test $REPLACE_NL_LANGINFO = 1 && test $NL_LANGINFO_MTSAFE = 0; then
716 gl_PREREQ_NL_LANGINFO_LOCK
717 fi
718 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
719 gl_FUNC_OBSTACK
720 gl_CONDITIONAL([GL_COND_OBJ_OBSTACK], [test "$gl_cv_func_obstack" != yes])
721 gl_FUNC_OPEN
722 gl_CONDITIONAL([GL_COND_OBJ_OPEN], [test $REPLACE_OPEN = 1])
723 AM_COND_IF([GL_COND_OBJ_OPEN], [
724 gl_PREREQ_OPEN
725 ])
726 gl_FCNTL_MODULE_INDICATOR([open])
727 gl_PATHMAX
728 gl_PERL
729 AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
730 AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
731 gl_QUOTE
732 gl_QUOTEARG
733 gl_FUNC_RAWMEMCHR
734 gl_CONDITIONAL([GL_COND_OBJ_RAWMEMCHR], [test $HAVE_RAWMEMCHR = 0])
735 AM_COND_IF([GL_COND_OBJ_RAWMEMCHR], [
736 gl_PREREQ_RAWMEMCHR
737 ])
738 gl_STRING_MODULE_INDICATOR([rawmemchr])
739 gl_FUNC_READLINK
740 gl_CONDITIONAL([GL_COND_OBJ_READLINK],
741 [test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1])
742 AM_COND_IF([GL_COND_OBJ_READLINK], [
743 gl_PREREQ_READLINK
744 ])
745 gl_UNISTD_MODULE_INDICATOR([readlink])
746 gl_FUNC_REALLOC_GNU
747 if test $REPLACE_REALLOC_FOR_REALLOC_GNU = 1; then
748 AC_LIBOBJ([realloc])
749 fi
750 gl_STDLIB_MODULE_INDICATOR([realloc-gnu])
751 gl_FUNC_REALLOC_POSIX
752 if test $REPLACE_REALLOC_FOR_REALLOC_POSIX = 1; then
753 AC_LIBOBJ([realloc])
754 fi
755 gl_STDLIB_MODULE_INDICATOR([realloc-posix])
756 gl_FUNC_REALLOCARRAY
757 gl_CONDITIONAL([GL_COND_OBJ_REALLOCARRAY],
758 [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1])
759 AM_COND_IF([GL_COND_OBJ_REALLOCARRAY], [
760 gl_PREREQ_REALLOCARRAY
761 ])
762 gl_MODULE_INDICATOR([reallocarray])
763 gl_STDLIB_MODULE_INDICATOR([reallocarray])
764 gl_REGEX
765 gl_CONDITIONAL([GL_COND_OBJ_REGEX], [test $ac_use_included_regex = yes])
766 AM_COND_IF([GL_COND_OBJ_REGEX], [
767 gl_PREREQ_REGEX
768 ])
769 gl_FUNC_RENAME
770 gl_CONDITIONAL([GL_COND_OBJ_RENAME], [test $REPLACE_RENAME = 1])
771 gl_STDIO_MODULE_INDICATOR([rename])
772 gl_FUNC_RMDIR
773 gl_CONDITIONAL([GL_COND_OBJ_RMDIR], [test $REPLACE_RMDIR = 1])
774 gl_UNISTD_MODULE_INDICATOR([rmdir])
775 gl_HEADERS_SELINUX_SELINUX_H
776 gl_HEADERS_SELINUX_CONTEXT_H
777 gl_HEADERS_SELINUX_LABEL_H
778 gl_CONDITIONAL_HEADER([selinux/context.h])
779 gl_CONDITIONAL_HEADER([selinux/label.h])
780 AC_PROG_MKDIR_P
781 gl_CONDITIONAL([GL_COND_OBJ_GETFILECON],
782 [test "$with_selinux" != no && test "$ac_cv_header_selinux_selinux_h" = yes])
783 gl_FUNC_SETLOCALE_NULL
784 gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE_LOCK],
785 [test $SETLOCALE_NULL_ALL_MTSAFE = 0 || test $SETLOCALE_NULL_ONE_MTSAFE = 0])
786 AM_COND_IF([GL_COND_OBJ_SETLOCALE_LOCK], [
787 gl_PREREQ_SETLOCALE_LOCK
788 ])
789 gl_LOCALE_MODULE_INDICATOR([setlocale_null])
790 gt_TYPE_SSIZE_T
791 gl_FUNC_STAT
792 gl_CONDITIONAL([GL_COND_OBJ_STAT], [test $REPLACE_STAT = 1])
793 AM_COND_IF([GL_COND_OBJ_STAT], [
794 case "$host_os" in
795 mingw*)
796 AC_LIBOBJ([stat-w32])
797 ;;
798 esac
799 gl_PREREQ_STAT
800 ])
801 gl_SYS_STAT_MODULE_INDICATOR([stat])
802 gl_STAT_TIME
803 gl_STAT_BIRTHTIME
804 gl_STDALIGN_H
805 gl_CONDITIONAL_HEADER([stdalign.h])
806 AC_PROG_MKDIR_P
807 gl_STDARG_H
808 gl_CONDITIONAL_HEADER([stdarg.h])
809 AC_PROG_MKDIR_P
810 gl_C_BOOL
811 AC_CHECK_HEADERS_ONCE([stdckdint.h])
812 if test $ac_cv_header_stdckdint_h = yes; then
813 GL_GENERATE_STDCKDINT_H=false
814 else
815 GL_GENERATE_STDCKDINT_H=true
816 fi
817 gl_CONDITIONAL_HEADER([stdckdint.h])
818 AC_PROG_MKDIR_P
819 gl_STDDEF_H
820 gl_STDDEF_H_REQUIRE_DEFAULTS
821 gl_CONDITIONAL_HEADER([stddef.h])
822 AC_PROG_MKDIR_P
823 gl_STDINT_H
824 gl_CONDITIONAL_HEADER([stdint.h])
825 dnl Because of gl_REPLACE_LIMITS_H:
826 gl_CONDITIONAL_HEADER([limits.h])
827 AC_PROG_MKDIR_P
828 gl_STDIO_H
829 gl_STDIO_H_REQUIRE_DEFAULTS
830 AC_PROG_MKDIR_P
831 gl_CONDITIONAL([GL_COND_OBJ_STDIO_READ], [test $REPLACE_STDIO_READ_FUNCS = 1])
832 gl_CONDITIONAL([GL_COND_OBJ_STDIO_WRITE], [test $REPLACE_STDIO_WRITE_FUNCS = 1])
833 dnl No need to create extra modules for these functions. Everyone who uses
834 dnl <stdio.h> likely needs them.
835 gl_STDIO_MODULE_INDICATOR([fscanf])
836 gl_MODULE_INDICATOR([fscanf])
837 gl_STDIO_MODULE_INDICATOR([scanf])
838 gl_MODULE_INDICATOR([scanf])
839 gl_STDIO_MODULE_INDICATOR([fgetc])
840 gl_STDIO_MODULE_INDICATOR([getc])
841 gl_STDIO_MODULE_INDICATOR([getchar])
842 gl_STDIO_MODULE_INDICATOR([fgets])
843 gl_STDIO_MODULE_INDICATOR([fread])
844 dnl No need to create extra modules for these functions. Everyone who uses
845 dnl <stdio.h> likely needs them.
846 gl_STDIO_MODULE_INDICATOR([fprintf])
847 gl_STDIO_MODULE_INDICATOR([printf])
848 gl_STDIO_MODULE_INDICATOR([vfprintf])
849 gl_STDIO_MODULE_INDICATOR([vprintf])
850 gl_STDIO_MODULE_INDICATOR([fputc])
851 gl_STDIO_MODULE_INDICATOR([putc])
852 gl_STDIO_MODULE_INDICATOR([putchar])
853 gl_STDIO_MODULE_INDICATOR([fputs])
854 gl_STDIO_MODULE_INDICATOR([puts])
855 gl_STDIO_MODULE_INDICATOR([fwrite])
856 gl_STDLIB_H
857 gl_STDLIB_H_REQUIRE_DEFAULTS
858 AC_PROG_MKDIR_P
859 gl_FUNC_STRERROR
860 gl_CONDITIONAL([GL_COND_OBJ_STRERROR], [test $REPLACE_STRERROR = 1])
861 gl_MODULE_INDICATOR([strerror])
862 gl_STRING_MODULE_INDICATOR([strerror])
863 AC_REQUIRE([gl_HEADER_ERRNO_H])
864 AC_REQUIRE([gl_FUNC_STRERROR_0])
865 gl_CONDITIONAL([GL_COND_OBJ_STRERROR_OVERRIDE],
866 [test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1])
867 AM_COND_IF([GL_COND_OBJ_STRERROR_OVERRIDE], [
868 gl_PREREQ_SYS_H_WINSOCK2
869 ])
870 gl_STRING_H
871 gl_STRING_H_REQUIRE_DEFAULTS
872 AC_PROG_MKDIR_P
873 gl_FUNC_STRVERSCMP
874 gl_CONDITIONAL([GL_COND_OBJ_STRVERSCMP], [test $HAVE_STRVERSCMP = 0])
875 AM_COND_IF([GL_COND_OBJ_STRVERSCMP], [
876 gl_PREREQ_STRVERSCMP
877 ])
878 gl_STRING_MODULE_INDICATOR([strverscmp])
879 gl_SYS_RANDOM_H
880 gl_SYS_RANDOM_H_REQUIRE_DEFAULTS
881 AC_PROG_MKDIR_P
882 gl_SYS_STAT_H
883 gl_SYS_STAT_H_REQUIRE_DEFAULTS
884 AC_PROG_MKDIR_P
885 gl_SYS_TYPES_H
886 gl_SYS_TYPES_H_REQUIRE_DEFAULTS
887 AC_PROG_MKDIR_P
888 gl_FUNC_GEN_TEMPNAME
889 gl_MODULE_INDICATOR([tempname])
890 AC_REQUIRE([gl_THREADLIB])
891 gl_TIME_H
892 gl_TIME_H_REQUIRE_DEFAULTS
893 AC_PROG_MKDIR_P
894 gl_UNISTD_H
895 gl_UNISTD_H_REQUIRE_DEFAULTS
896 AC_PROG_MKDIR_P
897 AC_DEFINE([GNULIB_STDIO_SINGLE_THREAD], [1],
898 [Define to 1 if you want the FILE stream functions getc, putc, etc.
899 to use unlocked I/O if available, throughout the package.
900 Unlocked I/O can improve performance, sometimes dramatically.
901 But unlocked I/O is safe only in single-threaded programs,
902 as well as in multithreaded programs for which you can guarantee that
903 every FILE stream, including stdin, stdout, stderr, is used only
904 in a single thread.])
905 AC_DEFINE([USE_UNLOCKED_IO], [GNULIB_STDIO_SINGLE_THREAD],
906 [An alias of GNULIB_STDIO_SINGLE_THREAD.])
907 gl_FUNC_GLIBC_UNLOCKED_IO
908 AC_C_VARARRAYS
909 gl_VERSION_ETC
910 gl_WCHAR_H
911 gl_WCHAR_H_REQUIRE_DEFAULTS
912 AC_PROG_MKDIR_P
913 gl_FUNC_WCRTOMB
914 gl_CONDITIONAL([GL_COND_OBJ_WCRTOMB],
915 [test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1])
916 AM_COND_IF([GL_COND_OBJ_WCRTOMB], [
917 gl_PREREQ_WCRTOMB
918 ])
919 gl_WCHAR_MODULE_INDICATOR([wcrtomb])
920 gl_FUNC_WCTOB
921 gl_CONDITIONAL([GL_COND_OBJ_WCTOB],
922 [test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1])
923 AM_COND_IF([GL_COND_OBJ_WCTOB], [
924 gl_PREREQ_WCTOB
925 ])
926 gl_WCHAR_MODULE_INDICATOR([wctob])
927 gl_FUNC_WCTOMB
928 gl_CONDITIONAL([GL_COND_OBJ_WCTOMB], [test $REPLACE_WCTOMB = 1])
929 AM_COND_IF([GL_COND_OBJ_WCTOMB], [
930 gl_PREREQ_WCTOMB
931 ])
932 gl_STDLIB_MODULE_INDICATOR([wctomb])
933 gl_WCTYPE_H
934 gl_WCTYPE_H_REQUIRE_DEFAULTS
935 AC_PROG_MKDIR_P
936 AC_REQUIRE([AC_CANONICAL_HOST])
937 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_MUTEX],
938 [case "$host_os" in mingw*) true;; *) false;; esac])
939 AC_REQUIRE([AC_CANONICAL_HOST])
940 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_ONCE],
941 [case "$host_os" in mingw*) true;; *) false;; esac])
942 AC_REQUIRE([AC_CANONICAL_HOST])
943 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RECMUTEX],
944 [case "$host_os" in mingw*) true;; *) false;; esac])
945 AC_REQUIRE([AC_CANONICAL_HOST])
946 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_RWLOCK],
947 [case "$host_os" in mingw*) true;; *) false;; esac])
948 gl_XALLOC
949 gl_MODULE_INDICATOR([xalloc])
950 gl_MODULE_INDICATOR([xalloc-die])
951 # End of code from modules
952 m4_ifval(gl_LIBSOURCES_LIST, [
953 m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
954 for gl_file in ]gl_LIBSOURCES_LIST[ ; do
955 if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
956 echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
957 exit 1
958 fi
959 done])dnl
960 m4_if(m4_sysval, [0], [],
961 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
962 ])
963 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
964 m4_popdef([GL_MACRO_PREFIX])
965 m4_popdef([gl_LIBSOURCES_DIR])
966 m4_popdef([gl_LIBSOURCES_LIST])
967 m4_popdef([AC_LIBSOURCES])
968 m4_popdef([AC_REPLACE_FUNCS])
969 m4_popdef([AC_LIBOBJ])
970 AC_CONFIG_COMMANDS_PRE([
971 gl_libobjs=
972 gl_ltlibobjs=
973 gl_libobjdeps=
974 if test -n "$gl_LIBOBJS"; then
975 # Remove the extension.
976changequote(,)dnl
977 sed_drop_objext='s/\.o$//;s/\.obj$//'
978 sed_dirname1='s,//*,/,g'
979 sed_dirname2='s,\(.\)/$,\1,'
980 sed_dirname3='s,^[^/]*$,.,'
981 sed_dirname4='s,\(.\)/[^/]*$,\1,'
982 sed_basename1='s,.*/,,'
983changequote([, ])dnl
984 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
985 gl_libobjs="$gl_libobjs lib/$i.$ac_objext"
986 gl_ltlibobjs="$gl_ltlibobjs lib/$i.lo"
987 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"`
988 i_base=`echo "$i" | sed -e "$sed_basename1"`
989 gl_libobjdeps="$gl_libobjdeps lib/$i_dir/\$(DEPDIR)/$i_base.Po"
990 done
991 fi
992 AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
993 AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
994 AC_SUBST([gl_LIBOBJDEPS], [$gl_libobjdeps])
995 ])
996 gltests_libdeps=
997 gltests_ltlibdeps=
998 m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
999 m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
1000 m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
1001 m4_pushdef([gltests_LIBSOURCES_LIST], [])
1002 m4_pushdef([gltests_LIBSOURCES_DIR], [])
1003 m4_pushdef([GL_MACRO_PREFIX], [gltests])
1004 m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL])
1005 gl_COMMON
1006 AC_REQUIRE([gl_CC_ALLOW_WARNINGS])
1007 AC_REQUIRE([gl_CXX_ALLOW_WARNINGS])
1008 gl_source_base='gnulib-tests'
1009 gl_source_base_prefix=
1010changequote(,)dnl
1011 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
1012changequote([, ])dnl
1013 AC_SUBST([gltests_WITNESS])
1014 gl_module_indicator_condition=$gltests_WITNESS
1015 m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
1016 AC_REQUIRE([gl_SYS_SOCKET_H])
1017 gl_CONDITIONAL([GL_COND_OBJ_ACCEPT], [test "$ac_cv_header_winsock2_h" = yes])
1018 gl_SYS_SOCKET_MODULE_INDICATOR([accept])
1019 gl_ARPA_INET_H
1020 gl_ARPA_INET_H_REQUIRE_DEFAULTS
1021 AC_PROG_MKDIR_P
1022 AC_REQUIRE([gl_SYS_SOCKET_H])
1023 gl_CONDITIONAL([GL_COND_OBJ_BIND], [test "$ac_cv_header_winsock2_h" = yes])
1024 gl_SYS_SOCKET_MODULE_INDICATOR([bind])
1025 gt_LOCALE_FR
1026 gt_LOCALE_FR_UTF8
1027 gt_LOCALE_FR
1028 gt_LOCALE_TR_UTF8
1029 gl_FUNC_CLOSEDIR
1030 gl_CONDITIONAL([GL_COND_OBJ_CLOSEDIR],
1031 [test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1])
1032 gl_DIRENT_MODULE_INDICATOR([closedir])
1033 AC_REQUIRE([gl_SYS_SOCKET_H])
1034 gl_CONDITIONAL([GL_COND_OBJ_CONNECT], [test "$ac_cv_header_winsock2_h" = yes])
1035 gl_SYS_SOCKET_MODULE_INDICATOR([connect])
1036 gl_DIRENT_H
1037 gl_DIRENT_H_REQUIRE_DEFAULTS
1038 AC_PROG_MKDIR_P
1039 gl_FUNC_DIRFD
1040 gl_CONDITIONAL([GL_COND_OBJ_DIRFD],
1041 [test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no || test $REPLACE_DIRFD = 1])
1042 AM_COND_IF([GL_COND_OBJ_DIRFD], [
1043 gl_PREREQ_DIRFD
1044 ])
1045 gl_DIRENT_MODULE_INDICATOR([dirfd])
1046 gl_ENVIRON
1047 gl_UNISTD_MODULE_INDICATOR([environ])
1048 gl_FUNC_EXPLICIT_BZERO
1049 gl_CONDITIONAL([GL_COND_OBJ_EXPLICIT_BZERO], [test $HAVE_EXPLICIT_BZERO = 0])
1050 AM_COND_IF([GL_COND_OBJ_EXPLICIT_BZERO], [
1051 gl_PREREQ_EXPLICIT_BZERO
1052 ])
1053 gl_STRING_MODULE_INDICATOR([explicit_bzero])
1054 gl_FUNC_FDOPEN
1055 gl_CONDITIONAL([GL_COND_OBJ_FDOPEN], [test $REPLACE_FDOPEN = 1])
1056 AM_COND_IF([GL_COND_OBJ_FDOPEN], [
1057 gl_PREREQ_FDOPEN
1058 ])
1059 gl_STDIO_MODULE_INDICATOR([fdopen])
1060 gl_FUNC_FFLUSH
1061 gl_CONDITIONAL([GL_COND_OBJ_FFLUSH], [test $REPLACE_FFLUSH = 1])
1062 AM_COND_IF([GL_COND_OBJ_FFLUSH], [
1063 gl_PREREQ_FFLUSH
1064 ])
1065 gl_MODULE_INDICATOR([fflush])
1066 gl_STDIO_MODULE_INDICATOR([fflush])
1067 gl_FILE_HAS_ACL
1068 AC_CHECK_DECLS_ONCE([alarm])
1069 gl_FUNC_FOPEN
1070 if test $REPLACE_FOPEN = 1; then
1071 AC_LIBOBJ([fopen])
1072 gl_PREREQ_FOPEN
1073 fi
1074 gl_STDIO_MODULE_INDICATOR([fopen])
1075 gl_FUNC_FOPEN_GNU
1076 if test $REPLACE_FOPEN_FOR_FOPEN_GNU = 1; then
1077 AC_LIBOBJ([fopen])
1078 gl_PREREQ_FOPEN
1079 fi
1080 gl_MODULE_INDICATOR([fopen-gnu])
1081 gl_STDIO_MODULE_INDICATOR([fopen-gnu])
1082 gl_FUNC_FPURGE
1083 gl_CONDITIONAL([GL_COND_OBJ_FPURGE],
1084 [test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1])
1085 gl_STDIO_MODULE_INDICATOR([fpurge])
1086 gl_FUNC_FREADING
1087 gl_FUNC_FSEEK
1088 gl_CONDITIONAL([GL_COND_OBJ_FSEEK], [test $REPLACE_FSEEK = 1])
1089 gl_STDIO_MODULE_INDICATOR([fseek])
1090 gl_FUNC_UNGETC_WORKS
1091 gl_FUNC_FSEEKO
1092 gl_CONDITIONAL([GL_COND_OBJ_FSEEKO],
1093 [test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1])
1094 AM_COND_IF([GL_COND_OBJ_FSEEKO], [
1095 gl_PREREQ_FSEEKO
1096 ])
1097 gl_STDIO_MODULE_INDICATOR([fseeko])
1098 gl_FUNC_UNGETC_WORKS
1099 gl_FUNC_FTELL
1100 gl_CONDITIONAL([GL_COND_OBJ_FTELL], [test $REPLACE_FTELL = 1])
1101 gl_STDIO_MODULE_INDICATOR([ftell])
1102 gl_FUNC_UNGETC_WORKS
1103 gl_FUNC_FTELLO
1104 gl_CONDITIONAL([GL_COND_OBJ_FTELLO],
1105 [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1])
1106 AM_COND_IF([GL_COND_OBJ_FTELLO], [
1107 gl_PREREQ_FTELLO
1108 ])
1109 gl_STDIO_MODULE_INDICATOR([ftello])
1110 gl_FUNC_UNGETC_WORKS
1111 gl_FUNC_FTRUNCATE
1112 gl_CONDITIONAL([GL_COND_OBJ_FTRUNCATE],
1113 [test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1])
1114 AM_COND_IF([GL_COND_OBJ_FTRUNCATE], [
1115 gl_PREREQ_FTRUNCATE
1116 ])
1117 gl_UNISTD_MODULE_INDICATOR([ftruncate])
1118 gl_FUNC_GETCWD_LGPL
1119 gl_CONDITIONAL([GL_COND_OBJ_GETCWD_LGPL], [test $REPLACE_GETCWD = 1])
1120 gl_UNISTD_MODULE_INDICATOR([getcwd])
1121 gl_FUNC_GETPAGESIZE
1122 gl_CONDITIONAL([GL_COND_OBJ_GETPAGESIZE], [test $REPLACE_GETPAGESIZE = 1])
1123 gl_UNISTD_MODULE_INDICATOR([getpagesize])
1124 gl_FUNC_GETTIMEOFDAY
1125 gl_CONDITIONAL([GL_COND_OBJ_GETTIMEOFDAY],
1126 [test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1])
1127 AM_COND_IF([GL_COND_OBJ_GETTIMEOFDAY], [
1128 gl_PREREQ_GETTIMEOFDAY
1129 ])
1130 gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
1131 gl_MUSL_LIBC
1132 dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2.
1133 AC_CHECK_FUNCS_ONCE([duplocale])
1134 gl_FUNC_INET_PTON
1135 gl_CONDITIONAL([GL_COND_OBJ_INET_PTON],
1136 [test $HAVE_INET_PTON = 0 || test $REPLACE_INET_PTON = 1])
1137 AM_COND_IF([GL_COND_OBJ_INET_PTON], [
1138 gl_PREREQ_INET_PTON
1139 ])
1140 gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
1141 AC_C_BIGENDIAN
1142 gl_INTTYPES_H
1143 gl_FUNC_IOCTL
1144 gl_CONDITIONAL([GL_COND_OBJ_IOCTL],
1145 [test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1])
1146 gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
1147 gl_FUNC_ISBLANK
1148 gl_CONDITIONAL([GL_COND_OBJ_ISBLANK], [test $HAVE_ISBLANK = 0])
1149 gl_MODULE_INDICATOR([isblank])
1150 gl_CTYPE_MODULE_INDICATOR([isblank])
1151 gl_FUNC_LINK
1152 gl_CONDITIONAL([GL_COND_OBJ_LINK],
1153 [test $HAVE_LINK = 0 || test $REPLACE_LINK = 1])
1154 gl_UNISTD_MODULE_INDICATOR([link])
1155 AC_REQUIRE([gl_SYS_SOCKET_H])
1156 gl_CONDITIONAL([GL_COND_OBJ_LISTEN], [test "$ac_cv_header_winsock2_h" = yes])
1157 gl_SYS_SOCKET_MODULE_INDICATOR([listen])
1158 AC_CHECK_FUNCS_ONCE([newlocale])
1159 gl_LOCALENAME
1160 gl_LOCALE_MODULE_INDICATOR([localename])
1161 AC_CHECK_FUNCS_ONCE([newlocale])
1162 gl_FUNC_LSEEK
1163 gl_CONDITIONAL([GL_COND_OBJ_LSEEK], [test $REPLACE_LSEEK = 1])
1164 gl_UNISTD_MODULE_INDICATOR([lseek])
1165 gt_LOCALE_FR
1166 gt_LOCALE_FR_UTF8
1167 gt_LOCALE_JA
1168 gt_LOCALE_ZH_CN
1169 gt_LOCALE_FR_UTF8
1170 dnl Check for prerequisites for memory fence checks.
1171 gl_FUNC_MMAP_ANON
1172 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1173 AC_CHECK_FUNCS_ONCE([mprotect])
1174 gl_FUNC_MMAP_ANON
1175 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1176 AC_CHECK_FUNCS_ONCE([mprotect])
1177 gl_FUNC_NANOSLEEP
1178 gl_CONDITIONAL([GL_COND_OBJ_NANOSLEEP],
1179 [test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1])
1180 gl_TIME_MODULE_INDICATOR([nanosleep])
1181 AC_CHECK_DECLS_ONCE([alarm])
1182 gl_HEADER_NETINET_IN
1183 gl_CONDITIONAL_HEADER([netinet/in.h])
1184 AC_PROG_MKDIR_P
1185 gt_LOCALE_FR
1186 gt_LOCALE_FR_UTF8
1187 gl_FUNC_OPENDIR
1188 gl_CONDITIONAL([GL_COND_OBJ_OPENDIR],
1189 [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1])
1190 gl_DIRENT_MODULE_INDICATOR([opendir])
1191 gl_FUNC_PERROR
1192 gl_CONDITIONAL([GL_COND_OBJ_PERROR], [test $REPLACE_PERROR = 1])
1193 gl_STRING_MODULE_INDICATOR([perror])
1194 gl_FUNC_PIPE
1195 gl_CONDITIONAL([GL_COND_OBJ_PIPE], [test $HAVE_PIPE = 0])
1196 gl_UNISTD_MODULE_INDICATOR([pipe])
1197 gl_FUNC_PSELECT
1198 gl_CONDITIONAL([GL_COND_OBJ_PSELECT],
1199 [test $HAVE_PSELECT = 0 || test $REPLACE_PSELECT = 1])
1200 gl_SYS_SELECT_MODULE_INDICATOR([pselect])
1201 AC_CHECK_HEADERS_ONCE([sys/wait.h])
1202 gl_PTHREAD_H
1203 gl_PTHREAD_H_REQUIRE_DEFAULTS
1204 AC_PROG_MKDIR_P
1205 gl_PTHREAD_THREAD
1206 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_THREAD],
1207 [test $HAVE_PTHREAD_CREATE = 0 || test $REPLACE_PTHREAD_CREATE = 1])
1208 gl_PTHREAD_MODULE_INDICATOR([pthread-thread])
1209 gl_FUNC_PTHREAD_SIGMASK
1210 gl_CONDITIONAL([GL_COND_OBJ_PTHREAD_SIGMASK],
1211 [test $HAVE_PTHREAD_SIGMASK = 0 || test $REPLACE_PTHREAD_SIGMASK = 1])
1212 AM_COND_IF([GL_COND_OBJ_PTHREAD_SIGMASK], [
1213 gl_PREREQ_PTHREAD_SIGMASK
1214 ])
1215 gl_SIGNAL_MODULE_INDICATOR([pthread_sigmask])
1216 gl_FUNC_PUTENV
1217 gl_CONDITIONAL([GL_COND_OBJ_PUTENV], [test $REPLACE_PUTENV = 1])
1218 AM_COND_IF([GL_COND_OBJ_PUTENV], [
1219 gl_PREREQ_PUTENV
1220 ])
1221 gl_STDLIB_MODULE_INDICATOR([putenv])
1222 dnl Check for prerequisites for memory fence checks.
1223 dnl FIXME: zerosize-ptr.h requires these: make a module for it
1224 gl_FUNC_MMAP_ANON
1225 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1226 AC_CHECK_FUNCS_ONCE([mprotect])
1227 gl_FUNC_RAISE
1228 gl_CONDITIONAL([GL_COND_OBJ_RAISE],
1229 [test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1])
1230 AM_COND_IF([GL_COND_OBJ_RAISE], [
1231 gl_PREREQ_RAISE
1232 ])
1233 gl_SIGNAL_MODULE_INDICATOR([raise])
1234 dnl Check for prerequisites for memory fence checks.
1235 gl_FUNC_MMAP_ANON
1236 AC_CHECK_HEADERS_ONCE([sys/mman.h])
1237 AC_CHECK_FUNCS_ONCE([mprotect])
1238 gl_PREREQ_READ_FILE
1239 gl_FUNC_READDIR
1240 gl_CONDITIONAL([GL_COND_OBJ_READDIR], [test $HAVE_READDIR = 0])
1241 gl_DIRENT_MODULE_INDICATOR([readdir])
1242 gl_SCHED_H
1243 gl_SCHED_H_REQUIRE_DEFAULTS
1244 AC_PROG_MKDIR_P
1245 gl_FUNC_SELECT
1246 gl_CONDITIONAL([GL_COND_OBJ_SELECT], [test $REPLACE_SELECT = 1])
1247 gl_SYS_SELECT_MODULE_INDICATOR([select])
1248 AC_CHECK_HEADERS_ONCE([sys/wait.h])
1249 gl_FUNC_SETENV
1250 gl_CONDITIONAL([GL_COND_OBJ_SETENV],
1251 [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1])
1252 gl_STDLIB_MODULE_INDICATOR([setenv])
1253 gl_FUNC_SETLOCALE
1254 gl_CONDITIONAL([GL_COND_OBJ_SETLOCALE], [test $REPLACE_SETLOCALE = 1])
1255 AM_COND_IF([GL_COND_OBJ_SETLOCALE], [
1256 gl_PREREQ_SETLOCALE
1257 ])
1258 gl_LOCALE_MODULE_INDICATOR([setlocale])
1259 gt_LOCALE_FR
1260 gt_LOCALE_FR_UTF8
1261 gt_LOCALE_JA
1262 gt_LOCALE_ZH_CN
1263 AC_REQUIRE([gl_SYS_SOCKET_H])
1264 gl_CONDITIONAL([GL_COND_OBJ_SETSOCKOPT],
1265 [test "$ac_cv_header_winsock2_h" = yes])
1266 gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
1267 gl_SIGNAL_H
1268 gl_SIGNAL_H_REQUIRE_DEFAULTS
1269 AC_PROG_MKDIR_P
1270 gl_SIGNALBLOCKING
1271 gl_CONDITIONAL([GL_COND_OBJ_SIGPROCMASK], [test $HAVE_POSIX_SIGNALBLOCKING = 0])
1272 AM_COND_IF([GL_COND_OBJ_SIGPROCMASK], [
1273 gl_PREREQ_SIGPROCMASK
1274 ])
1275 gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
1276 gl_FUNC_SLEEP
1277 gl_CONDITIONAL([GL_COND_OBJ_SLEEP],
1278 [test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1])
1279 gl_UNISTD_MODULE_INDICATOR([sleep])
1280 AC_CHECK_DECLS_ONCE([alarm])
1281 AC_REQUIRE([gl_SYS_SOCKET_H])
1282 gl_CONDITIONAL([GL_COND_OBJ_SOCKET], [test "$ac_cv_header_winsock2_h" = yes])
1283 # When this module is used, sockets may actually occur as file descriptors,
1284 # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
1285 m4_ifdef([gl_UNISTD_H_DEFAULTS], [gl_UNISTD_H_REQUIRE_DEFAULTS])
1286 m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [gl_SYS_IOCTL_H_REQUIRE_DEFAULTS])
1287 AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
1288 if test "$ac_cv_header_winsock2_h" = yes; then
1289 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1290 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1291 fi
1292 gl_SYS_SOCKET_MODULE_INDICATOR([socket])
1293 AC_REQUIRE([gl_SOCKETLIB])
1294 AC_REQUIRE([gl_SOCKETS])
1295 gl_TYPE_SOCKLEN_T
1296 AC_REQUIRE([gt_TYPE_WCHAR_T])
1297 AC_REQUIRE([gt_TYPE_WINT_T])
1298 gl_FUNC_STRDUP_POSIX
1299 gl_CONDITIONAL([GL_COND_OBJ_STRDUP], [test $REPLACE_STRDUP = 1])
1300 AM_COND_IF([GL_COND_OBJ_STRDUP], [
1301 gl_PREREQ_STRDUP
1302 ])
1303 gl_STRING_MODULE_INDICATOR([strdup])
1304 gl_FUNC_STRERROR_R
1305 AS_IF([test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1], [
1306 AC_LIBOBJ([strerror_r])
1307 gl_PREREQ_STRERROR_R
1308 ])
1309 gl_STRING_MODULE_INDICATOR([strerror_r])
1310 dnl For the modules argp, error.
1311 gl_MODULE_INDICATOR([strerror_r-posix])
1312 gl_FUNC_SYMLINK
1313 gl_CONDITIONAL([GL_COND_OBJ_SYMLINK],
1314 [test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1])
1315 gl_UNISTD_MODULE_INDICATOR([symlink])
1316 gl_SYS_IOCTL_H
1317 gl_SYS_IOCTL_H_REQUIRE_DEFAULTS
1318 AC_PROG_MKDIR_P
1319 gl_SYS_SELECT_H
1320 gl_SYS_SELECT_H_REQUIRE_DEFAULTS
1321 AC_PROG_MKDIR_P
1322 gl_SYS_SOCKET_H
1323 gl_SYS_SOCKET_H_REQUIRE_DEFAULTS
1324 AC_PROG_MKDIR_P
1325 AC_CHECK_FUNCS_ONCE([shutdown])
1326 gl_SYS_TIME_H
1327 gl_SYS_TIME_H_REQUIRE_DEFAULTS
1328 AC_PROG_MKDIR_P
1329 gl_SYS_UIO_H
1330 gl_SYS_UIO_H_REQUIRE_DEFAULTS
1331 AC_PROG_MKDIR_P
1332 gl_THREAD
1333 AC_CHECK_HEADERS([sys/single_threaded.h])
1334 gl_FUNC_UNSETENV
1335 gl_CONDITIONAL([GL_COND_OBJ_UNSETENV],
1336 [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1])
1337 AM_COND_IF([GL_COND_OBJ_UNSETENV], [
1338 gl_PREREQ_UNSETENV
1339 ])
1340 gl_STDLIB_MODULE_INDICATOR([unsetenv])
1341 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1342 AC_SUBST([abs_aux_dir])
1343 abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1344 AC_SUBST([abs_aux_dir])
1345 gl_FUNC_MMAP_ANON
1346 AC_REQUIRE([AC_C_INLINE])
1347 AC_CHECK_FUNCS_ONCE([mquery pstat_getprocvm])
1348 gt_LOCALE_FR
1349 gt_LOCALE_FR_UTF8
1350 gt_LOCALE_JA
1351 gt_LOCALE_ZH_CN
1352 AC_REQUIRE([AC_CANONICAL_HOST])
1353 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_THREAD],
1354 [case "$host_os" in mingw*) true;; *) false;; esac])
1355 AC_REQUIRE([AC_CANONICAL_HOST])
1356 gl_CONDITIONAL([GL_COND_OBJ_WINDOWS_TLS],
1357 [case "$host_os" in mingw*) true;; *) false;; esac])
1358 m4_popdef([gl_MODULE_INDICATOR_CONDITION])
1359 m4_ifval(gltests_LIBSOURCES_LIST, [
1360 m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
1361 for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
1362 if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
1363 echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
1364 exit 1
1365 fi
1366 done])dnl
1367 m4_if(m4_sysval, [0], [],
1368 [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1369 ])
1370 m4_popdef([GL_MODULE_INDICATOR_PREFIX])
1371 m4_popdef([GL_MACRO_PREFIX])
1372 m4_popdef([gltests_LIBSOURCES_DIR])
1373 m4_popdef([gltests_LIBSOURCES_LIST])
1374 m4_popdef([AC_LIBSOURCES])
1375 m4_popdef([AC_REPLACE_FUNCS])
1376 m4_popdef([AC_LIBOBJ])
1377 AC_CONFIG_COMMANDS_PRE([
1378 gltests_libobjs=
1379 gltests_ltlibobjs=
1380 gltests_libobjdeps=
1381 if test -n "$gltests_LIBOBJS"; then
1382 # Remove the extension.
1383changequote(,)dnl
1384 sed_drop_objext='s/\.o$//;s/\.obj$//'
1385 sed_dirname1='s,//*,/,g'
1386 sed_dirname2='s,\(.\)/$,\1,'
1387 sed_dirname3='s,^[^/]*$,.,'
1388 sed_dirname4='s,\(.\)/[^/]*$,\1,'
1389 sed_basename1='s,.*/,,'
1390changequote([, ])dnl
1391 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1392 gltests_libobjs="$gltests_libobjs $i.$ac_objext"
1393 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
1394 i_dir=`echo "$i" | sed -e "$sed_dirname1" -e "$sed_dirname2" -e "$sed_dirname3" -e "$sed_dirname4"`
1395 i_base=`echo "$i" | sed -e "$sed_basename1"`
1396 gltests_libobjdeps="$gltests_libobjdeps $i_dir/\$(DEPDIR)/$i_base.Po"
1397 done
1398 fi
1399 AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
1400 AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
1401 AC_SUBST([gltests_LIBOBJDEPS], [$gltests_libobjdeps])
1402 ])
1403 AC_REQUIRE([gl_CC_GNULIB_WARNINGS])
1404 LIBSED_LIBDEPS="$gl_libdeps"
1405 AC_SUBST([LIBSED_LIBDEPS])
1406 LIBSED_LTLIBDEPS="$gl_ltlibdeps"
1407 AC_SUBST([LIBSED_LTLIBDEPS])
1408 LIBTESTS_LIBDEPS="$gltests_libdeps"
1409 AC_SUBST([LIBTESTS_LIBDEPS])
1410])
1411
1412# Like AC_LIBOBJ, except that the module name goes
1413# into gl_LIBOBJS instead of into LIBOBJS.
1414AC_DEFUN([gl_LIBOBJ], [
1415 AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
1416 gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
1417])
1418
1419# Like AC_REPLACE_FUNCS, except that the module name goes
1420# into gl_LIBOBJS instead of into LIBOBJS.
1421AC_DEFUN([gl_REPLACE_FUNCS], [
1422 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1423 AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
1424])
1425
1426# Like AC_LIBSOURCES, except the directory where the source file is
1427# expected is derived from the gnulib-tool parameterization,
1428# and alloca is special cased (for the alloca-opt module).
1429# We could also entirely rely on EXTRA_lib..._SOURCES.
1430AC_DEFUN([gl_LIBSOURCES], [
1431 m4_foreach([_gl_NAME], [$1], [
1432 m4_if(_gl_NAME, [alloca.c], [], [
1433 m4_define([gl_LIBSOURCES_DIR], [lib])
1434 m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
1435 ])
1436 ])
1437])
1438
1439# Like AC_LIBOBJ, except that the module name goes
1440# into gltests_LIBOBJS instead of into LIBOBJS.
1441AC_DEFUN([gltests_LIBOBJ], [
1442 AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
1443 gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
1444])
1445
1446# Like AC_REPLACE_FUNCS, except that the module name goes
1447# into gltests_LIBOBJS instead of into LIBOBJS.
1448AC_DEFUN([gltests_REPLACE_FUNCS], [
1449 m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1450 AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
1451])
1452
1453# Like AC_LIBSOURCES, except the directory where the source file is
1454# expected is derived from the gnulib-tool parameterization,
1455# and alloca is special cased (for the alloca-opt module).
1456# We could also entirely rely on EXTRA_lib..._SOURCES.
1457AC_DEFUN([gltests_LIBSOURCES], [
1458 m4_foreach([_gl_NAME], [$1], [
1459 m4_if(_gl_NAME, [alloca.c], [], [
1460 m4_define([gltests_LIBSOURCES_DIR], [gnulib-tests])
1461 m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
1462 ])
1463 ])
1464])
1465
1466# This macro records the list of files which have been installed by
1467# gnulib-tool and may be removed by future gnulib-tool invocations.
1468AC_DEFUN([gl_FILE_LIST], [
1469 build-aux/announce-gen
1470 build-aux/do-release-commit-and-tag
1471 build-aux/gendocs.sh
1472 build-aux/git-version-gen
1473 build-aux/gitlog-to-changelog
1474 build-aux/gnu-web-doc-update
1475 build-aux/gnupload
1476 build-aux/update-copyright
1477 build-aux/useless-if-before-free
1478 build-aux/vc-list-files
1479 doc/gendocs_template
1480 doc/gendocs_template_min
1481 lib/_Noreturn.h
1482 lib/acl-errno-valid.c
1483 lib/acl-internal.c
1484 lib/acl-internal.h
1485 lib/acl.h
1486 lib/acl_entries.c
1487 lib/alignof.h
1488 lib/alloca.c
1489 lib/alloca.in.h
1490 lib/arg-nonnull.h
1491 lib/assert.in.h
1492 lib/attribute.h
1493 lib/basename-lgpl.c
1494 lib/basename-lgpl.h
1495 lib/binary-io.c
1496 lib/binary-io.h
1497 lib/btowc.c
1498 lib/c++defs.h
1499 lib/c-ctype.c
1500 lib/c-ctype.h
1501 lib/c-strcase.h
1502 lib/c-strcasecmp.c
1503 lib/c-strcaseeq.h
1504 lib/c-strncasecmp.c
1505 lib/calloc.c
1506 lib/canonicalize-lgpl.c
1507 lib/cdefs.h
1508 lib/cloexec.c
1509 lib/cloexec.h
1510 lib/close-stream.c
1511 lib/close-stream.h
1512 lib/close.c
1513 lib/closeout.c
1514 lib/closeout.h
1515 lib/copy-acl.c
1516 lib/ctype.in.h
1517 lib/dfa.c
1518 lib/dfa.h
1519 lib/dirname-lgpl.c
1520 lib/dirname.h
1521 lib/dup2.c
1522 lib/dynarray.h
1523 lib/eloop-threshold.h
1524 lib/errno.in.h
1525 lib/error.c
1526 lib/error.h
1527 lib/exitfail.c
1528 lib/exitfail.h
1529 lib/fcntl.c
1530 lib/fcntl.in.h
1531 lib/fd-hook.c
1532 lib/fd-hook.h
1533 lib/filename.h
1534 lib/flexmember.h
1535 lib/fpending.c
1536 lib/fpending.h
1537 lib/free.c
1538 lib/fstat.c
1539 lib/fwriting.c
1540 lib/fwriting.h
1541 lib/get-permissions.c
1542 lib/getdelim.c
1543 lib/getdtablesize.c
1544 lib/getfilecon.c
1545 lib/getprogname.c
1546 lib/getprogname.h
1547 lib/getrandom.c
1548 lib/gettext.h
1549 lib/glthread/lock.c
1550 lib/glthread/lock.h
1551 lib/glthread/threadlib.c
1552 lib/hard-locale.c
1553 lib/hard-locale.h
1554 lib/ialloc.c
1555 lib/ialloc.h
1556 lib/idx.h
1557 lib/ignore-value.h
1558 lib/intprops-internal.h
1559 lib/intprops.h
1560 lib/inttypes.in.h
1561 lib/langinfo.in.h
1562 lib/lc-charset-dispatch.c
1563 lib/lc-charset-dispatch.h
1564 lib/libc-config.h
1565 lib/limits.in.h
1566 lib/localcharset.c
1567 lib/localcharset.h
1568 lib/locale.in.h
1569 lib/localeconv.c
1570 lib/localeinfo.c
1571 lib/localeinfo.h
1572 lib/lstat.c
1573 lib/malloc.c
1574 lib/malloc/dynarray-skeleton.c
1575 lib/malloc/dynarray.h
1576 lib/malloc/dynarray_at_failure.c
1577 lib/malloc/dynarray_emplace_enlarge.c
1578 lib/malloc/dynarray_finalize.c
1579 lib/malloc/dynarray_resize.c
1580 lib/malloc/dynarray_resize_clear.c
1581 lib/malloc/scratch_buffer.h
1582 lib/malloc/scratch_buffer_grow.c
1583 lib/malloc/scratch_buffer_grow_preserve.c
1584 lib/malloc/scratch_buffer_set_array_size.c
1585 lib/malloca.c
1586 lib/malloca.h
1587 lib/mbrlen.c
1588 lib/mbrtowc-impl-utf8.h
1589 lib/mbrtowc-impl.h
1590 lib/mbrtowc.c
1591 lib/mbsinit.c
1592 lib/mbtowc-impl.h
1593 lib/mbtowc-lock.c
1594 lib/mbtowc-lock.h
1595 lib/mbtowc.c
1596 lib/memchr.c
1597 lib/memchr.valgrind
1598 lib/mempcpy.c
1599 lib/memrchr.c
1600 lib/minmax.h
1601 lib/mkdir.c
1602 lib/mkostemp.c
1603 lib/msvc-inval.c
1604 lib/msvc-inval.h
1605 lib/msvc-nothrow.c
1606 lib/msvc-nothrow.h
1607 lib/nl_langinfo-lock.c
1608 lib/nl_langinfo.c
1609 lib/obstack.c
1610 lib/obstack.h
1611 lib/open.c
1612 lib/pathmax.h
1613 lib/progname.c
1614 lib/progname.h
1615 lib/qcopy-acl.c
1616 lib/qset-acl.c
1617 lib/quote.h
1618 lib/quotearg.c
1619 lib/quotearg.h
1620 lib/rawmemchr.c
1621 lib/rawmemchr.valgrind
1622 lib/readlink.c
1623 lib/realloc.c
1624 lib/reallocarray.c
1625 lib/regcomp.c
1626 lib/regex.c
1627 lib/regex.h
1628 lib/regex_internal.c
1629 lib/regex_internal.h
1630 lib/regexec.c
1631 lib/rename.c
1632 lib/rmdir.c
1633 lib/same-inode.h
1634 lib/scratch_buffer.h
1635 lib/se-context.c
1636 lib/se-context.in.h
1637 lib/se-label.c
1638 lib/se-label.in.h
1639 lib/se-selinux.c
1640 lib/se-selinux.in.h
1641 lib/set-acl.c
1642 lib/set-permissions.c
1643 lib/setlocale-lock.c
1644 lib/setlocale_null.c
1645 lib/setlocale_null.h
1646 lib/stat-macros.h
1647 lib/stat-time.c
1648 lib/stat-time.h
1649 lib/stat-w32.c
1650 lib/stat-w32.h
1651 lib/stat.c
1652 lib/stdalign.in.h
1653 lib/stdarg.in.h
1654 lib/stdckdint.in.h
1655 lib/stddef.in.h
1656 lib/stdint.in.h
1657 lib/stdio-impl.h
1658 lib/stdio-read.c
1659 lib/stdio-write.c
1660 lib/stdio.in.h
1661 lib/stdlib.in.h
1662 lib/streq.h
1663 lib/strerror-override.c
1664 lib/strerror-override.h
1665 lib/strerror.c
1666 lib/string.in.h
1667 lib/stripslash.c
1668 lib/strverscmp.c
1669 lib/sys_random.in.h
1670 lib/sys_stat.in.h
1671 lib/sys_types.in.h
1672 lib/tempname.c
1673 lib/tempname.h
1674 lib/time.in.h
1675 lib/unistd.c
1676 lib/unistd.in.h
1677 lib/unlocked-io.h
1678 lib/verify.h
1679 lib/version-etc-fsf.c
1680 lib/version-etc.c
1681 lib/version-etc.h
1682 lib/warn-on-use.h
1683 lib/wchar.in.h
1684 lib/wcrtomb.c
1685 lib/wctob.c
1686 lib/wctomb-impl.h
1687 lib/wctomb.c
1688 lib/wctype-h.c
1689 lib/wctype.in.h
1690 lib/windows-initguard.h
1691 lib/windows-mutex.c
1692 lib/windows-mutex.h
1693 lib/windows-once.c
1694 lib/windows-once.h
1695 lib/windows-recmutex.c
1696 lib/windows-recmutex.h
1697 lib/windows-rwlock.c
1698 lib/windows-rwlock.h
1699 lib/xalloc-die.c
1700 lib/xalloc-oversized.h
1701 lib/xalloc.h
1702 lib/xmalloc.c
1703 m4/00gnulib.m4
1704 m4/__inline.m4
1705 m4/absolute-header.m4
1706 m4/acl.m4
1707 m4/alloca.m4
1708 m4/arpa_inet_h.m4
1709 m4/assert.m4
1710 m4/assert_h.m4
1711 m4/btowc.m4
1712 m4/builtin-expect.m4
1713 m4/c-bool.m4
1714 m4/calloc.m4
1715 m4/canonicalize.m4
1716 m4/clock_time.m4
1717 m4/close.m4
1718 m4/closedir.m4
1719 m4/codeset.m4
1720 m4/ctype_h.m4
1721 m4/dirent_h.m4
1722 m4/dirfd.m4
1723 m4/double-slash-root.m4
1724 m4/dup2.m4
1725 m4/eealloc.m4
1726 m4/environ.m4
1727 m4/errno_h.m4
1728 m4/error.m4
1729 m4/explicit_bzero.m4
1730 m4/extensions.m4
1731 m4/extern-inline.m4
1732 m4/fcntl-o.m4
1733 m4/fcntl.m4
1734 m4/fcntl_h.m4
1735 m4/fdopen.m4
1736 m4/fflush.m4
1737 m4/flexmember.m4
1738 m4/fopen.m4
1739 m4/fpending.m4
1740 m4/fpurge.m4
1741 m4/freading.m4
1742 m4/free.m4
1743 m4/fseek.m4
1744 m4/fseeko.m4
1745 m4/fstat.m4
1746 m4/ftell.m4
1747 m4/ftello.m4
1748 m4/ftruncate.m4
1749 m4/fwriting.m4
1750 m4/getcwd.m4
1751 m4/getdelim.m4
1752 m4/getdtablesize.m4
1753 m4/getpagesize.m4
1754 m4/getprogname.m4
1755 m4/getrandom.m4
1756 m4/gettimeofday.m4
1757 m4/gnulib-common.m4
1758 m4/include_next.m4
1759 m4/inet_pton.m4
1760 m4/intl-thread-locale.m4
1761 m4/intlmacosx.m4
1762 m4/inttypes.m4
1763 m4/ioctl.m4
1764 m4/isblank.m4
1765 m4/langinfo_h.m4
1766 m4/largefile.m4
1767 m4/lcmessage.m4
1768 m4/limits-h.m4
1769 m4/link.m4
1770 m4/localcharset.m4
1771 m4/locale-fr.m4
1772 m4/locale-ja.m4
1773 m4/locale-tr.m4
1774 m4/locale-zh.m4
1775 m4/locale_h.m4
1776 m4/localeconv.m4
1777 m4/localename.m4
1778 m4/lock.m4
1779 m4/lseek.m4
1780 m4/lstat.m4
1781 m4/malloc.m4
1782 m4/malloca.m4
1783 m4/manywarnings-c++.m4
1784 m4/manywarnings.m4
1785 m4/mbrlen.m4
1786 m4/mbrtowc.m4
1787 m4/mbsinit.m4
1788 m4/mbstate_t.m4
1789 m4/mbtowc.m4
1790 m4/memchr.m4
1791 m4/mempcpy.m4
1792 m4/memrchr.m4
1793 m4/minmax.m4
1794 m4/mkdir.m4
1795 m4/mkostemp.m4
1796 m4/mmap-anon.m4
1797 m4/mode_t.m4
1798 m4/msvc-inval.m4
1799 m4/msvc-nothrow.m4
1800 m4/multiarch.m4
1801 m4/musl.m4
1802 m4/nanosleep.m4
1803 m4/netinet_in_h.m4
1804 m4/nl_langinfo.m4
1805 m4/nocrash.m4
1806 m4/obstack.m4
1807 m4/off_t.m4
1808 m4/open-cloexec.m4
1809 m4/open-slash.m4
1810 m4/open.m4
1811 m4/opendir.m4
1812 m4/pathmax.m4
1813 m4/perl.m4
1814 m4/perror.m4
1815 m4/pid_t.m4
1816 m4/pipe.m4
1817 m4/pselect.m4
1818 m4/pthread-thread.m4
1819 m4/pthread_h.m4
1820 m4/pthread_rwlock_rdlock.m4
1821 m4/pthread_sigmask.m4
1822 m4/putenv.m4
1823 m4/quote.m4
1824 m4/quotearg.m4
1825 m4/raise.m4
1826 m4/rawmemchr.m4
1827 m4/read-file.m4
1828 m4/readdir.m4
1829 m4/readlink.m4
1830 m4/realloc.m4
1831 m4/reallocarray.m4
1832 m4/regex.m4
1833 m4/rename.m4
1834 m4/rmdir.m4
1835 m4/sched_h.m4
1836 m4/select.m4
1837 m4/selinux-context-h.m4
1838 m4/selinux-label-h.m4
1839 m4/selinux-selinux-h.m4
1840 m4/setenv.m4
1841 m4/setlocale.m4
1842 m4/setlocale_null.m4
1843 m4/signal_h.m4
1844 m4/signalblocking.m4
1845 m4/sleep.m4
1846 m4/socketlib.m4
1847 m4/sockets.m4
1848 m4/socklen.m4
1849 m4/sockpfaf.m4
1850 m4/ssize_t.m4
1851 m4/stat-time.m4
1852 m4/stat.m4
1853 m4/std-gnu11.m4
1854 m4/stdalign.m4
1855 m4/stdarg.m4
1856 m4/stddef_h.m4
1857 m4/stdint.m4
1858 m4/stdio_h.m4
1859 m4/stdlib_h.m4
1860 m4/strdup.m4
1861 m4/strerror.m4
1862 m4/strerror_r.m4
1863 m4/string_h.m4
1864 m4/strverscmp.m4
1865 m4/symlink.m4
1866 m4/sys_ioctl_h.m4
1867 m4/sys_random_h.m4
1868 m4/sys_select_h.m4
1869 m4/sys_socket_h.m4
1870 m4/sys_stat_h.m4
1871 m4/sys_time_h.m4
1872 m4/sys_types_h.m4
1873 m4/sys_uio_h.m4
1874 m4/tempname.m4
1875 m4/thread.m4
1876 m4/threadlib.m4
1877 m4/time_h.m4
1878 m4/ungetc.m4
1879 m4/unistd_h.m4
1880 m4/unlocked-io.m4
1881 m4/vararrays.m4
1882 m4/version-etc.m4
1883 m4/visibility.m4
1884 m4/warn-on-use.m4
1885 m4/warnings.m4
1886 m4/wchar_h.m4
1887 m4/wchar_t.m4
1888 m4/wcrtomb.m4
1889 m4/wctob.m4
1890 m4/wctomb.m4
1891 m4/wctype_h.m4
1892 m4/wint_t.m4
1893 m4/xalloc.m4
1894 m4/year2038.m4
1895 m4/zzgnulib.m4
1896 tests/init.sh
1897 tests/locale.c
1898 tests/macros.h
1899 tests/nap.h
1900 tests/null-ptr.h
1901 tests/signature.h
1902 tests/test-accept.c
1903 tests/test-alignof.c
1904 tests/test-alloca-opt.c
1905 tests/test-arpa_inet.c
1906 tests/test-assert.c
1907 tests/test-binary-io.c
1908 tests/test-binary-io.sh
1909 tests/test-bind.c
1910 tests/test-btowc.c
1911 tests/test-btowc1.sh
1912 tests/test-btowc2.sh
1913 tests/test-c-ctype.c
1914 tests/test-c-strcase.sh
1915 tests/test-c-strcasecmp.c
1916 tests/test-c-strncasecmp.c
1917 tests/test-calloc-gnu.c
1918 tests/test-canonicalize-lgpl.c
1919 tests/test-chdir.c
1920 tests/test-cloexec.c
1921 tests/test-close.c
1922 tests/test-connect.c
1923 tests/test-copy-acl-1.sh
1924 tests/test-copy-acl-2.sh
1925 tests/test-copy-acl.c
1926 tests/test-copy-acl.sh
1927 tests/test-ctype.c
1928 tests/test-dfa-invalid-char-class.sh
1929 tests/test-dfa-invalid-merge.sh
1930 tests/test-dfa-match-aux.c
1931 tests/test-dfa-match.sh
1932 tests/test-dirent.c
1933 tests/test-dup2.c
1934 tests/test-dynarray.c
1935 tests/test-environ.c
1936 tests/test-errno.c
1937 tests/test-explicit_bzero.c
1938 tests/test-fcntl-h.c
1939 tests/test-fcntl.c
1940 tests/test-fdopen.c
1941 tests/test-fflush.c
1942 tests/test-fflush2.c
1943 tests/test-fflush2.sh
1944 tests/test-fgetc.c
1945 tests/test-file-has-acl-1.sh
1946 tests/test-file-has-acl-2.sh
1947 tests/test-file-has-acl.c
1948 tests/test-file-has-acl.sh
1949 tests/test-fopen-gnu.c
1950 tests/test-fopen.c
1951 tests/test-fopen.h
1952 tests/test-fpending.c
1953 tests/test-fpending.sh
1954 tests/test-fpurge.c
1955 tests/test-fputc.c
1956 tests/test-fread.c
1957 tests/test-freading.c
1958 tests/test-free.c
1959 tests/test-fseek.c
1960 tests/test-fseek.sh
1961 tests/test-fseek2.sh
1962 tests/test-fseeko.c
1963 tests/test-fseeko.sh
1964 tests/test-fseeko2.sh
1965 tests/test-fseeko3.c
1966 tests/test-fseeko3.sh
1967 tests/test-fseeko4.c
1968 tests/test-fseeko4.sh
1969 tests/test-fstat.c
1970 tests/test-ftell.c
1971 tests/test-ftell.sh
1972 tests/test-ftell2.sh
1973 tests/test-ftell3.c
1974 tests/test-ftello.c
1975 tests/test-ftello.sh
1976 tests/test-ftello2.sh
1977 tests/test-ftello3.c
1978 tests/test-ftello4.c
1979 tests/test-ftello4.sh
1980 tests/test-ftruncate.c
1981 tests/test-ftruncate.sh
1982 tests/test-fwrite.c
1983 tests/test-fwriting.c
1984 tests/test-getcwd-lgpl.c
1985 tests/test-getdelim.c
1986 tests/test-getdtablesize.c
1987 tests/test-getprogname.c
1988 tests/test-getrandom.c
1989 tests/test-gettimeofday.c
1990 tests/test-hard-locale.c
1991 tests/test-ignore-value.c
1992 tests/test-inet_pton.c
1993 tests/test-init.sh
1994 tests/test-intprops.c
1995 tests/test-inttypes.c
1996 tests/test-ioctl.c
1997 tests/test-isblank.c
1998 tests/test-langinfo.c
1999 tests/test-limits-h.c
2000 tests/test-link.c
2001 tests/test-link.h
2002 tests/test-listen.c
2003 tests/test-localcharset.c
2004 tests/test-locale.c
2005 tests/test-localeconv.c
2006 tests/test-localename.c
2007 tests/test-lseek.c
2008 tests/test-lseek.sh
2009 tests/test-lstat.c
2010 tests/test-lstat.h
2011 tests/test-malloc-gnu.c
2012 tests/test-malloca.c
2013 tests/test-mbrtowc-w32-1.sh
2014 tests/test-mbrtowc-w32-2.sh
2015 tests/test-mbrtowc-w32-3.sh
2016 tests/test-mbrtowc-w32-4.sh
2017 tests/test-mbrtowc-w32-5.sh
2018 tests/test-mbrtowc-w32-6.sh
2019 tests/test-mbrtowc-w32-7.sh
2020 tests/test-mbrtowc-w32.c
2021 tests/test-mbrtowc.c
2022 tests/test-mbrtowc1.sh
2023 tests/test-mbrtowc2.sh
2024 tests/test-mbrtowc3.sh
2025 tests/test-mbrtowc4.sh
2026 tests/test-mbrtowc5.sh
2027 tests/test-mbsinit.c
2028 tests/test-mbsinit.sh
2029 tests/test-memchr.c
2030 tests/test-memrchr.c
2031 tests/test-mkdir.c
2032 tests/test-mkdir.h
2033 tests/test-nanosleep.c
2034 tests/test-netinet_in.c
2035 tests/test-nl_langinfo-mt.c
2036 tests/test-nl_langinfo.c
2037 tests/test-nl_langinfo.sh
2038 tests/test-open.c
2039 tests/test-open.h
2040 tests/test-pathmax.c
2041 tests/test-perror.c
2042 tests/test-perror.sh
2043 tests/test-perror2.c
2044 tests/test-pipe.c
2045 tests/test-pselect.c
2046 tests/test-pthread-thread.c
2047 tests/test-pthread.c
2048 tests/test-pthread_sigmask1.c
2049 tests/test-pthread_sigmask2.c
2050 tests/test-quotearg-simple.c
2051 tests/test-quotearg.h
2052 tests/test-raise.c
2053 tests/test-rawmemchr.c
2054 tests/test-read-file.c
2055 tests/test-readlink.c
2056 tests/test-readlink.h
2057 tests/test-realloc-gnu.c
2058 tests/test-reallocarray.c
2059 tests/test-regex.c
2060 tests/test-rename.c
2061 tests/test-rename.h
2062 tests/test-rmdir.c
2063 tests/test-rmdir.h
2064 tests/test-sameacls.c
2065 tests/test-sched.c
2066 tests/test-scratch-buffer.c
2067 tests/test-select-fd.c
2068 tests/test-select-in.sh
2069 tests/test-select-out.sh
2070 tests/test-select-stdin.c
2071 tests/test-select.c
2072 tests/test-select.h
2073 tests/test-set-mode-acl-1.sh
2074 tests/test-set-mode-acl-2.sh
2075 tests/test-set-mode-acl.c
2076 tests/test-set-mode-acl.sh
2077 tests/test-setenv.c
2078 tests/test-setlocale1.c
2079 tests/test-setlocale1.sh
2080 tests/test-setlocale2.c
2081 tests/test-setlocale2.sh
2082 tests/test-setlocale_null-mt-all.c
2083 tests/test-setlocale_null-mt-one.c
2084 tests/test-setlocale_null.c
2085 tests/test-setsockopt.c
2086 tests/test-signal-h.c
2087 tests/test-sigprocmask.c
2088 tests/test-sleep.c
2089 tests/test-sockets.c
2090 tests/test-stat-time.c
2091 tests/test-stat.c
2092 tests/test-stat.h
2093 tests/test-stdalign.c
2094 tests/test-stdbool.c
2095 tests/test-stdckdint.c
2096 tests/test-stddef.c
2097 tests/test-stdint.c
2098 tests/test-stdio.c
2099 tests/test-stdlib.c
2100 tests/test-strerror.c
2101 tests/test-strerror_r.c
2102 tests/test-string.c
2103 tests/test-strverscmp.c
2104 tests/test-symlink.c
2105 tests/test-symlink.h
2106 tests/test-sys_ioctl.c
2107 tests/test-sys_random.c
2108 tests/test-sys_select.c
2109 tests/test-sys_socket.c
2110 tests/test-sys_stat.c
2111 tests/test-sys_time.c
2112 tests/test-sys_types.c
2113 tests/test-sys_uio.c
2114 tests/test-sys_wait.h
2115 tests/test-thread_create.c
2116 tests/test-thread_self.c
2117 tests/test-time.c
2118 tests/test-unistd.c
2119 tests/test-unsetenv.c
2120 tests/test-update-copyright.sh
2121 tests/test-vc-list-files-cvs.sh
2122 tests/test-vc-list-files-git.sh
2123 tests/test-verify-try.c
2124 tests/test-verify.c
2125 tests/test-verify.sh
2126 tests/test-version-etc.c
2127 tests/test-version-etc.sh
2128 tests/test-wchar.c
2129 tests/test-wcrtomb-w32-1.sh
2130 tests/test-wcrtomb-w32-2.sh
2131 tests/test-wcrtomb-w32-3.sh
2132 tests/test-wcrtomb-w32-4.sh
2133 tests/test-wcrtomb-w32-5.sh
2134 tests/test-wcrtomb-w32-6.sh
2135 tests/test-wcrtomb-w32-7.sh
2136 tests/test-wcrtomb-w32.c
2137 tests/test-wcrtomb.c
2138 tests/test-wcrtomb.sh
2139 tests/test-wctype-h.c
2140 tests/test-xalloc-die.c
2141 tests/test-xalloc-die.sh
2142 tests/zerosize-ptr.h
2143 tests=lib/_Noreturn.h
2144 tests=lib/accept.c
2145 tests=lib/acl-internal.h
2146 tests=lib/arg-nonnull.h
2147 tests=lib/arpa_inet.in.h
2148 tests=lib/bind.c
2149 tests=lib/c++defs.h
2150 tests=lib/closedir.c
2151 tests=lib/connect.c
2152 tests=lib/dirent-private.h
2153 tests=lib/dirent.in.h
2154 tests=lib/dirfd.c
2155 tests=lib/explicit_bzero.c
2156 tests=lib/fdopen.c
2157 tests=lib/fflush.c
2158 tests=lib/file-has-acl.c
2159 tests=lib/fopen.c
2160 tests=lib/fpurge.c
2161 tests=lib/freading.c
2162 tests=lib/freading.h
2163 tests=lib/fseek.c
2164 tests=lib/fseeko.c
2165 tests=lib/ftell.c
2166 tests=lib/ftello.c
2167 tests=lib/ftruncate.c
2168 tests=lib/getcwd-lgpl.c
2169 tests=lib/getpagesize.c
2170 tests=lib/gettimeofday.c
2171 tests=lib/glthread/thread.c
2172 tests=lib/glthread/thread.h
2173 tests=lib/inet_pton.c
2174 tests=lib/ioctl.c
2175 tests=lib/isblank.c
2176 tests=lib/link.c
2177 tests=lib/listen.c
2178 tests=lib/localename-table.c
2179 tests=lib/localename-table.h
2180 tests=lib/localename.c
2181 tests=lib/localename.h
2182 tests=lib/lseek.c
2183 tests=lib/nanosleep.c
2184 tests=lib/netinet_in.in.h
2185 tests=lib/opendir.c
2186 tests=lib/perror.c
2187 tests=lib/pipe.c
2188 tests=lib/pselect.c
2189 tests=lib/pthread-thread.c
2190 tests=lib/pthread.in.h
2191 tests=lib/pthread_sigmask.c
2192 tests=lib/putenv.c
2193 tests=lib/raise.c
2194 tests=lib/read-file.c
2195 tests=lib/read-file.h
2196 tests=lib/readdir.c
2197 tests=lib/sched.in.h
2198 tests=lib/select.c
2199 tests=lib/setenv.c
2200 tests=lib/setlocale.c
2201 tests=lib/setsockopt.c
2202 tests=lib/signal.in.h
2203 tests=lib/sigprocmask.c
2204 tests=lib/sleep.c
2205 tests=lib/socket.c
2206 tests=lib/sockets.c
2207 tests=lib/sockets.h
2208 tests=lib/stdio-impl.h
2209 tests=lib/strdup.c
2210 tests=lib/strerror_r.c
2211 tests=lib/symlink.c
2212 tests=lib/sys_ioctl.in.h
2213 tests=lib/sys_select.in.h
2214 tests=lib/sys_socket.c
2215 tests=lib/sys_socket.in.h
2216 tests=lib/sys_time.in.h
2217 tests=lib/sys_uio.in.h
2218 tests=lib/thread-optim.h
2219 tests=lib/unsetenv.c
2220 tests=lib/vma-iter.c
2221 tests=lib/vma-iter.h
2222 tests=lib/w32sock.h
2223 tests=lib/warn-on-use.h
2224 tests=lib/windows-thread.c
2225 tests=lib/windows-thread.h
2226 tests=lib/windows-tls.c
2227 tests=lib/windows-tls.h
2228 top/GNUmakefile
2229 top/README-release
2230 top/maint.mk
2231])
Note: See TracBrowser for help on using the repository browser.