VirtualBox

source: kBuild/trunk/src/grep/m4/gnulib-comp.m4

Last change on this file was 3529, checked in by bird, 3 years ago

Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette