77762b08b4920a5d60e6c40ff3bb798f1942ad30
[platform/upstream/diffutils.git] / m4 / gnulib-comp.m4
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
3 #
4 # This file is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # This file is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this file.  If not, see <https://www.gnu.org/licenses/>.
16 #
17 # As a special exception to the GNU General Public License,
18 # this file may be distributed as part of a program that
19 # contains a configuration script generated by Autoconf, under
20 # the same distribution terms as the rest of that program.
21 #
22 # Generated by gnulib-tool.
23 #
24 # This file represents the compiled summary of the specification in
25 # gnulib-cache.m4. It lists the computed macro invocations that need
26 # to be invoked from configure.ac.
27 # In projects that use version control, this file can be treated like
28 # other built files.
29
30
31 # This macro should be invoked from ./configure.ac, in the section
32 # "Checks for programs", right after AC_PROG_CC, and certainly before
33 # any checks for libraries, header files, types and library functions.
34 AC_DEFUN([gl_EARLY],
35 [
36   m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
37   m4_pattern_allow([^gl_ES$])dnl a valid locale name
38   m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
39   m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
40
41   # Pre-early section.
42   AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
43   AC_REQUIRE([gl_PROG_AR_RANLIB])
44
45   AC_REQUIRE([AM_PROG_CC_C_O])
46   # Code from module absolute-header:
47   # Code from module accept:
48   # Code from module accept-tests:
49   # Code from module alloca:
50   # Code from module alloca-opt:
51   # Code from module alloca-opt-tests:
52   # Code from module allocator:
53   # Code from module announce-gen:
54   # Code from module areadlink:
55   # Code from module areadlink-tests:
56   # Code from module argmatch:
57   # Code from module argmatch-tests:
58   # Code from module arpa_inet:
59   # Code from module arpa_inet-tests:
60   # Code from module assure:
61   # Code from module binary-io:
62   # Code from module binary-io-tests:
63   # Code from module bind:
64   # Code from module bind-tests:
65   # Code from module bitrotate:
66   # Code from module bitrotate-tests:
67   # Code from module btowc:
68   # Code from module btowc-tests:
69   # Code from module builtin-expect:
70   # Code from module c-ctype:
71   # Code from module c-ctype-tests:
72   # Code from module c-stack:
73   # Code from module c-stack-tests:
74   # Code from module c-strcase:
75   # Code from module c-strcase-tests:
76   # Code from module c-strcaseeq:
77   # Code from module careadlinkat:
78   # Code from module clock-time:
79   # Code from module cloexec:
80   # Code from module cloexec-tests:
81   # Code from module close:
82   # Code from module close-tests:
83   # Code from module config-h:
84   # Code from module connect:
85   # Code from module connect-tests:
86   # Code from module ctype:
87   # Code from module ctype-tests:
88   # Code from module diffseq:
89   # Code from module dirname:
90   # Code from module dirname-lgpl:
91   # Code from module dirname-tests:
92   # Code from module do-release-commit-and-tag:
93   # Code from module dosname:
94   # Code from module double-slash-root:
95   # Code from module dtotimespec:
96   # Code from module dup2:
97   # Code from module dup2-tests:
98   # Code from module environ:
99   # Code from module environ-tests:
100   # Code from module errno:
101   # Code from module errno-tests:
102   # Code from module error:
103   # Code from module exclude:
104   # Code from module exclude-tests:
105   # Code from module exitfail:
106   # Code from module extensions:
107   # Code from module extern-inline:
108   # Code from module fcntl:
109   # Code from module fcntl-h:
110   # Code from module fcntl-h-tests:
111   # Code from module fcntl-tests:
112   # Code from module fd-hook:
113   # Code from module fdl:
114   # Code from module fdopen:
115   # Code from module fdopen-tests:
116   # Code from module fgetc-tests:
117   # Code from module file-type:
118   # Code from module filename:
119   # Code from module filenamecat:
120   # Code from module filenamecat-lgpl:
121   # Code from module filenamecat-tests:
122   # Code from module flexmember:
123   # Code from module float:
124   # Code from module float-tests:
125   # Code from module fnmatch:
126   # Code from module fnmatch-gnu:
127   # Code from module fnmatch-h:
128   # Code from module fnmatch-h-tests:
129   # Code from module fnmatch-tests:
130   # Code from module fpieee:
131   AC_REQUIRE([gl_FP_IEEE])
132   # Code from module fpucw:
133   # Code from module fputc-tests:
134   # Code from module fread-tests:
135   # Code from module freopen:
136   # Code from module freopen-safer:
137   # Code from module freopen-safer-tests:
138   # Code from module freopen-tests:
139   # Code from module fstat:
140   # Code from module fstat-tests:
141   # Code from module ftruncate:
142   # Code from module ftruncate-tests:
143   # Code from module fwrite-tests:
144   # Code from module gendocs:
145   # Code from module getcwd-lgpl:
146   # Code from module getcwd-lgpl-tests:
147   # Code from module getdtablesize:
148   # Code from module getdtablesize-tests:
149   # Code from module getopt:
150   # Code from module getopt-gnu:
151   # Code from module getopt-gnu-tests:
152   # Code from module getopt-posix:
153   # Code from module getopt-posix-tests:
154   # Code from module getpagesize:
155   # Code from module getprogname:
156   # Code from module getprogname-tests:
157   # Code from module gettext-h:
158   # Code from module gettime:
159   # Code from module gettimeofday:
160   # Code from module gettimeofday-tests:
161   # Code from module git-version-gen:
162   # Code from module gitlog-to-changelog:
163   # Code from module gnu-make:
164   # Code from module gnu-web-doc-update:
165   # Code from module gnumakefile:
166   # Code from module gnupload:
167   # Code from module gperf:
168   # Code from module hard-locale:
169   # Code from module hash:
170   # Code from module hash-pjw:
171   # Code from module hash-tests:
172   # Code from module havelib:
173   # Code from module iconv:
174   # Code from module iconv-h:
175   # Code from module iconv-h-tests:
176   # Code from module iconv-tests:
177   # Code from module iconv_open:
178   # Code from module ignore-value:
179   # Code from module ignore-value-tests:
180   # Code from module include_next:
181   # Code from module inet_pton:
182   # Code from module inet_pton-tests:
183   # Code from module inline:
184   # Code from module intprops:
185   # Code from module intprops-tests:
186   # Code from module inttostr:
187   # Code from module inttostr-tests:
188   # Code from module inttypes:
189   # Code from module inttypes-incomplete:
190   # Code from module inttypes-tests:
191   # Code from module ioctl:
192   # Code from module ioctl-tests:
193   # Code from module isblank:
194   # Code from module isblank-tests:
195   # Code from module iswblank:
196   # Code from module iswblank-tests:
197   # Code from module langinfo:
198   # Code from module langinfo-tests:
199   # Code from module largefile:
200   AC_REQUIRE([AC_SYS_LARGEFILE])
201   # Code from module libc-config:
202   # Code from module libsigsegv:
203   # Code from module limits-h:
204   # Code from module limits-h-tests:
205   # Code from module listen:
206   # Code from module listen-tests:
207   # Code from module localcharset:
208   # Code from module localcharset-tests:
209   # Code from module locale:
210   # Code from module locale-tests:
211   # Code from module localeconv:
212   # Code from module localeconv-tests:
213   # Code from module localtime-buffer:
214   # Code from module lstat:
215   # Code from module lstat-tests:
216   # Code from module maintainer-makefile:
217   # Code from module malloc-posix:
218   # Code from module malloca:
219   # Code from module malloca-tests:
220   # Code from module manywarnings:
221   # Code from module mbchar:
222   # Code from module mbiter:
223   # Code from module mbrtowc:
224   # Code from module mbrtowc-tests:
225   # Code from module mbscasecmp:
226   # Code from module mbscasecmp-tests:
227   # Code from module mbsinit:
228   # Code from module mbsinit-tests:
229   # Code from module mbslen:
230   # Code from module mbsrtowcs:
231   # Code from module mbsrtowcs-tests:
232   # Code from module mbsstr:
233   # Code from module mbsstr-tests:
234   # Code from module mbtowc:
235   # Code from module mbuiter:
236   # Code from module memchr:
237   # Code from module memchr-tests:
238   # Code from module minmax:
239   # Code from module mkdir:
240   # Code from module mkdir-tests:
241   # Code from module mkstemp:
242   # Code from module mktime:
243   # Code from module mktime-internal:
244   # Code from module msvc-inval:
245   # Code from module msvc-nothrow:
246   # Code from module multiarch:
247   # Code from module nanosleep:
248   # Code from module nanosleep-tests:
249   # Code from module netinet_in:
250   # Code from module netinet_in-tests:
251   # Code from module nl_langinfo:
252   # Code from module nl_langinfo-tests:
253   # Code from module nocrash:
254   # Code from module nstrftime:
255   # Code from module nstrftime-tests:
256   # Code from module open:
257   # Code from module open-tests:
258   # Code from module pathmax:
259   # Code from module pathmax-tests:
260   # Code from module perror:
261   # Code from module perror-tests:
262   # Code from module pipe-posix:
263   # Code from module pipe-posix-tests:
264   # Code from module progname:
265   # Code from module propername:
266   # Code from module putenv:
267   # Code from module quote:
268   # Code from module quotearg:
269   # Code from module quotearg-simple:
270   # Code from module quotearg-simple-tests:
271   # Code from module raise:
272   # Code from module raise-tests:
273   # Code from module rawmemchr:
274   # Code from module rawmemchr-tests:
275   # Code from module readlink:
276   # Code from module readlink-tests:
277   # Code from module readme-release:
278   # Code from module regex:
279   # Code from module regex-tests:
280   # Code from module same-inode:
281   # Code from module select:
282   # Code from module select-tests:
283   # Code from module setenv:
284   # Code from module setenv-tests:
285   # Code from module setlocale:
286   # Code from module setlocale-tests:
287   # Code from module setsockopt:
288   # Code from module setsockopt-tests:
289   # Code from module sh-quote:
290   # Code from module sh-quote-tests:
291   # Code from module sigaction:
292   # Code from module sigaction-tests:
293   # Code from module signal:
294   # Code from module signal-h:
295   # Code from module signal-h-tests:
296   # Code from module sigprocmask:
297   # Code from module sigprocmask-tests:
298   # Code from module size_max:
299   # Code from module sleep:
300   # Code from module sleep-tests:
301   # Code from module snippet/_Noreturn:
302   # Code from module snippet/arg-nonnull:
303   # Code from module snippet/c++defs:
304   # Code from module snippet/unused-parameter:
305   # Code from module snippet/warn-on-use:
306   # Code from module snprintf:
307   # Code from module snprintf-tests:
308   # Code from module socket:
309   # Code from module socketlib:
310   # Code from module sockets:
311   # Code from module sockets-tests:
312   # Code from module socklen:
313   # Code from module ssize_t:
314   # Code from module stat:
315   # Code from module stat-macros:
316   # Code from module stat-tests:
317   # Code from module stat-time:
318   # Code from module stat-time-tests:
319   # Code from module stdalign:
320   # Code from module stdalign-tests:
321   # Code from module stdarg:
322   dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
323   dnl for the builtin va_copy to work.  gl_PROG_CC_C99 arranges for this.
324   gl_PROG_CC_C99
325   # Code from module stdbool:
326   # Code from module stdbool-tests:
327   # Code from module stddef:
328   # Code from module stddef-tests:
329   # Code from module stdint:
330   # Code from module stdint-tests:
331   # Code from module stdio:
332   # Code from module stdio-tests:
333   # Code from module stdlib:
334   # Code from module stdlib-tests:
335   # Code from module strcase:
336   # Code from module streq:
337   # Code from module strerror:
338   # Code from module strerror-override:
339   # Code from module strerror-tests:
340   # Code from module strerror_r-posix:
341   # Code from module strerror_r-posix-tests:
342   # Code from module strftime:
343   # Code from module striconv:
344   # Code from module striconv-tests:
345   # Code from module string:
346   # Code from module string-tests:
347   # Code from module strings:
348   # Code from module strings-tests:
349   # Code from module strndup:
350   # Code from module strnlen:
351   # Code from module strnlen-tests:
352   # Code from module strnlen1:
353   # Code from module strptime:
354   # Code from module strtoull:
355   # Code from module strtoull-tests:
356   # Code from module strtoumax:
357   # Code from module strtoumax-tests:
358   # Code from module symlink:
359   # Code from module symlink-tests:
360   # Code from module sys_ioctl:
361   # Code from module sys_ioctl-tests:
362   # Code from module sys_select:
363   # Code from module sys_select-tests:
364   # Code from module sys_socket:
365   # Code from module sys_socket-tests:
366   # Code from module sys_stat:
367   # Code from module sys_stat-tests:
368   # Code from module sys_time:
369   # Code from module sys_time-tests:
370   # Code from module sys_types:
371   # Code from module sys_types-tests:
372   # Code from module sys_uio:
373   # Code from module sys_uio-tests:
374   # Code from module sys_wait:
375   # Code from module sys_wait-tests:
376   # Code from module system-quote:
377   # Code from module tempname:
378   # Code from module test-framework-sh:
379   # Code from module test-framework-sh-tests:
380   # Code from module time:
381   # Code from module time-tests:
382   # Code from module time_r:
383   # Code from module time_rz:
384   # Code from module timegm:
385   # Code from module timespec:
386   # Code from module timespec-add:
387   # Code from module timespec-sub:
388   # Code from module timespec-tests:
389   # Code from module trim:
390   # Code from module tzset:
391   # Code from module unistd:
392   # Code from module unistd-tests:
393   # Code from module unistr/base:
394   # Code from module unistr/u8-mbtoucr:
395   # Code from module unistr/u8-mbtoucr-tests:
396   # Code from module unistr/u8-uctomb:
397   # Code from module unistr/u8-uctomb-tests:
398   # Code from module unitypes:
399   # Code from module uniwidth/base:
400   # Code from module uniwidth/width:
401   # Code from module uniwidth/width-tests:
402   # Code from module unlocked-io:
403   # Code from module unsetenv:
404   # Code from module unsetenv-tests:
405   # Code from module update-copyright:
406   # Code from module update-copyright-tests:
407   # Code from module useless-if-before-free:
408   # Code from module vararrays:
409   # Code from module vasnprintf:
410   # Code from module vasnprintf-tests:
411   # Code from module vasprintf:
412   # Code from module vasprintf-tests:
413   # Code from module vc-list-files:
414   # Code from module vc-list-files-tests:
415   # Code from module verify:
416   # Code from module verify-tests:
417   # Code from module version-etc:
418   # Code from module version-etc-fsf:
419   # Code from module version-etc-tests:
420   # Code from module warnings:
421   # Code from module wchar:
422   # Code from module wchar-tests:
423   # Code from module wcrtomb:
424   # Code from module wcrtomb-tests:
425   # Code from module wctob:
426   # Code from module wctomb:
427   # Code from module wctype-h:
428   # Code from module wctype-h-tests:
429   # Code from module wcwidth:
430   # Code from module wcwidth-tests:
431   # Code from module xalloc:
432   # Code from module xalloc-die:
433   # Code from module xalloc-die-tests:
434   # Code from module xalloc-oversized:
435   # Code from module xfreopen:
436   # Code from module xreadlink:
437   # Code from module xsize:
438   # Code from module xstriconv:
439   # Code from module xstrndup:
440   # Code from module xstrtol:
441   # Code from module xstrtol-tests:
442   # Code from module xstrtoumax:
443   # Code from module xstrtoumax-tests:
444   # Code from module xvasprintf:
445   # Code from module xvasprintf-tests:
446 ])
447
448 # This macro should be invoked from ./configure.ac, in the section
449 # "Check for header files, types and library functions".
450 AC_DEFUN([gl_INIT],
451 [
452   AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
453   gl_cond_libtool=false
454   gl_libdeps=
455   gl_ltlibdeps=
456   gl_m4_base='m4'
457   m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ]))
458   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS]))
459   m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES]))
460   m4_pushdef([gl_LIBSOURCES_LIST], [])
461   m4_pushdef([gl_LIBSOURCES_DIR], [])
462   gl_COMMON
463   gl_source_base='lib'
464   gl_FUNC_ALLOCA
465   gl_FUNC_BTOWC
466   if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
467     AC_LIBOBJ([btowc])
468     gl_PREREQ_BTOWC
469   fi
470   gl_WCHAR_MODULE_INDICATOR([btowc])
471   gl___BUILTIN_EXPECT
472   gl_C_STACK
473   AC_CHECK_FUNCS_ONCE([readlinkat])
474   gl_CLOCK_TIME
475   gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
476   gl_FUNC_CLOSE
477   if test $REPLACE_CLOSE = 1; then
478     AC_LIBOBJ([close])
479   fi
480   gl_UNISTD_MODULE_INDICATOR([close])
481   gl_CONFIG_H
482   gl_CTYPE_H
483   gl_DIRNAME
484   gl_MODULE_INDICATOR([dirname])
485   gl_DIRNAME_LGPL
486   gl_DOUBLE_SLASH_ROOT
487   gl_FUNC_DUP2
488   if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
489     AC_LIBOBJ([dup2])
490     gl_PREREQ_DUP2
491   fi
492   gl_UNISTD_MODULE_INDICATOR([dup2])
493   gl_ENVIRON
494   gl_UNISTD_MODULE_INDICATOR([environ])
495   gl_HEADER_ERRNO_H
496   gl_ERROR
497   if test $ac_cv_lib_error_at_line = no; then
498     AC_LIBOBJ([error])
499     gl_PREREQ_ERROR
500   fi
501   m4_ifdef([AM_XGETTEXT_OPTION],
502     [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
503      AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
504   AC_REQUIRE([gl_EXTERN_INLINE])
505   gl_FUNC_FCNTL
506   if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
507     AC_LIBOBJ([fcntl])
508   fi
509   gl_FCNTL_MODULE_INDICATOR([fcntl])
510   gl_FCNTL_H
511   gl_FILE_NAME_CONCAT
512   gl_MODULE_INDICATOR([filenamecat])
513   gl_FILE_NAME_CONCAT_LGPL
514   AC_C_FLEXIBLE_ARRAY_MEMBER
515   gl_FLOAT_H
516   if test $REPLACE_FLOAT_LDBL = 1; then
517     AC_LIBOBJ([float])
518   fi
519   if test $REPLACE_ITOLD = 1; then
520     AC_LIBOBJ([itold])
521   fi
522   gl_FUNC_FNMATCH_POSIX
523   if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
524     AC_LIBOBJ([fnmatch])
525     gl_PREREQ_FNMATCH
526   fi
527   gl_FNMATCH_MODULE_INDICATOR([fnmatch])
528   gl_FUNC_FNMATCH_GNU
529   if test $HAVE_FNMATCH = 0 || test $REPLACE_FNMATCH = 1; then
530     AC_LIBOBJ([fnmatch])
531     gl_PREREQ_FNMATCH
532   fi
533   gl_MODULE_INDICATOR([fnmatch-gnu])
534   gl_FNMATCH_H
535   gl_FUNC_FREOPEN
536   if test $REPLACE_FREOPEN = 1; then
537     AC_LIBOBJ([freopen])
538     gl_PREREQ_FREOPEN
539   fi
540   gl_STDIO_MODULE_INDICATOR([freopen])
541   gl_MODULE_INDICATOR([freopen-safer])
542   gl_FUNC_FSTAT
543   if test $REPLACE_FSTAT = 1; then
544     AC_LIBOBJ([fstat])
545     case "$host_os" in
546       mingw*)
547         AC_LIBOBJ([stat-w32])
548         ;;
549     esac
550     gl_PREREQ_FSTAT
551   fi
552   gl_SYS_STAT_MODULE_INDICATOR([fstat])
553   gl_FUNC_GETDTABLESIZE
554   if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
555     AC_LIBOBJ([getdtablesize])
556     gl_PREREQ_GETDTABLESIZE
557   fi
558   gl_UNISTD_MODULE_INDICATOR([getdtablesize])
559   gl_FUNC_GETOPT_GNU
560   dnl Because of the way gl_FUNC_GETOPT_GNU is implemented (the gl_getopt_required
561   dnl mechanism), there is no need to do any AC_LIBOBJ or AC_SUBST here; they are
562   dnl done in the getopt-posix module.
563   gl_FUNC_GETOPT_POSIX
564   if test $REPLACE_GETOPT = 1; then
565     AC_LIBOBJ([getopt])
566     AC_LIBOBJ([getopt1])
567     dnl Arrange for unistd.h to include getopt.h.
568     GNULIB_GL_UNISTD_H_GETOPT=1
569   fi
570   AC_SUBST([GNULIB_GL_UNISTD_H_GETOPT])
571   gl_FUNC_GETPROGNAME
572   AC_SUBST([LIBINTL])
573   AC_SUBST([LTLIBINTL])
574   gl_GETTIME
575   gl_FUNC_GETTIMEOFDAY
576   if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
577     AC_LIBOBJ([gettimeofday])
578     gl_PREREQ_GETTIMEOFDAY
579   fi
580   gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
581   gl_GNU_MAKE
582   # Autoconf 2.61a.99 and earlier don't support linking a file only
583   # in VPATH builds.  But since GNUmakefile is for maintainer use
584   # only, it does not matter if we skip the link with older autoconf.
585   # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
586   # builds, so use a shell variable to bypass this.
587   GNUmakefile=GNUmakefile
588   m4_if(m4_version_compare([2.61a.100],
589           m4_defn([m4_PACKAGE_VERSION])), [1], [],
590         [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
591           [GNUmakefile=$GNUmakefile])])
592   AM_ICONV
593   m4_ifdef([gl_ICONV_MODULE_INDICATOR],
594     [gl_ICONV_MODULE_INDICATOR([iconv])])
595   gl_ICONV_H
596   gl_FUNC_ICONV_OPEN
597   if test $REPLACE_ICONV_OPEN = 1; then
598     AC_LIBOBJ([iconv_open])
599   fi
600   if test $REPLACE_ICONV = 1; then
601     AC_LIBOBJ([iconv])
602     AC_LIBOBJ([iconv_close])
603   fi
604   gl_INLINE
605   gl_INTTOSTR
606   gl_INTTYPES_H
607   gl_INTTYPES_INCOMPLETE
608   gl_FUNC_ISBLANK
609   if test $HAVE_ISBLANK = 0; then
610     AC_LIBOBJ([isblank])
611   fi
612   gl_CTYPE_MODULE_INDICATOR([isblank])
613   gl_FUNC_ISWBLANK
614   if test $HAVE_ISWCNTRL = 0 || test $REPLACE_ISWCNTRL = 1; then
615     :
616   else
617     if test $HAVE_ISWBLANK = 0 || test $REPLACE_ISWBLANK = 1; then
618       AC_LIBOBJ([iswblank])
619     fi
620   fi
621   gl_WCTYPE_MODULE_INDICATOR([iswblank])
622   gl_LANGINFO_H
623   AC_REQUIRE([gl_LARGEFILE])
624   gl___INLINE
625   gl_LIBSIGSEGV
626   gl_LIMITS_H
627   gl_LOCALCHARSET
628   dnl For backward compatibility. Some packages still use this.
629   LOCALCHARSET_TESTS_ENVIRONMENT=
630   AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
631   gl_LOCALE_H
632   gl_FUNC_LOCALECONV
633   if test $REPLACE_LOCALECONV = 1; then
634     AC_LIBOBJ([localeconv])
635     gl_PREREQ_LOCALECONV
636   fi
637   gl_LOCALE_MODULE_INDICATOR([localeconv])
638   AC_REQUIRE([gl_LOCALTIME_BUFFER_DEFAULTS])
639   AC_LIBOBJ([localtime-buffer])
640   gl_FUNC_LSTAT
641   if test $REPLACE_LSTAT = 1; then
642     AC_LIBOBJ([lstat])
643     gl_PREREQ_LSTAT
644   fi
645   gl_SYS_STAT_MODULE_INDICATOR([lstat])
646   AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
647     [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
648   AC_REQUIRE([AC_PROG_SED])
649   gl_FUNC_MALLOC_POSIX
650   if test $REPLACE_MALLOC = 1; then
651     AC_LIBOBJ([malloc])
652   fi
653   gl_STDLIB_MODULE_INDICATOR([malloc-posix])
654   gl_MALLOCA
655   gl_MBCHAR
656   gl_MBITER
657   gl_FUNC_MBRTOWC
658   if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
659     AC_LIBOBJ([mbrtowc])
660     gl_PREREQ_MBRTOWC
661   fi
662   gl_WCHAR_MODULE_INDICATOR([mbrtowc])
663   gl_STRING_MODULE_INDICATOR([mbscasecmp])
664   gl_FUNC_MBSINIT
665   if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
666     AC_LIBOBJ([mbsinit])
667     gl_PREREQ_MBSINIT
668   fi
669   gl_WCHAR_MODULE_INDICATOR([mbsinit])
670   gl_FUNC_MBSLEN
671   gl_STRING_MODULE_INDICATOR([mbslen])
672   gl_FUNC_MBSRTOWCS
673   if test $HAVE_MBSRTOWCS = 0 || test $REPLACE_MBSRTOWCS = 1; then
674     AC_LIBOBJ([mbsrtowcs])
675     AC_LIBOBJ([mbsrtowcs-state])
676     gl_PREREQ_MBSRTOWCS
677   fi
678   gl_WCHAR_MODULE_INDICATOR([mbsrtowcs])
679   gl_STRING_MODULE_INDICATOR([mbsstr])
680   gl_FUNC_MBTOWC
681   if test $REPLACE_MBTOWC = 1; then
682     AC_LIBOBJ([mbtowc])
683     gl_PREREQ_MBTOWC
684   fi
685   gl_STDLIB_MODULE_INDICATOR([mbtowc])
686   gl_MBITER
687   gl_FUNC_MEMCHR
688   if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
689     AC_LIBOBJ([memchr])
690     gl_PREREQ_MEMCHR
691   fi
692   gl_STRING_MODULE_INDICATOR([memchr])
693   gl_MINMAX
694   gl_FUNC_MKDIR
695   if test $REPLACE_MKDIR = 1; then
696     AC_LIBOBJ([mkdir])
697   fi
698   gl_FUNC_MKSTEMP
699   if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
700     AC_LIBOBJ([mkstemp])
701     gl_PREREQ_MKSTEMP
702   fi
703   gl_STDLIB_MODULE_INDICATOR([mkstemp])
704   gl_FUNC_MKTIME
705   if test $REPLACE_MKTIME = 1; then
706     AC_LIBOBJ([mktime])
707     gl_PREREQ_MKTIME
708   fi
709   gl_TIME_MODULE_INDICATOR([mktime])
710   gl_FUNC_MKTIME_INTERNAL
711   if test $WANT_MKTIME_INTERNAL = 1; then
712     AC_LIBOBJ([mktime])
713     gl_PREREQ_MKTIME
714   fi
715   AC_REQUIRE([gl_MSVC_INVAL])
716   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
717     AC_LIBOBJ([msvc-inval])
718   fi
719   AC_REQUIRE([gl_MSVC_NOTHROW])
720   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
721     AC_LIBOBJ([msvc-nothrow])
722   fi
723   gl_MODULE_INDICATOR([msvc-nothrow])
724   gl_MULTIARCH
725   gl_FUNC_NL_LANGINFO
726   if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
727     AC_LIBOBJ([nl_langinfo])
728   fi
729   gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
730   gl_FUNC_GNU_STRFTIME
731   gl_FUNC_OPEN
732   if test $REPLACE_OPEN = 1; then
733     AC_LIBOBJ([open])
734     gl_PREREQ_OPEN
735   fi
736   gl_FCNTL_MODULE_INDICATOR([open])
737   gl_PATHMAX
738   AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
739   AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
740   m4_ifdef([AM_XGETTEXT_OPTION],
741     [AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
742      AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])])
743   gl_QUOTE
744   gl_QUOTEARG
745   gl_FUNC_RAISE
746   if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
747     AC_LIBOBJ([raise])
748     gl_PREREQ_RAISE
749   fi
750   gl_SIGNAL_MODULE_INDICATOR([raise])
751   gl_FUNC_RAWMEMCHR
752   if test $HAVE_RAWMEMCHR = 0; then
753     AC_LIBOBJ([rawmemchr])
754     gl_PREREQ_RAWMEMCHR
755   fi
756   gl_STRING_MODULE_INDICATOR([rawmemchr])
757   gl_FUNC_READLINK
758   if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
759     AC_LIBOBJ([readlink])
760     gl_PREREQ_READLINK
761   fi
762   gl_UNISTD_MODULE_INDICATOR([readlink])
763   gl_REGEX
764   if test $ac_use_included_regex = yes; then
765     AC_LIBOBJ([regex])
766     gl_PREREQ_REGEX
767   fi
768   gl_FUNC_SETENV
769   if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
770     AC_LIBOBJ([setenv])
771   fi
772   gl_STDLIB_MODULE_INDICATOR([setenv])
773   gl_SIGACTION
774   if test $HAVE_SIGACTION = 0; then
775     AC_LIBOBJ([sigaction])
776     gl_PREREQ_SIGACTION
777   fi
778   gl_SIGNAL_MODULE_INDICATOR([sigaction])
779   gl_SIGNAL_H
780   gl_SIGNALBLOCKING
781   if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
782     AC_LIBOBJ([sigprocmask])
783     gl_PREREQ_SIGPROCMASK
784   fi
785   gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
786   gl_SIZE_MAX
787   gt_TYPE_SSIZE_T
788   gl_FUNC_STAT
789   if test $REPLACE_STAT = 1; then
790     AC_LIBOBJ([stat])
791     case "$host_os" in
792       mingw*)
793         AC_LIBOBJ([stat-w32])
794         ;;
795     esac
796     gl_PREREQ_STAT
797   fi
798   gl_SYS_STAT_MODULE_INDICATOR([stat])
799   gl_STAT_TIME
800   gl_STAT_BIRTHTIME
801   gl_STDARG_H
802   AM_STDBOOL_H
803   gl_STDDEF_H
804   gl_STDINT_H
805   gl_STDIO_H
806   gl_STDLIB_H
807   gl_STRCASE
808   if test $HAVE_STRCASECMP = 0; then
809     AC_LIBOBJ([strcasecmp])
810     gl_PREREQ_STRCASECMP
811   fi
812   if test $HAVE_STRNCASECMP = 0; then
813     AC_LIBOBJ([strncasecmp])
814     gl_PREREQ_STRNCASECMP
815   fi
816   gl_FUNC_STRERROR
817   if test $REPLACE_STRERROR = 1; then
818     AC_LIBOBJ([strerror])
819   fi
820   gl_MODULE_INDICATOR([strerror])
821   gl_STRING_MODULE_INDICATOR([strerror])
822   AC_REQUIRE([gl_HEADER_ERRNO_H])
823   AC_REQUIRE([gl_FUNC_STRERROR_0])
824   if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
825     AC_LIBOBJ([strerror-override])
826     gl_PREREQ_SYS_H_WINSOCK2
827   fi
828   if test $gl_cond_libtool = false; then
829     gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
830     gl_libdeps="$gl_libdeps $LIBICONV"
831   fi
832   gl_HEADER_STRING_H
833   gl_HEADER_STRINGS_H
834   gl_FUNC_STRNDUP
835   if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
836     AC_LIBOBJ([strndup])
837   fi
838   gl_STRING_MODULE_INDICATOR([strndup])
839   gl_FUNC_STRNLEN
840   if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
841     AC_LIBOBJ([strnlen])
842     gl_PREREQ_STRNLEN
843   fi
844   gl_STRING_MODULE_INDICATOR([strnlen])
845   gl_FUNC_STRPTIME
846   if test $HAVE_STRPTIME = 0; then
847     AC_LIBOBJ([strptime])
848     gl_PREREQ_STRPTIME
849   fi
850   gl_TIME_MODULE_INDICATOR([strptime])
851   gl_FUNC_STRTOULL
852   if test $HAVE_STRTOULL = 0; then
853     AC_LIBOBJ([strtoull])
854     gl_PREREQ_STRTOULL
855   fi
856   gl_STDLIB_MODULE_INDICATOR([strtoull])
857   gl_FUNC_STRTOUMAX
858   if test $HAVE_DECL_STRTOUMAX = 0 || test $REPLACE_STRTOUMAX = 1; then
859     AC_LIBOBJ([strtoumax])
860     gl_PREREQ_STRTOUMAX
861   fi
862   gl_INTTYPES_MODULE_INDICATOR([strtoumax])
863   gl_HEADER_SYS_STAT_H
864   AC_PROG_MKDIR_P
865   gl_HEADER_SYS_TIME_H
866   AC_PROG_MKDIR_P
867   gl_SYS_TYPES_H
868   AC_PROG_MKDIR_P
869   gl_SYS_WAIT_H
870   AC_PROG_MKDIR_P
871   gl_FUNC_GEN_TEMPNAME
872   gl_HEADER_TIME_H
873   gl_TIME_R
874   if test $HAVE_LOCALTIME_R = 0 || test $REPLACE_LOCALTIME_R = 1; then
875     AC_LIBOBJ([time_r])
876     gl_PREREQ_TIME_R
877   fi
878   gl_TIME_MODULE_INDICATOR([time_r])
879   gl_TIME_RZ
880   if test $HAVE_TIMEZONE_T = 0; then
881     AC_LIBOBJ([time_rz])
882   fi
883   gl_TIME_MODULE_INDICATOR([time_rz])
884   gl_FUNC_TIMEGM
885   if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then
886     AC_LIBOBJ([timegm])
887     gl_PREREQ_TIMEGM
888   fi
889   gl_TIME_MODULE_INDICATOR([timegm])
890   gl_TIMESPEC
891   gl_FUNC_TZSET
892   if test $HAVE_TZSET = 0 || test $REPLACE_TZSET = 1; then
893     AC_LIBOBJ([tzset])
894   fi
895   gl_TIME_MODULE_INDICATOR([tzset])
896   gl_UNISTD_H
897   gl_LIBUNISTRING_LIBHEADER([0.9.4], [unistr.h])
898   gl_MODULE_INDICATOR([unistr/u8-mbtoucr])
899   gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-mbtoucr])
900   gl_MODULE_INDICATOR([unistr/u8-uctomb])
901   gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-uctomb])
902   gl_LIBUNISTRING_LIBHEADER([0.9.4], [unitypes.h])
903   gl_LIBUNISTRING_LIBHEADER([0.9.4], [uniwidth.h])
904   gl_LIBUNISTRING_MODULE([0.9.8], [uniwidth/width])
905   gl_FUNC_GLIBC_UNLOCKED_IO
906   gl_FUNC_UNSETENV
907   if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
908     AC_LIBOBJ([unsetenv])
909     gl_PREREQ_UNSETENV
910   fi
911   gl_STDLIB_MODULE_INDICATOR([unsetenv])
912   AC_C_VARARRAYS
913   gl_FUNC_VASNPRINTF
914   gl_FUNC_VASPRINTF
915   gl_STDIO_MODULE_INDICATOR([vasprintf])
916   m4_ifdef([AM_XGETTEXT_OPTION],
917     [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
918      AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
919   gl_VERSION_ETC
920   gl_WCHAR_H
921   gl_FUNC_WCRTOMB
922   if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
923     AC_LIBOBJ([wcrtomb])
924     gl_PREREQ_WCRTOMB
925   fi
926   gl_WCHAR_MODULE_INDICATOR([wcrtomb])
927   gl_WCTYPE_H
928   gl_FUNC_WCWIDTH
929   if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
930     AC_LIBOBJ([wcwidth])
931     gl_PREREQ_WCWIDTH
932   fi
933   gl_WCHAR_MODULE_INDICATOR([wcwidth])
934   gl_XALLOC
935   gl_XSIZE
936   gl_XSTRNDUP
937   gl_XSTRTOL
938   gl_XVASPRINTF
939   m4_ifdef([AM_XGETTEXT_OPTION],
940     [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
941   # End of code from modules
942   m4_ifval(gl_LIBSOURCES_LIST, [
943     m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ ||
944       for gl_file in ]gl_LIBSOURCES_LIST[ ; do
945         if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then
946           echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2
947           exit 1
948         fi
949       done])dnl
950       m4_if(m4_sysval, [0], [],
951         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
952   ])
953   m4_popdef([gl_LIBSOURCES_DIR])
954   m4_popdef([gl_LIBSOURCES_LIST])
955   m4_popdef([AC_LIBSOURCES])
956   m4_popdef([AC_REPLACE_FUNCS])
957   m4_popdef([AC_LIBOBJ])
958   AC_CONFIG_COMMANDS_PRE([
959     gl_libobjs=
960     gl_ltlibobjs=
961     if test -n "$gl_LIBOBJS"; then
962       # Remove the extension.
963       sed_drop_objext='s/\.o$//;s/\.obj$//'
964       for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
965         gl_libobjs="$gl_libobjs $i.$ac_objext"
966         gl_ltlibobjs="$gl_ltlibobjs $i.lo"
967       done
968     fi
969     AC_SUBST([gl_LIBOBJS], [$gl_libobjs])
970     AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs])
971   ])
972   gltests_libdeps=
973   gltests_ltlibdeps=
974   m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ]))
975   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS]))
976   m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES]))
977   m4_pushdef([gltests_LIBSOURCES_LIST], [])
978   m4_pushdef([gltests_LIBSOURCES_DIR], [])
979   gl_COMMON
980   gl_source_base='gnulib-tests'
981 changequote(,)dnl
982   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
983 changequote([, ])dnl
984   AC_SUBST([gltests_WITNESS])
985   gl_module_indicator_condition=$gltests_WITNESS
986   m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
987   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
988   if test "$ac_cv_header_winsock2_h" = yes; then
989     AC_LIBOBJ([accept])
990   fi
991   gl_SYS_SOCKET_MODULE_INDICATOR([accept])
992   gl_HEADER_ARPA_INET
993   AC_PROG_MKDIR_P
994   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
995   if test "$ac_cv_header_winsock2_h" = yes; then
996     AC_LIBOBJ([bind])
997   fi
998   gl_SYS_SOCKET_MODULE_INDICATOR([bind])
999   gt_LOCALE_FR
1000   gt_LOCALE_FR_UTF8
1001   gt_LOCALE_FR
1002   gt_LOCALE_TR_UTF8
1003   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1004   if test "$ac_cv_header_winsock2_h" = yes; then
1005     AC_LIBOBJ([connect])
1006   fi
1007   gl_SYS_SOCKET_MODULE_INDICATOR([connect])
1008   gl_FUNC_FDOPEN
1009   if test $REPLACE_FDOPEN = 1; then
1010     AC_LIBOBJ([fdopen])
1011     gl_PREREQ_FDOPEN
1012   fi
1013   gl_STDIO_MODULE_INDICATOR([fdopen])
1014   gl_FUNC_FTRUNCATE
1015   if test $HAVE_FTRUNCATE = 0 || test $REPLACE_FTRUNCATE = 1; then
1016     AC_LIBOBJ([ftruncate])
1017     gl_PREREQ_FTRUNCATE
1018   fi
1019   gl_UNISTD_MODULE_INDICATOR([ftruncate])
1020   gl_FUNC_GETCWD_LGPL
1021   if test $REPLACE_GETCWD = 1; then
1022     AC_LIBOBJ([getcwd-lgpl])
1023   fi
1024   gl_UNISTD_MODULE_INDICATOR([getcwd])
1025   gl_FUNC_GETPAGESIZE
1026   if test $REPLACE_GETPAGESIZE = 1; then
1027     AC_LIBOBJ([getpagesize])
1028   fi
1029   gl_UNISTD_MODULE_INDICATOR([getpagesize])
1030   gl_FUNC_INET_PTON
1031   if test $HAVE_INET_PTON = 0 || test $REPLACE_INET_NTOP = 1; then
1032     AC_LIBOBJ([inet_pton])
1033     gl_PREREQ_INET_PTON
1034   fi
1035   gl_ARPA_INET_MODULE_INDICATOR([inet_pton])
1036   AC_C_BIGENDIAN
1037   gl_FUNC_IOCTL
1038   if test $HAVE_IOCTL = 0 || test $REPLACE_IOCTL = 1; then
1039     AC_LIBOBJ([ioctl])
1040   fi
1041   gl_SYS_IOCTL_MODULE_INDICATOR([ioctl])
1042   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1043   if test "$ac_cv_header_winsock2_h" = yes; then
1044     AC_LIBOBJ([listen])
1045   fi
1046   gl_SYS_SOCKET_MODULE_INDICATOR([listen])
1047   AC_CHECK_FUNCS_ONCE([newlocale])
1048   gt_LOCALE_FR
1049   gt_LOCALE_FR_UTF8
1050   gt_LOCALE_JA
1051   gt_LOCALE_ZH_CN
1052   gt_LOCALE_TR_UTF8
1053   gt_LOCALE_FR_UTF8
1054   gt_LOCALE_FR
1055   gt_LOCALE_FR_UTF8
1056   gt_LOCALE_JA
1057   gt_LOCALE_ZH_CN
1058   gt_LOCALE_FR_UTF8
1059   gt_LOCALE_ZH_CN
1060   dnl Check for prerequisites for memory fence checks.
1061   gl_FUNC_MMAP_ANON
1062   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1063   AC_CHECK_FUNCS_ONCE([mprotect])
1064   gl_FUNC_NANOSLEEP
1065   if test $HAVE_NANOSLEEP = 0 || test $REPLACE_NANOSLEEP = 1; then
1066     AC_LIBOBJ([nanosleep])
1067     gl_PREREQ_NANOSLEEP
1068   fi
1069   gl_TIME_MODULE_INDICATOR([nanosleep])
1070   AC_CHECK_DECLS_ONCE([alarm])
1071   gl_HEADER_NETINET_IN
1072   AC_PROG_MKDIR_P
1073   gt_LOCALE_FR
1074   gt_LOCALE_FR_UTF8
1075   gl_FUNC_PERROR
1076   if test $REPLACE_PERROR = 1; then
1077     AC_LIBOBJ([perror])
1078   fi
1079   gl_STRING_MODULE_INDICATOR([perror])
1080   gl_FUNC_PIPE
1081   if test $HAVE_PIPE = 0; then
1082     AC_LIBOBJ([pipe])
1083   fi
1084   gl_UNISTD_MODULE_INDICATOR([pipe])
1085   gl_FUNC_PUTENV
1086   if test $REPLACE_PUTENV = 1; then
1087     AC_LIBOBJ([putenv])
1088     gl_PREREQ_PUTENV
1089   fi
1090   gl_STDLIB_MODULE_INDICATOR([putenv])
1091   dnl Check for prerequisites for memory fence checks.
1092   dnl FIXME: zerosize-ptr.h requires these: make a module for it
1093   gl_FUNC_MMAP_ANON
1094   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1095   AC_CHECK_FUNCS_ONCE([mprotect])
1096   dnl Check for prerequisites for memory fence checks.
1097   gl_FUNC_MMAP_ANON
1098   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1099   AC_CHECK_FUNCS_ONCE([mprotect])
1100   gl_FUNC_SELECT
1101   if test $REPLACE_SELECT = 1; then
1102     AC_LIBOBJ([select])
1103   fi
1104   gl_SYS_SELECT_MODULE_INDICATOR([select])
1105   AC_CHECK_HEADERS_ONCE([sys/wait.h])
1106   gl_FUNC_SETLOCALE
1107   if test $REPLACE_SETLOCALE = 1; then
1108     AC_LIBOBJ([setlocale])
1109     gl_PREREQ_SETLOCALE
1110   fi
1111   gl_LOCALE_MODULE_INDICATOR([setlocale])
1112   gt_LOCALE_FR
1113   gt_LOCALE_FR_UTF8
1114   gt_LOCALE_JA
1115   gt_LOCALE_ZH_CN
1116   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1117   if test "$ac_cv_header_winsock2_h" = yes; then
1118     AC_LIBOBJ([setsockopt])
1119   fi
1120   gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt])
1121   gl_FUNC_SLEEP
1122   if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
1123     AC_LIBOBJ([sleep])
1124   fi
1125   gl_UNISTD_MODULE_INDICATOR([sleep])
1126   AC_CHECK_DECLS_ONCE([alarm])
1127   gl_FUNC_SNPRINTF
1128   gl_STDIO_MODULE_INDICATOR([snprintf])
1129   gl_MODULE_INDICATOR([snprintf])
1130   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1131   if test "$ac_cv_header_winsock2_h" = yes; then
1132     AC_LIBOBJ([socket])
1133   fi
1134   # When this module is used, sockets may actually occur as file descriptors,
1135   # hence it is worth warning if the modules 'close' and 'ioctl' are not used.
1136   m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])])
1137   m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])])
1138   AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2])
1139   if test "$ac_cv_header_winsock2_h" = yes; then
1140     UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1141     SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1
1142   fi
1143   gl_SYS_SOCKET_MODULE_INDICATOR([socket])
1144   AC_REQUIRE([gl_SOCKETLIB])
1145   AC_REQUIRE([gl_SOCKETS])
1146   gl_TYPE_SOCKLEN_T
1147   gl_STDALIGN_H
1148   AC_REQUIRE([gt_TYPE_WCHAR_T])
1149   AC_REQUIRE([gt_TYPE_WINT_T])
1150   gl_FUNC_STRERROR_R
1151   if test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1; then
1152     AC_LIBOBJ([strerror_r])
1153     gl_PREREQ_STRERROR_R
1154   fi
1155   gl_STRING_MODULE_INDICATOR([strerror_r])
1156   dnl For the modules argp, error.
1157   gl_MODULE_INDICATOR([strerror_r-posix])
1158   dnl Check for prerequisites for memory fence checks.
1159   gl_FUNC_MMAP_ANON
1160   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1161   AC_CHECK_FUNCS_ONCE([mprotect])
1162   gl_FUNC_SYMLINK
1163   if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
1164     AC_LIBOBJ([symlink])
1165   fi
1166   gl_UNISTD_MODULE_INDICATOR([symlink])
1167   gl_SYS_IOCTL_H
1168   AC_PROG_MKDIR_P
1169   AC_REQUIRE([gl_HEADER_SYS_SELECT])
1170   AC_PROG_MKDIR_P
1171   AC_REQUIRE([gl_HEADER_SYS_SOCKET])
1172   AC_PROG_MKDIR_P
1173   AC_CHECK_FUNCS_ONCE([shutdown])
1174   gl_HEADER_SYS_UIO
1175   AC_PROG_MKDIR_P
1176   abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1177   AC_SUBST([abs_aux_dir])
1178   abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1179   AC_SUBST([abs_aux_dir])
1180   gt_LOCALE_FR
1181   gt_LOCALE_FR_UTF8
1182   gt_LOCALE_JA
1183   gt_LOCALE_ZH_CN
1184   gl_FUNC_WCTOB
1185   if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
1186     AC_LIBOBJ([wctob])
1187     gl_PREREQ_WCTOB
1188   fi
1189   gl_WCHAR_MODULE_INDICATOR([wctob])
1190   gl_FUNC_WCTOMB
1191   if test $REPLACE_WCTOMB = 1; then
1192     AC_LIBOBJ([wctomb])
1193     gl_PREREQ_WCTOMB
1194   fi
1195   gl_STDLIB_MODULE_INDICATOR([wctomb])
1196   m4_popdef([gl_MODULE_INDICATOR_CONDITION])
1197   m4_ifval(gltests_LIBSOURCES_LIST, [
1198     m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ ||
1199       for gl_file in ]gltests_LIBSOURCES_LIST[ ; do
1200         if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then
1201           echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2
1202           exit 1
1203         fi
1204       done])dnl
1205       m4_if(m4_sysval, [0], [],
1206         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1207   ])
1208   m4_popdef([gltests_LIBSOURCES_DIR])
1209   m4_popdef([gltests_LIBSOURCES_LIST])
1210   m4_popdef([AC_LIBSOURCES])
1211   m4_popdef([AC_REPLACE_FUNCS])
1212   m4_popdef([AC_LIBOBJ])
1213   AC_CONFIG_COMMANDS_PRE([
1214     gltests_libobjs=
1215     gltests_ltlibobjs=
1216     if test -n "$gltests_LIBOBJS"; then
1217       # Remove the extension.
1218       sed_drop_objext='s/\.o$//;s/\.obj$//'
1219       for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1220         gltests_libobjs="$gltests_libobjs $i.$ac_objext"
1221         gltests_ltlibobjs="$gltests_ltlibobjs $i.lo"
1222       done
1223     fi
1224     AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs])
1225     AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs])
1226   ])
1227   LIBDIFFUTILS_LIBDEPS="$gl_libdeps"
1228   AC_SUBST([LIBDIFFUTILS_LIBDEPS])
1229   LIBDIFFUTILS_LTLIBDEPS="$gl_ltlibdeps"
1230   AC_SUBST([LIBDIFFUTILS_LTLIBDEPS])
1231   LIBTESTS_LIBDEPS="$gltests_libdeps"
1232   AC_SUBST([LIBTESTS_LIBDEPS])
1233 ])
1234
1235 # Like AC_LIBOBJ, except that the module name goes
1236 # into gl_LIBOBJS instead of into LIBOBJS.
1237 AC_DEFUN([gl_LIBOBJ], [
1238   AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl
1239   gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext"
1240 ])
1241
1242 # Like AC_REPLACE_FUNCS, except that the module name goes
1243 # into gl_LIBOBJS instead of into LIBOBJS.
1244 AC_DEFUN([gl_REPLACE_FUNCS], [
1245   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1246   AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)])
1247 ])
1248
1249 # Like AC_LIBSOURCES, except the directory where the source file is
1250 # expected is derived from the gnulib-tool parameterization,
1251 # and alloca is special cased (for the alloca-opt module).
1252 # We could also entirely rely on EXTRA_lib..._SOURCES.
1253 AC_DEFUN([gl_LIBSOURCES], [
1254   m4_foreach([_gl_NAME], [$1], [
1255     m4_if(_gl_NAME, [alloca.c], [], [
1256       m4_define([gl_LIBSOURCES_DIR], [lib])
1257       m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ])
1258     ])
1259   ])
1260 ])
1261
1262 # Like AC_LIBOBJ, except that the module name goes
1263 # into gltests_LIBOBJS instead of into LIBOBJS.
1264 AC_DEFUN([gltests_LIBOBJ], [
1265   AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl
1266   gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext"
1267 ])
1268
1269 # Like AC_REPLACE_FUNCS, except that the module name goes
1270 # into gltests_LIBOBJS instead of into LIBOBJS.
1271 AC_DEFUN([gltests_REPLACE_FUNCS], [
1272   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1273   AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)])
1274 ])
1275
1276 # Like AC_LIBSOURCES, except the directory where the source file is
1277 # expected is derived from the gnulib-tool parameterization,
1278 # and alloca is special cased (for the alloca-opt module).
1279 # We could also entirely rely on EXTRA_lib..._SOURCES.
1280 AC_DEFUN([gltests_LIBSOURCES], [
1281   m4_foreach([_gl_NAME], [$1], [
1282     m4_if(_gl_NAME, [alloca.c], [], [
1283       m4_define([gltests_LIBSOURCES_DIR], [gnulib-tests])
1284       m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ])
1285     ])
1286   ])
1287 ])
1288
1289 # This macro records the list of files which have been installed by
1290 # gnulib-tool and may be removed by future gnulib-tool invocations.
1291 AC_DEFUN([gl_FILE_LIST], [
1292   build-aux/announce-gen
1293   build-aux/config.rpath
1294   build-aux/do-release-commit-and-tag
1295   build-aux/gendocs.sh
1296   build-aux/git-version-gen
1297   build-aux/gitlog-to-changelog
1298   build-aux/gnu-web-doc-update
1299   build-aux/gnupload
1300   build-aux/update-copyright
1301   build-aux/useless-if-before-free
1302   build-aux/vc-list-files
1303   doc/fdl.texi
1304   doc/gendocs_template
1305   doc/gendocs_template_min
1306   lib/_Noreturn.h
1307   lib/alloca.c
1308   lib/alloca.in.h
1309   lib/allocator.c
1310   lib/allocator.h
1311   lib/anytostr.c
1312   lib/areadlink.c
1313   lib/areadlink.h
1314   lib/arg-nonnull.h
1315   lib/argmatch.c
1316   lib/argmatch.h
1317   lib/asnprintf.c
1318   lib/asprintf.c
1319   lib/assure.h
1320   lib/basename-lgpl.c
1321   lib/basename.c
1322   lib/binary-io.c
1323   lib/binary-io.h
1324   lib/bitrotate.c
1325   lib/bitrotate.h
1326   lib/btowc.c
1327   lib/c++defs.h
1328   lib/c-ctype.c
1329   lib/c-ctype.h
1330   lib/c-stack.c
1331   lib/c-stack.h
1332   lib/c-strcase.h
1333   lib/c-strcasecmp.c
1334   lib/c-strcaseeq.h
1335   lib/c-strncasecmp.c
1336   lib/careadlinkat.c
1337   lib/careadlinkat.h
1338   lib/cdefs.h
1339   lib/cloexec.c
1340   lib/cloexec.h
1341   lib/close.c
1342   lib/ctype.in.h
1343   lib/diffseq.h
1344   lib/dirname-lgpl.c
1345   lib/dirname.c
1346   lib/dirname.h
1347   lib/dosname.h
1348   lib/dup2.c
1349   lib/errno.in.h
1350   lib/error.c
1351   lib/error.h
1352   lib/exclude.c
1353   lib/exclude.h
1354   lib/exitfail.c
1355   lib/exitfail.h
1356   lib/fcntl.c
1357   lib/fcntl.in.h
1358   lib/fd-hook.c
1359   lib/fd-hook.h
1360   lib/file-type.c
1361   lib/file-type.h
1362   lib/filename.h
1363   lib/filenamecat-lgpl.c
1364   lib/filenamecat.c
1365   lib/filenamecat.h
1366   lib/flexmember.h
1367   lib/float+.h
1368   lib/float.c
1369   lib/float.in.h
1370   lib/fnmatch.c
1371   lib/fnmatch.in.h
1372   lib/fnmatch_loop.c
1373   lib/freopen-safer.c
1374   lib/freopen.c
1375   lib/fstat.c
1376   lib/getdtablesize.c
1377   lib/getopt-cdefs.in.h
1378   lib/getopt-core.h
1379   lib/getopt-ext.h
1380   lib/getopt-pfx-core.h
1381   lib/getopt-pfx-ext.h
1382   lib/getopt.c
1383   lib/getopt.in.h
1384   lib/getopt1.c
1385   lib/getopt_int.h
1386   lib/getprogname.c
1387   lib/getprogname.h
1388   lib/gettext.h
1389   lib/gettime.c
1390   lib/gettimeofday.c
1391   lib/hard-locale.c
1392   lib/hard-locale.h
1393   lib/hash.c
1394   lib/hash.h
1395   lib/iconv.c
1396   lib/iconv.in.h
1397   lib/iconv_close.c
1398   lib/iconv_open-aix.gperf
1399   lib/iconv_open-hpux.gperf
1400   lib/iconv_open-irix.gperf
1401   lib/iconv_open-osf.gperf
1402   lib/iconv_open-solaris.gperf
1403   lib/iconv_open.c
1404   lib/ignore-value.h
1405   lib/imaxtostr.c
1406   lib/intprops.h
1407   lib/inttostr.c
1408   lib/inttostr.h
1409   lib/inttypes.in.h
1410   lib/isblank.c
1411   lib/iswblank.c
1412   lib/itold.c
1413   lib/langinfo.in.h
1414   lib/libc-config.h
1415   lib/limits.in.h
1416   lib/localcharset.c
1417   lib/localcharset.h
1418   lib/locale.in.h
1419   lib/localeconv.c
1420   lib/localtime-buffer.c
1421   lib/localtime-buffer.h
1422   lib/lstat.c
1423   lib/malloc.c
1424   lib/malloca.c
1425   lib/malloca.h
1426   lib/mbchar.c
1427   lib/mbchar.h
1428   lib/mbiter.c
1429   lib/mbiter.h
1430   lib/mbrtowc.c
1431   lib/mbscasecmp.c
1432   lib/mbsinit.c
1433   lib/mbslen.c
1434   lib/mbsrtowcs-impl.h
1435   lib/mbsrtowcs-state.c
1436   lib/mbsrtowcs.c
1437   lib/mbsstr.c
1438   lib/mbtowc-impl.h
1439   lib/mbtowc.c
1440   lib/mbuiter.c
1441   lib/mbuiter.h
1442   lib/memchr.c
1443   lib/memchr.valgrind
1444   lib/minmax.h
1445   lib/mkdir.c
1446   lib/mkstemp.c
1447   lib/mktime-internal.h
1448   lib/mktime.c
1449   lib/msvc-inval.c
1450   lib/msvc-inval.h
1451   lib/msvc-nothrow.c
1452   lib/msvc-nothrow.h
1453   lib/nl_langinfo.c
1454   lib/nstrftime.c
1455   lib/offtostr.c
1456   lib/open.c
1457   lib/pathmax.h
1458   lib/printf-args.c
1459   lib/printf-args.h
1460   lib/printf-parse.c
1461   lib/printf-parse.h
1462   lib/progname.c
1463   lib/progname.h
1464   lib/propername.c
1465   lib/propername.h
1466   lib/quote.h
1467   lib/quotearg.c
1468   lib/quotearg.h
1469   lib/raise.c
1470   lib/rawmemchr.c
1471   lib/rawmemchr.valgrind
1472   lib/readlink.c
1473   lib/regcomp.c
1474   lib/regex.c
1475   lib/regex.h
1476   lib/regex_internal.c
1477   lib/regex_internal.h
1478   lib/regexec.c
1479   lib/setenv.c
1480   lib/sh-quote.c
1481   lib/sh-quote.h
1482   lib/sig-handler.c
1483   lib/sig-handler.h
1484   lib/sigaction.c
1485   lib/signal.in.h
1486   lib/sigprocmask.c
1487   lib/size_max.h
1488   lib/stat-macros.h
1489   lib/stat-time.c
1490   lib/stat-time.h
1491   lib/stat-w32.c
1492   lib/stat-w32.h
1493   lib/stat.c
1494   lib/stdarg.in.h
1495   lib/stdbool.in.h
1496   lib/stddef.in.h
1497   lib/stdint.in.h
1498   lib/stdio--.h
1499   lib/stdio-safer.h
1500   lib/stdio.in.h
1501   lib/stdlib.in.h
1502   lib/str-kmp.h
1503   lib/strcasecmp.c
1504   lib/streq.h
1505   lib/strerror-override.c
1506   lib/strerror-override.h
1507   lib/strerror.c
1508   lib/strftime.h
1509   lib/striconv.c
1510   lib/striconv.h
1511   lib/string.in.h
1512   lib/strings.in.h
1513   lib/stripslash.c
1514   lib/strncasecmp.c
1515   lib/strndup.c
1516   lib/strnlen.c
1517   lib/strnlen1.c
1518   lib/strnlen1.h
1519   lib/strptime.c
1520   lib/strtoimax.c
1521   lib/strtol.c
1522   lib/strtoul.c
1523   lib/strtoull.c
1524   lib/strtoumax.c
1525   lib/sys_stat.in.h
1526   lib/sys_time.in.h
1527   lib/sys_types.in.h
1528   lib/sys_wait.in.h
1529   lib/system-quote.c
1530   lib/system-quote.h
1531   lib/tempname.c
1532   lib/tempname.h
1533   lib/time-internal.h
1534   lib/time.in.h
1535   lib/time_r.c
1536   lib/time_rz.c
1537   lib/timegm.c
1538   lib/timespec.c
1539   lib/timespec.h
1540   lib/trim.c
1541   lib/trim.h
1542   lib/tzset.c
1543   lib/uinttostr.c
1544   lib/umaxtostr.c
1545   lib/unistd.c
1546   lib/unistd.in.h
1547   lib/unistr.in.h
1548   lib/unistr/u8-mbtoucr.c
1549   lib/unistr/u8-uctomb-aux.c
1550   lib/unistr/u8-uctomb.c
1551   lib/unitypes.in.h
1552   lib/uniwidth.in.h
1553   lib/uniwidth/cjk.h
1554   lib/uniwidth/width.c
1555   lib/unlocked-io.h
1556   lib/unsetenv.c
1557   lib/unused-parameter.h
1558   lib/vasnprintf.c
1559   lib/vasnprintf.h
1560   lib/vasprintf.c
1561   lib/verify.h
1562   lib/version-etc-fsf.c
1563   lib/version-etc.c
1564   lib/version-etc.h
1565   lib/warn-on-use.h
1566   lib/wchar.in.h
1567   lib/wcrtomb.c
1568   lib/wctype-h.c
1569   lib/wctype.in.h
1570   lib/wcwidth.c
1571   lib/xalloc-die.c
1572   lib/xalloc-oversized.h
1573   lib/xalloc.h
1574   lib/xasprintf.c
1575   lib/xfreopen.c
1576   lib/xfreopen.h
1577   lib/xmalloc.c
1578   lib/xreadlink.c
1579   lib/xreadlink.h
1580   lib/xsize.c
1581   lib/xsize.h
1582   lib/xstriconv.c
1583   lib/xstriconv.h
1584   lib/xstrndup.c
1585   lib/xstrndup.h
1586   lib/xstrtol-error.c
1587   lib/xstrtol.c
1588   lib/xstrtol.h
1589   lib/xstrtoul.c
1590   lib/xstrtoumax.c
1591   lib/xvasprintf.c
1592   lib/xvasprintf.h
1593   m4/00gnulib.m4
1594   m4/__inline.m4
1595   m4/absolute-header.m4
1596   m4/alloca.m4
1597   m4/arpa_inet_h.m4
1598   m4/btowc.m4
1599   m4/builtin-expect.m4
1600   m4/c-stack.m4
1601   m4/clock_time.m4
1602   m4/close.m4
1603   m4/codeset.m4
1604   m4/config-h.m4
1605   m4/ctype.m4
1606   m4/dirname.m4
1607   m4/double-slash-root.m4
1608   m4/dup2.m4
1609   m4/eealloc.m4
1610   m4/environ.m4
1611   m4/errno_h.m4
1612   m4/error.m4
1613   m4/exponentd.m4
1614   m4/extensions.m4
1615   m4/extern-inline.m4
1616   m4/fcntl-o.m4
1617   m4/fcntl.m4
1618   m4/fcntl_h.m4
1619   m4/fdopen.m4
1620   m4/filenamecat.m4
1621   m4/flexmember.m4
1622   m4/float_h.m4
1623   m4/fnmatch.m4
1624   m4/fnmatch_h.m4
1625   m4/fpieee.m4
1626   m4/freopen.m4
1627   m4/fstat.m4
1628   m4/ftruncate.m4
1629   m4/getcwd.m4
1630   m4/getdtablesize.m4
1631   m4/getopt.m4
1632   m4/getpagesize.m4
1633   m4/getprogname.m4
1634   m4/gettime.m4
1635   m4/gettimeofday.m4
1636   m4/glibc21.m4
1637   m4/gnu-make.m4
1638   m4/gnulib-common.m4
1639   m4/host-cpu-c-abi.m4
1640   m4/iconv.m4
1641   m4/iconv_h.m4
1642   m4/iconv_open.m4
1643   m4/include_next.m4
1644   m4/inet_pton.m4
1645   m4/inline.m4
1646   m4/intmax_t.m4
1647   m4/inttostr.m4
1648   m4/inttypes-pri.m4
1649   m4/inttypes.m4
1650   m4/inttypes_h.m4
1651   m4/ioctl.m4
1652   m4/isblank.m4
1653   m4/iswblank.m4
1654   m4/langinfo_h.m4
1655   m4/largefile.m4
1656   m4/lib-ld.m4
1657   m4/lib-link.m4
1658   m4/lib-prefix.m4
1659   m4/libsigsegv.m4
1660   m4/libunistring-base.m4
1661   m4/limits-h.m4
1662   m4/localcharset.m4
1663   m4/locale-fr.m4
1664   m4/locale-ja.m4
1665   m4/locale-tr.m4
1666   m4/locale-zh.m4
1667   m4/locale_h.m4
1668   m4/localeconv.m4
1669   m4/localtime-buffer.m4
1670   m4/longlong.m4
1671   m4/lstat.m4
1672   m4/malloc.m4
1673   m4/malloca.m4
1674   m4/manywarnings-c++.m4
1675   m4/manywarnings.m4
1676   m4/math_h.m4
1677   m4/mbchar.m4
1678   m4/mbiter.m4
1679   m4/mbrtowc.m4
1680   m4/mbsinit.m4
1681   m4/mbslen.m4
1682   m4/mbsrtowcs.m4
1683   m4/mbstate_t.m4
1684   m4/mbtowc.m4
1685   m4/memchr.m4
1686   m4/minmax.m4
1687   m4/mkdir.m4
1688   m4/mkstemp.m4
1689   m4/mktime.m4
1690   m4/mmap-anon.m4
1691   m4/mode_t.m4
1692   m4/msvc-inval.m4
1693   m4/msvc-nothrow.m4
1694   m4/multiarch.m4
1695   m4/nanosleep.m4
1696   m4/netinet_in_h.m4
1697   m4/nl_langinfo.m4
1698   m4/nocrash.m4
1699   m4/nstrftime.m4
1700   m4/off_t.m4
1701   m4/open-cloexec.m4
1702   m4/open.m4
1703   m4/pathmax.m4
1704   m4/perror.m4
1705   m4/pipe.m4
1706   m4/printf.m4
1707   m4/putenv.m4
1708   m4/quote.m4
1709   m4/quotearg.m4
1710   m4/raise.m4
1711   m4/rawmemchr.m4
1712   m4/readlink.m4
1713   m4/regex.m4
1714   m4/select.m4
1715   m4/setenv.m4
1716   m4/setlocale.m4
1717   m4/sigaction.m4
1718   m4/signal_h.m4
1719   m4/signalblocking.m4
1720   m4/size_max.m4
1721   m4/sleep.m4
1722   m4/snprintf.m4
1723   m4/socketlib.m4
1724   m4/sockets.m4
1725   m4/socklen.m4
1726   m4/sockpfaf.m4
1727   m4/ssize_t.m4
1728   m4/stat-time.m4
1729   m4/stat.m4
1730   m4/stdalign.m4
1731   m4/stdarg.m4
1732   m4/stdbool.m4
1733   m4/stddef_h.m4
1734   m4/stdint.m4
1735   m4/stdint_h.m4
1736   m4/stdio_h.m4
1737   m4/stdlib_h.m4
1738   m4/strcase.m4
1739   m4/strerror.m4
1740   m4/strerror_r.m4
1741   m4/string_h.m4
1742   m4/strings_h.m4
1743   m4/strndup.m4
1744   m4/strnlen.m4
1745   m4/strptime.m4
1746   m4/strtoull.m4
1747   m4/strtoumax.m4
1748   m4/symlink.m4
1749   m4/sys_ioctl_h.m4
1750   m4/sys_select_h.m4
1751   m4/sys_socket_h.m4
1752   m4/sys_stat_h.m4
1753   m4/sys_time_h.m4
1754   m4/sys_types_h.m4
1755   m4/sys_uio_h.m4
1756   m4/sys_wait_h.m4
1757   m4/tempname.m4
1758   m4/time_h.m4
1759   m4/time_r.m4
1760   m4/time_rz.m4
1761   m4/timegm.m4
1762   m4/timespec.m4
1763   m4/tm_gmtoff.m4
1764   m4/tzset.m4
1765   m4/unistd_h.m4
1766   m4/unlocked-io.m4
1767   m4/vararrays.m4
1768   m4/vasnprintf.m4
1769   m4/vasprintf.m4
1770   m4/version-etc.m4
1771   m4/warn-on-use.m4
1772   m4/warnings.m4
1773   m4/wchar_h.m4
1774   m4/wchar_t.m4
1775   m4/wcrtomb.m4
1776   m4/wctob.m4
1777   m4/wctomb.m4
1778   m4/wctype_h.m4
1779   m4/wcwidth.m4
1780   m4/wint_t.m4
1781   m4/xalloc.m4
1782   m4/xsize.m4
1783   m4/xstrndup.m4
1784   m4/xstrtol.m4
1785   m4/xvasprintf.m4
1786   tests/init.sh
1787   tests/macros.h
1788   tests/nap.h
1789   tests/signature.h
1790   tests/test-accept.c
1791   tests/test-alloca-opt.c
1792   tests/test-areadlink.c
1793   tests/test-areadlink.h
1794   tests/test-argmatch.c
1795   tests/test-arpa_inet.c
1796   tests/test-binary-io.c
1797   tests/test-binary-io.sh
1798   tests/test-bind.c
1799   tests/test-bitrotate.c
1800   tests/test-btowc.c
1801   tests/test-btowc1.sh
1802   tests/test-btowc2.sh
1803   tests/test-c-ctype.c
1804   tests/test-c-stack.c
1805   tests/test-c-stack.sh
1806   tests/test-c-stack2.sh
1807   tests/test-c-strcase.sh
1808   tests/test-c-strcasecmp.c
1809   tests/test-c-strncasecmp.c
1810   tests/test-cloexec.c
1811   tests/test-close.c
1812   tests/test-connect.c
1813   tests/test-ctype.c
1814   tests/test-dirname.c
1815   tests/test-dup2.c
1816   tests/test-environ.c
1817   tests/test-errno.c
1818   tests/test-exclude.c
1819   tests/test-exclude1.sh
1820   tests/test-exclude2.sh
1821   tests/test-exclude3.sh
1822   tests/test-exclude4.sh
1823   tests/test-exclude5.sh
1824   tests/test-exclude6.sh
1825   tests/test-exclude7.sh
1826   tests/test-exclude8.sh
1827   tests/test-fcntl-h.c
1828   tests/test-fcntl.c
1829   tests/test-fdopen.c
1830   tests/test-fgetc.c
1831   tests/test-filenamecat.c
1832   tests/test-float.c
1833   tests/test-fnmatch-h.c
1834   tests/test-fnmatch.c
1835   tests/test-fputc.c
1836   tests/test-fread.c
1837   tests/test-freopen-safer.c
1838   tests/test-freopen.c
1839   tests/test-fstat.c
1840   tests/test-ftruncate.c
1841   tests/test-ftruncate.sh
1842   tests/test-fwrite.c
1843   tests/test-getcwd-lgpl.c
1844   tests/test-getdtablesize.c
1845   tests/test-getopt-gnu.c
1846   tests/test-getopt-main.h
1847   tests/test-getopt-posix.c
1848   tests/test-getopt.h
1849   tests/test-getopt_long.h
1850   tests/test-getprogname.c
1851   tests/test-gettimeofday.c
1852   tests/test-hash.c
1853   tests/test-iconv-h.c
1854   tests/test-iconv.c
1855   tests/test-ignore-value.c
1856   tests/test-inet_pton.c
1857   tests/test-init.sh
1858   tests/test-intprops.c
1859   tests/test-inttostr.c
1860   tests/test-inttypes.c
1861   tests/test-ioctl.c
1862   tests/test-isblank.c
1863   tests/test-iswblank.c
1864   tests/test-langinfo.c
1865   tests/test-limits-h.c
1866   tests/test-listen.c
1867   tests/test-localcharset.c
1868   tests/test-locale.c
1869   tests/test-localeconv.c
1870   tests/test-lstat.c
1871   tests/test-lstat.h
1872   tests/test-malloca.c
1873   tests/test-mbrtowc-w32-1.sh
1874   tests/test-mbrtowc-w32-2.sh
1875   tests/test-mbrtowc-w32-3.sh
1876   tests/test-mbrtowc-w32-4.sh
1877   tests/test-mbrtowc-w32-5.sh
1878   tests/test-mbrtowc-w32.c
1879   tests/test-mbrtowc.c
1880   tests/test-mbrtowc1.sh
1881   tests/test-mbrtowc2.sh
1882   tests/test-mbrtowc3.sh
1883   tests/test-mbrtowc4.sh
1884   tests/test-mbrtowc5.sh
1885   tests/test-mbscasecmp.c
1886   tests/test-mbscasecmp.sh
1887   tests/test-mbsinit.c
1888   tests/test-mbsinit.sh
1889   tests/test-mbsrtowcs.c
1890   tests/test-mbsrtowcs1.sh
1891   tests/test-mbsrtowcs2.sh
1892   tests/test-mbsrtowcs3.sh
1893   tests/test-mbsrtowcs4.sh
1894   tests/test-mbsstr1.c
1895   tests/test-mbsstr2.c
1896   tests/test-mbsstr2.sh
1897   tests/test-mbsstr3.c
1898   tests/test-mbsstr3.sh
1899   tests/test-memchr.c
1900   tests/test-mkdir.c
1901   tests/test-mkdir.h
1902   tests/test-nanosleep.c
1903   tests/test-netinet_in.c
1904   tests/test-nl_langinfo.c
1905   tests/test-nl_langinfo.sh
1906   tests/test-nstrftime.c
1907   tests/test-open.c
1908   tests/test-open.h
1909   tests/test-pathmax.c
1910   tests/test-perror.c
1911   tests/test-perror.sh
1912   tests/test-perror2.c
1913   tests/test-pipe.c
1914   tests/test-quotearg-simple.c
1915   tests/test-quotearg.h
1916   tests/test-raise.c
1917   tests/test-rawmemchr.c
1918   tests/test-readlink.c
1919   tests/test-readlink.h
1920   tests/test-regex.c
1921   tests/test-select-fd.c
1922   tests/test-select-in.sh
1923   tests/test-select-out.sh
1924   tests/test-select-stdin.c
1925   tests/test-select.c
1926   tests/test-select.h
1927   tests/test-setenv.c
1928   tests/test-setlocale1.c
1929   tests/test-setlocale1.sh
1930   tests/test-setlocale2.c
1931   tests/test-setlocale2.sh
1932   tests/test-setsockopt.c
1933   tests/test-sh-quote.c
1934   tests/test-sigaction.c
1935   tests/test-signal-h.c
1936   tests/test-sigprocmask.c
1937   tests/test-sleep.c
1938   tests/test-snprintf.c
1939   tests/test-sockets.c
1940   tests/test-stat-time.c
1941   tests/test-stat.c
1942   tests/test-stat.h
1943   tests/test-stdalign.c
1944   tests/test-stdbool.c
1945   tests/test-stddef.c
1946   tests/test-stdint.c
1947   tests/test-stdio.c
1948   tests/test-stdlib.c
1949   tests/test-strerror.c
1950   tests/test-strerror_r.c
1951   tests/test-striconv.c
1952   tests/test-string.c
1953   tests/test-strings.c
1954   tests/test-strnlen.c
1955   tests/test-strtoull.c
1956   tests/test-strtoumax.c
1957   tests/test-symlink.c
1958   tests/test-symlink.h
1959   tests/test-sys_ioctl.c
1960   tests/test-sys_select.c
1961   tests/test-sys_socket.c
1962   tests/test-sys_stat.c
1963   tests/test-sys_time.c
1964   tests/test-sys_types.c
1965   tests/test-sys_uio.c
1966   tests/test-sys_wait.c
1967   tests/test-sys_wait.h
1968   tests/test-time.c
1969   tests/test-timespec.c
1970   tests/test-unistd.c
1971   tests/test-unsetenv.c
1972   tests/test-update-copyright.sh
1973   tests/test-vasnprintf.c
1974   tests/test-vasprintf.c
1975   tests/test-vc-list-files-cvs.sh
1976   tests/test-vc-list-files-git.sh
1977   tests/test-verify-try.c
1978   tests/test-verify.c
1979   tests/test-verify.sh
1980   tests/test-version-etc.c
1981   tests/test-version-etc.sh
1982   tests/test-wchar.c
1983   tests/test-wcrtomb-w32-1.sh
1984   tests/test-wcrtomb-w32-2.sh
1985   tests/test-wcrtomb-w32-3.sh
1986   tests/test-wcrtomb-w32-4.sh
1987   tests/test-wcrtomb-w32-5.sh
1988   tests/test-wcrtomb-w32.c
1989   tests/test-wcrtomb.c
1990   tests/test-wcrtomb.sh
1991   tests/test-wctype-h.c
1992   tests/test-wcwidth.c
1993   tests/test-xalloc-die.c
1994   tests/test-xalloc-die.sh
1995   tests/test-xstrtol.c
1996   tests/test-xstrtol.sh
1997   tests/test-xstrtoul.c
1998   tests/test-xstrtoumax.c
1999   tests/test-xstrtoumax.sh
2000   tests/test-xvasprintf.c
2001   tests/unistr/test-u8-mbtoucr.c
2002   tests/unistr/test-u8-uctomb.c
2003   tests/uniwidth/test-uc_width.c
2004   tests/uniwidth/test-uc_width2.c
2005   tests/uniwidth/test-uc_width2.sh
2006   tests/zerosize-ptr.h
2007   tests=lib/_Noreturn.h
2008   tests=lib/accept.c
2009   tests=lib/arg-nonnull.h
2010   tests=lib/arpa_inet.in.h
2011   tests=lib/bind.c
2012   tests=lib/c++defs.h
2013   tests=lib/connect.c
2014   tests=lib/dtotimespec.c
2015   tests=lib/fdopen.c
2016   tests=lib/fpucw.h
2017   tests=lib/ftruncate.c
2018   tests=lib/getcwd-lgpl.c
2019   tests=lib/getpagesize.c
2020   tests=lib/hash-pjw.c
2021   tests=lib/hash-pjw.h
2022   tests=lib/inet_pton.c
2023   tests=lib/ioctl.c
2024   tests=lib/listen.c
2025   tests=lib/nanosleep.c
2026   tests=lib/netinet_in.in.h
2027   tests=lib/perror.c
2028   tests=lib/pipe.c
2029   tests=lib/putenv.c
2030   tests=lib/same-inode.h
2031   tests=lib/select.c
2032   tests=lib/setlocale.c
2033   tests=lib/setsockopt.c
2034   tests=lib/sleep.c
2035   tests=lib/snprintf.c
2036   tests=lib/socket.c
2037   tests=lib/sockets.c
2038   tests=lib/sockets.h
2039   tests=lib/stdalign.in.h
2040   tests=lib/strerror_r.c
2041   tests=lib/symlink.c
2042   tests=lib/sys_ioctl.in.h
2043   tests=lib/sys_select.in.h
2044   tests=lib/sys_socket.c
2045   tests=lib/sys_socket.in.h
2046   tests=lib/sys_uio.in.h
2047   tests=lib/timespec-add.c
2048   tests=lib/timespec-sub.c
2049   tests=lib/unused-parameter.h
2050   tests=lib/w32sock.h
2051   tests=lib/warn-on-use.h
2052   tests=lib/wctob.c
2053   tests=lib/wctomb-impl.h
2054   tests=lib/wctomb.c
2055   top/GNUmakefile
2056   top/README-release
2057   top/maint.mk
2058 ])