Imported Upstream version 1.4.18
[platform/upstream/m4.git] / m4 / gnulib-comp.m4
1 # DO NOT EDIT! GENERATED AUTOMATICALLY!
2 # Copyright (C) 2002-2016 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 <http://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([M4_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 alignof:
48   # Code from module alignof-tests:
49   # Code from module alloca-opt:
50   # Code from module alloca-opt-tests:
51   # Code from module announce-gen:
52   # Code from module ansi-c++-opt:
53   # Code from module array-list:
54   # Code from module array-list-tests:
55   # Code from module array-oset:
56   # Code from module array-oset-tests:
57   # Code from module assert:
58   # Code from module autobuild:
59   AB_INIT
60   # Code from module avltree-oset:
61   # Code from module avltree-oset-tests:
62   # Code from module binary-io:
63   # Code from module binary-io-tests:
64   # Code from module btowc:
65   # Code from module btowc-tests:
66   # Code from module builtin-expect:
67   # Code from module c-ctype:
68   # Code from module c-ctype-tests:
69   # Code from module c-stack:
70   # Code from module c-stack-tests:
71   # Code from module c-strcase:
72   # Code from module c-strcase-tests:
73   # Code from module c-strcaseeq:
74   # Code from module canonicalize-lgpl:
75   # Code from module canonicalize-lgpl-tests:
76   # Code from module chdir:
77   # Code from module chdir-tests:
78   # Code from module clean-temp:
79   # Code from module cloexec:
80   # Code from module cloexec-tests:
81   # Code from module close:
82   # Code from module close-stream:
83   # Code from module close-tests:
84   # Code from module closedir:
85   # Code from module closein:
86   # Code from module closein-tests:
87   # Code from module closeout:
88   # Code from module config-h:
89   # Code from module configmake:
90   # Code from module ctype:
91   # Code from module ctype-tests:
92   # Code from module dirent:
93   # Code from module dirent-c++-tests:
94   # Code from module dirent-tests:
95   # Code from module dirfd:
96   # Code from module dirname:
97   # Code from module dirname-lgpl:
98   # Code from module dirname-tests:
99   # Code from module do-release-commit-and-tag:
100   # Code from module dosname:
101   # Code from module double-slash-root:
102   # Code from module dup:
103   # Code from module dup-tests:
104   # Code from module dup2:
105   # Code from module dup2-tests:
106   # Code from module environ:
107   # Code from module environ-tests:
108   # Code from module errno:
109   # Code from module errno-tests:
110   # Code from module error:
111   # Code from module execute:
112   # Code from module exitfail:
113   # Code from module extensions:
114   # Code from module extern-inline:
115   # Code from module fatal-signal:
116   # Code from module fclose:
117   # Code from module fclose-tests:
118   # Code from module fcntl:
119   # Code from module fcntl-h:
120   # Code from module fcntl-h-c++-tests:
121   # Code from module fcntl-h-tests:
122   # Code from module fcntl-tests:
123   # Code from module fd-hook:
124   # Code from module fd-safer-flag:
125   # Code from module fdl-1.3:
126   # Code from module fdopen:
127   # Code from module fdopen-tests:
128   # Code from module fflush:
129   AC_REQUIRE([AC_FUNC_FSEEKO])
130   # Code from module fflush-tests:
131   # Code from module fgetc-tests:
132   # Code from module filename:
133   # Code from module filenamecat:
134   # Code from module filenamecat-lgpl:
135   # Code from module filenamecat-tests:
136   # Code from module flexmember:
137   # Code from module float:
138   # Code from module float-tests:
139   # Code from module fopen:
140   # Code from module fopen-safer:
141   # Code from module fopen-safer-tests:
142   # Code from module fopen-tests:
143   # Code from module fpending:
144   # Code from module fpending-tests:
145   # Code from module fpieee:
146   AC_REQUIRE([gl_FP_IEEE])
147   # Code from module fpucw:
148   # Code from module fpurge:
149   # Code from module fpurge-tests:
150   # Code from module fputc-tests:
151   # Code from module fread-tests:
152   # Code from module freadahead:
153   # Code from module freadahead-tests:
154   # Code from module freading:
155   # Code from module freading-tests:
156   # Code from module frexp-nolibm:
157   # Code from module frexp-nolibm-tests:
158   # Code from module frexpl-nolibm:
159   # Code from module frexpl-nolibm-tests:
160   # Code from module fseek:
161   # Code from module fseek-tests:
162   # Code from module fseeko:
163   AC_REQUIRE([AC_FUNC_FSEEKO])
164   # Code from module fseeko-tests:
165   # Code from module fstat:
166   # Code from module fstat-tests:
167   # Code from module ftell:
168   # Code from module ftell-tests:
169   # Code from module ftello:
170   AC_REQUIRE([AC_FUNC_FSEEKO])
171   # Code from module ftello-tests:
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 gpl-3.0:
194   # Code from module hard-locale:
195   # Code from module havelib:
196   # Code from module ignore-value:
197   # Code from module ignore-value-tests:
198   # Code from module include_next:
199   # Code from module intprops:
200   # Code from module intprops-tests:
201   # Code from module inttypes:
202   # Code from module inttypes-incomplete:
203   # Code from module inttypes-tests:
204   # Code from module isblank:
205   # Code from module isblank-tests:
206   # Code from module isnand-nolibm:
207   # Code from module isnand-nolibm-tests:
208   # Code from module isnanf-nolibm:
209   # Code from module isnanf-nolibm-tests:
210   # Code from module isnanl-nolibm:
211   # Code from module isnanl-nolibm-tests:
212   # Code from module langinfo:
213   # Code from module langinfo-c++-tests:
214   # Code from module langinfo-tests:
215   # Code from module largefile:
216   AC_REQUIRE([AC_SYS_LARGEFILE])
217   # Code from module libsigsegv:
218   # Code from module limits-h:
219   # Code from module limits-h-tests:
220   # Code from module link:
221   # Code from module link-tests:
222   # Code from module linkedhash-list:
223   # Code from module linkedhash-list-tests:
224   # Code from module list:
225   # Code from module localcharset:
226   # Code from module locale:
227   # Code from module locale-c++-tests:
228   # Code from module locale-tests:
229   # Code from module localeconv:
230   # Code from module localeconv-tests:
231   # Code from module localename:
232   # Code from module localename-tests:
233   # Code from module lock:
234   # Code from module lseek:
235   # Code from module lseek-tests:
236   # Code from module lstat:
237   # Code from module lstat-tests:
238   # Code from module maintainer-makefile:
239   # Code from module malloc-posix:
240   # Code from module malloca:
241   # Code from module malloca-tests:
242   # Code from module manywarnings:
243   # Code from module math:
244   # Code from module math-c++-tests:
245   # Code from module math-tests:
246   # Code from module mbrtowc:
247   # Code from module mbrtowc-tests:
248   # Code from module mbsinit:
249   # Code from module mbsinit-tests:
250   # Code from module mbtowc:
251   # Code from module memchr:
252   # Code from module memchr-tests:
253   # Code from module memchr2:
254   # Code from module memchr2-tests:
255   # Code from module minmax:
256   # Code from module mkdtemp:
257   # Code from module mkstemp:
258   # Code from module msvc-inval:
259   # Code from module msvc-nothrow:
260   # Code from module multiarch:
261   # Code from module nl_langinfo:
262   # Code from module nl_langinfo-tests:
263   # Code from module nocrash:
264   # Code from module obstack:
265   # Code from module open:
266   # Code from module open-tests:
267   # Code from module opendir:
268   # Code from module oset:
269   # Code from module pathmax:
270   # Code from module pathmax-tests:
271   # Code from module pipe2:
272   # Code from module pipe2-safer:
273   # Code from module pipe2-tests:
274   # Code from module posix_spawn-internal:
275   # Code from module posix_spawn_file_actions_addclose:
276   # Code from module posix_spawn_file_actions_addclose-tests:
277   # Code from module posix_spawn_file_actions_adddup2:
278   # Code from module posix_spawn_file_actions_adddup2-tests:
279   # Code from module posix_spawn_file_actions_addopen:
280   # Code from module posix_spawn_file_actions_addopen-tests:
281   # Code from module posix_spawn_file_actions_destroy:
282   # Code from module posix_spawn_file_actions_init:
283   # Code from module posix_spawnattr_destroy:
284   # Code from module posix_spawnattr_init:
285   # Code from module posix_spawnattr_setflags:
286   # Code from module posix_spawnattr_setsigmask:
287   # Code from module posix_spawnp:
288   # Code from module posix_spawnp-tests:
289   # Code from module printf-frexp:
290   # Code from module printf-frexp-tests:
291   # Code from module printf-frexpl:
292   # Code from module printf-frexpl-tests:
293   # Code from module printf-safe:
294   # Code from module progname:
295   # Code from module putenv:
296   # Code from module quotearg:
297   # Code from module quotearg-simple:
298   # Code from module quotearg-simple-tests:
299   # Code from module raise:
300   # Code from module raise-tests:
301   # Code from module rawmemchr:
302   # Code from module rawmemchr-tests:
303   # Code from module readdir:
304   # Code from module readlink:
305   # Code from module readlink-tests:
306   # Code from module regex:
307   # Code from module regex-tests:
308   # Code from module rename:
309   # Code from module rename-tests:
310   # Code from module rmdir:
311   # Code from module rmdir-tests:
312   # Code from module same-inode:
313   # Code from module sched:
314   # Code from module sched-tests:
315   # Code from module secure_getenv:
316   # Code from module setenv:
317   # Code from module setenv-tests:
318   # Code from module setlocale:
319   # Code from module setlocale-tests:
320   # Code from module sigaction:
321   # Code from module sigaction-tests:
322   # Code from module signal-h:
323   # Code from module signal-h-c++-tests:
324   # Code from module signal-h-tests:
325   # Code from module signbit:
326   # Code from module signbit-tests:
327   # Code from module sigpipe:
328   # Code from module sigpipe-tests:
329   # Code from module sigprocmask:
330   # Code from module sigprocmask-tests:
331   # Code from module size_max:
332   # Code from module sleep:
333   # Code from module sleep-tests:
334   # Code from module snippet/_Noreturn:
335   # Code from module snippet/arg-nonnull:
336   # Code from module snippet/c++defs:
337   # Code from module snippet/unused-parameter:
338   # Code from module snippet/warn-on-use:
339   # Code from module snprintf:
340   # Code from module snprintf-tests:
341   # Code from module spawn:
342   # Code from module spawn-c++-tests:
343   # Code from module spawn-pipe:
344   # Code from module spawn-pipe-tests:
345   # Code from module spawn-tests:
346   # Code from module ssize_t:
347   # Code from module stat:
348   # Code from module stat-tests:
349   # Code from module stdalign:
350   # Code from module stdalign-tests:
351   # Code from module stdarg:
352   dnl Some compilers (e.g., AIX 5.3 cc) need to be in c99 mode
353   dnl for the builtin va_copy to work.  With Autoconf 2.60 or later,
354   dnl gl_PROG_CC_C99 arranges for this.  With older Autoconf gl_PROG_CC_C99
355   dnl shouldn't hurt, though installers are on their own to set c99 mode.
356   gl_PROG_CC_C99
357   # Code from module stdbool:
358   # Code from module stdbool-tests:
359   # Code from module stddef:
360   # Code from module stddef-tests:
361   # Code from module stdint:
362   # Code from module stdint-tests:
363   # Code from module stdio:
364   # Code from module stdio-c++-tests:
365   # Code from module stdio-tests:
366   # Code from module stdlib:
367   # Code from module stdlib-c++-tests:
368   # Code from module stdlib-safer:
369   # Code from module stdlib-tests:
370   # Code from module strchrnul:
371   # Code from module strchrnul-tests:
372   # Code from module strdup-posix:
373   # Code from module streq:
374   # Code from module strerror:
375   # Code from module strerror-override:
376   # Code from module strerror-tests:
377   # Code from module string:
378   # Code from module string-c++-tests:
379   # Code from module string-tests:
380   # Code from module strndup:
381   # Code from module strnlen:
382   # Code from module strnlen-tests:
383   # Code from module strsignal:
384   # Code from module strsignal-tests:
385   # Code from module strstr:
386   # Code from module strstr-simple:
387   # Code from module strstr-tests:
388   # Code from module strtod:
389   # Code from module strtod-tests:
390   # Code from module symlink:
391   # Code from module symlink-tests:
392   # Code from module sys_stat:
393   # Code from module sys_stat-c++-tests:
394   # Code from module sys_stat-tests:
395   # Code from module sys_time:
396   # Code from module sys_time-c++-tests:
397   # Code from module sys_time-tests:
398   # Code from module sys_types:
399   # Code from module sys_types-c++-tests:
400   # Code from module sys_types-tests:
401   # Code from module sys_wait:
402   # Code from module sys_wait-c++-tests:
403   # Code from module sys_wait-tests:
404   # Code from module tempname:
405   # Code from module test-framework-sh:
406   # Code from module test-framework-sh-tests:
407   # Code from module threadlib:
408   gl_THREADLIB_EARLY
409   # Code from module time:
410   # Code from module time-c++-tests:
411   # Code from module time-tests:
412   # Code from module tls:
413   # Code from module tmpdir:
414   # Code from module unistd:
415   # Code from module unistd-c++-tests:
416   # Code from module unistd-safer:
417   # Code from module unistd-safer-tests:
418   # Code from module unistd-tests:
419   # Code from module unlocked-io:
420   # Code from module unsetenv:
421   # Code from module unsetenv-tests:
422   # Code from module update-copyright:
423   # Code from module update-copyright-tests:
424   # Code from module useless-if-before-free:
425   # Code from module vasnprintf:
426   # Code from module vasnprintf-tests:
427   # Code from module vasprintf:
428   # Code from module vasprintf-posix:
429   # Code from module vasprintf-posix-tests:
430   # Code from module vasprintf-tests:
431   # Code from module vc-list-files:
432   # Code from module vc-list-files-tests:
433   # Code from module verify:
434   # Code from module verify-tests:
435   # Code from module verror:
436   # Code from module version-etc:
437   # Code from module version-etc-fsf:
438   # Code from module version-etc-tests:
439   # Code from module wait-process:
440   # Code from module waitpid:
441   # Code from module warnings:
442   # Code from module wchar:
443   # Code from module wchar-c++-tests:
444   # Code from module wchar-tests:
445   # Code from module wcrtomb:
446   # Code from module wcrtomb-tests:
447   # Code from module wctob:
448   # Code from module wctomb:
449   # Code from module wctype-h:
450   # Code from module wctype-h-c++-tests:
451   # Code from module wctype-h-tests:
452   # Code from module write:
453   # Code from module write-tests:
454   # Code from module xalloc:
455   # Code from module xalloc-die:
456   # Code from module xalloc-die-tests:
457   # Code from module xalloc-oversized:
458   # Code from module xlist:
459   # Code from module xmalloca:
460   # Code from module xoset:
461   # Code from module xprintf:
462   # Code from module xsize:
463   # Code from module xstrndup:
464   # Code from module xvasprintf:
465   # Code from module xvasprintf-posix:
466   # Code from module xvasprintf-tests:
467 ])
468
469 # This macro should be invoked from ./configure.ac, in the section
470 # "Check for header files, types and library functions".
471 AC_DEFUN([M4_INIT],
472 [
473   AM_CONDITIONAL([GL_COND_LIBTOOL], [false])
474   gl_cond_libtool=false
475   gl_libdeps=
476   gl_ltlibdeps=
477   gl_m4_base='m4'
478   m4_pushdef([AC_LIBOBJ], m4_defn([M4_LIBOBJ]))
479   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([M4_REPLACE_FUNCS]))
480   m4_pushdef([AC_LIBSOURCES], m4_defn([M4_LIBSOURCES]))
481   m4_pushdef([M4_LIBSOURCES_LIST], [])
482   m4_pushdef([M4_LIBSOURCES_DIR], [])
483   gl_COMMON
484   gl_source_base='lib'
485   gl_FUNC_ALLOCA
486   gl_ASSERT
487   gl_FUNC_BTOWC
488   if test $HAVE_BTOWC = 0 || test $REPLACE_BTOWC = 1; then
489     AC_LIBOBJ([btowc])
490     gl_PREREQ_BTOWC
491   fi
492   gl_WCHAR_MODULE_INDICATOR([btowc])
493   gl___BUILTIN_EXPECT
494   gl_C_STACK
495   gl_CANONICALIZE_LGPL
496   if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then
497     AC_LIBOBJ([canonicalize-lgpl])
498   fi
499   gl_MODULE_INDICATOR([canonicalize-lgpl])
500   gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name])
501   gl_STDLIB_MODULE_INDICATOR([realpath])
502   gl_UNISTD_MODULE_INDICATOR([chdir])
503   AC_DEFINE([SIGNAL_SAFE_LIST], [1], [Define if lists must be signal-safe.])
504   gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
505   gl_FUNC_CLOSE
506   if test $REPLACE_CLOSE = 1; then
507     AC_LIBOBJ([close])
508   fi
509   gl_UNISTD_MODULE_INDICATOR([close])
510   gl_CLOSE_STREAM
511   gl_MODULE_INDICATOR([close-stream])
512   gl_CLOSEIN
513   gl_CLOSEOUT
514   gl_CONFIG_H
515   gl_CONFIGMAKE_PREP
516   gl_DIRNAME
517   gl_MODULE_INDICATOR([dirname])
518   gl_DIRNAME_LGPL
519   gl_DOUBLE_SLASH_ROOT
520   gl_FUNC_DUP2
521   if test $HAVE_DUP2 = 0 || test $REPLACE_DUP2 = 1; then
522     AC_LIBOBJ([dup2])
523     gl_PREREQ_DUP2
524   fi
525   gl_UNISTD_MODULE_INDICATOR([dup2])
526   gl_ENVIRON
527   gl_UNISTD_MODULE_INDICATOR([environ])
528   gl_HEADER_ERRNO_H
529   gl_ERROR
530   if test $ac_cv_lib_error_at_line = no; then
531     AC_LIBOBJ([error])
532     gl_PREREQ_ERROR
533   fi
534   m4_ifdef([AM_XGETTEXT_OPTION],
535     [AM_][XGETTEXT_OPTION([--flag=error:3:c-format])
536      AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
537   gl_EXECUTE
538   AC_REQUIRE([gl_EXTERN_INLINE])
539   gl_FATAL_SIGNAL
540   gl_FUNC_FCLOSE
541   if test $REPLACE_FCLOSE = 1; then
542     AC_LIBOBJ([fclose])
543   fi
544   gl_STDIO_MODULE_INDICATOR([fclose])
545   gl_FUNC_FCNTL
546   if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
547     AC_LIBOBJ([fcntl])
548   fi
549   gl_FCNTL_MODULE_INDICATOR([fcntl])
550   gl_FCNTL_H
551   gl_MODULE_INDICATOR([fd-safer-flag])
552   gl_FUNC_FFLUSH
553   if test $REPLACE_FFLUSH = 1; then
554     AC_LIBOBJ([fflush])
555     gl_PREREQ_FFLUSH
556   fi
557   gl_MODULE_INDICATOR([fflush])
558   gl_STDIO_MODULE_INDICATOR([fflush])
559   gl_FILE_NAME_CONCAT
560   gl_MODULE_INDICATOR([filenamecat])
561   gl_FILE_NAME_CONCAT_LGPL
562   gl_FLOAT_H
563   if test $REPLACE_FLOAT_LDBL = 1; then
564     AC_LIBOBJ([float])
565   fi
566   if test $REPLACE_ITOLD = 1; then
567     AC_LIBOBJ([itold])
568   fi
569   gl_FUNC_FOPEN
570   if test $REPLACE_FOPEN = 1; then
571     AC_LIBOBJ([fopen])
572     gl_PREREQ_FOPEN
573   fi
574   gl_STDIO_MODULE_INDICATOR([fopen])
575   gl_MODULE_INDICATOR([fopen-safer])
576   gl_FUNC_FPENDING
577   if test $gl_cv_func___fpending = no; then
578     AC_LIBOBJ([fpending])
579   fi
580   gl_FUNC_FPURGE
581   if test $HAVE_FPURGE = 0 || test $REPLACE_FPURGE = 1; then
582     AC_LIBOBJ([fpurge])
583   fi
584   gl_STDIO_MODULE_INDICATOR([fpurge])
585   gl_FUNC_FREADAHEAD
586   if test $ac_cv_func___freadahead = no; then
587     AC_LIBOBJ([freadahead])
588   fi
589   gl_FUNC_FREADING
590   gl_FUNC_FREXP_NO_LIBM
591   if test $gl_func_frexp_no_libm != yes; then
592     AC_LIBOBJ([frexp])
593   fi
594   gl_MATH_MODULE_INDICATOR([frexp])
595   gl_FUNC_FREXPL_NO_LIBM
596   if test $HAVE_DECL_FREXPL = 0 || test $gl_func_frexpl_no_libm = no; then
597     AC_LIBOBJ([frexpl])
598   fi
599   gl_MATH_MODULE_INDICATOR([frexpl])
600   gl_FUNC_FSEEK
601   if test $REPLACE_FSEEK = 1; then
602     AC_LIBOBJ([fseek])
603   fi
604   gl_STDIO_MODULE_INDICATOR([fseek])
605   gl_FUNC_FSEEKO
606   if test $HAVE_FSEEKO = 0 || test $REPLACE_FSEEKO = 1; then
607     AC_LIBOBJ([fseeko])
608     gl_PREREQ_FSEEKO
609   fi
610   gl_STDIO_MODULE_INDICATOR([fseeko])
611   gl_FUNC_FSTAT
612   if test $REPLACE_FSTAT = 1; then
613     AC_LIBOBJ([fstat])
614     gl_PREREQ_FSTAT
615   fi
616   gl_SYS_STAT_MODULE_INDICATOR([fstat])
617   gl_FUNC_FTELL
618   if test $REPLACE_FTELL = 1; then
619     AC_LIBOBJ([ftell])
620   fi
621   gl_STDIO_MODULE_INDICATOR([ftell])
622   gl_FUNC_FTELLO
623   if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
624     AC_LIBOBJ([ftello])
625     gl_PREREQ_FTELLO
626   fi
627   gl_STDIO_MODULE_INDICATOR([ftello])
628   gl_FUNC_GETDTABLESIZE
629   if test $HAVE_GETDTABLESIZE = 0 || test $REPLACE_GETDTABLESIZE = 1; then
630     AC_LIBOBJ([getdtablesize])
631     gl_PREREQ_GETDTABLESIZE
632   fi
633   gl_UNISTD_MODULE_INDICATOR([getdtablesize])
634   gl_FUNC_GETOPT_GNU
635   if test $REPLACE_GETOPT = 1; then
636     AC_LIBOBJ([getopt])
637     AC_LIBOBJ([getopt1])
638     gl_PREREQ_GETOPT
639     dnl Arrange for unistd.h to include getopt.h.
640     GNULIB_GL_M4_UNISTD_H_GETOPT=1
641   fi
642   AC_SUBST([GNULIB_GL_M4_UNISTD_H_GETOPT])
643   gl_FUNC_GETOPT_POSIX
644   if test $REPLACE_GETOPT = 1; then
645     AC_LIBOBJ([getopt])
646     AC_LIBOBJ([getopt1])
647     gl_PREREQ_GETOPT
648     dnl Arrange for unistd.h to include getopt.h.
649     GNULIB_GL_M4_UNISTD_H_GETOPT=1
650   fi
651   AC_SUBST([GNULIB_GL_M4_UNISTD_H_GETOPT])
652   gl_FUNC_GETPROGNAME
653   AC_SUBST([LIBINTL])
654   AC_SUBST([LTLIBINTL])
655   gl_FUNC_GETTIMEOFDAY
656   if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
657     AC_LIBOBJ([gettimeofday])
658     gl_PREREQ_GETTIMEOFDAY
659   fi
660   gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])
661   # Autoconf 2.61a.99 and earlier don't support linking a file only
662   # in VPATH builds.  But since GNUmakefile is for maintainer use
663   # only, it does not matter if we skip the link with older autoconf.
664   # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
665   # builds, so use a shell variable to bypass this.
666   GNUmakefile=GNUmakefile
667   m4_if(m4_version_compare([2.61a.100],
668           m4_defn([m4_PACKAGE_VERSION])), [1], [],
669         [AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
670           [GNUmakefile=$GNUmakefile])])
671   gl_HARD_LOCALE
672   gl_FUNC_ISNAND_NO_LIBM
673   if test $gl_func_isnand_no_libm != yes; then
674     AC_LIBOBJ([isnand])
675     gl_PREREQ_ISNAND
676   fi
677   gl_FUNC_ISNANF_NO_LIBM
678   if test $gl_func_isnanf_no_libm != yes; then
679     AC_LIBOBJ([isnanf])
680     gl_PREREQ_ISNANF
681   fi
682   gl_FUNC_ISNANL_NO_LIBM
683   if test $gl_func_isnanl_no_libm != yes; then
684     AC_LIBOBJ([isnanl])
685     gl_PREREQ_ISNANL
686   fi
687   gl_LANGINFO_H
688   AC_REQUIRE([gl_LARGEFILE])
689   gl_LIBSIGSEGV
690   gl_LIMITS_H
691   gl_LOCALCHARSET
692   LOCALCHARSET_TESTS_ENVIRONMENT="CHARSETALIASDIR=\"\$(abs_top_builddir)/$gl_source_base\""
693   AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT])
694   gl_LOCALE_H
695   gl_FUNC_LOCALECONV
696   if test $REPLACE_LOCALECONV = 1; then
697     AC_LIBOBJ([localeconv])
698     gl_PREREQ_LOCALECONV
699   fi
700   gl_LOCALE_MODULE_INDICATOR([localeconv])
701   gl_LOCK
702   gl_MODULE_INDICATOR([lock])
703   gl_FUNC_LSEEK
704   if test $REPLACE_LSEEK = 1; then
705     AC_LIBOBJ([lseek])
706   fi
707   gl_UNISTD_MODULE_INDICATOR([lseek])
708   gl_FUNC_LSTAT
709   if test $REPLACE_LSTAT = 1; then
710     AC_LIBOBJ([lstat])
711     gl_PREREQ_LSTAT
712   fi
713   gl_SYS_STAT_MODULE_INDICATOR([lstat])
714   AC_CONFIG_COMMANDS_PRE([m4_ifdef([AH_HEADER],
715     [AC_SUBST([CONFIG_INCLUDE], m4_defn([AH_HEADER]))])])
716   AC_REQUIRE([AC_PROG_SED])
717   gl_FUNC_MALLOC_POSIX
718   if test $REPLACE_MALLOC = 1; then
719     AC_LIBOBJ([malloc])
720   fi
721   gl_STDLIB_MODULE_INDICATOR([malloc-posix])
722   gl_MALLOCA
723   gl_MATH_H
724   gl_FUNC_MBRTOWC
725   if test $HAVE_MBRTOWC = 0 || test $REPLACE_MBRTOWC = 1; then
726     AC_LIBOBJ([mbrtowc])
727     gl_PREREQ_MBRTOWC
728   fi
729   gl_WCHAR_MODULE_INDICATOR([mbrtowc])
730   gl_FUNC_MBSINIT
731   if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then
732     AC_LIBOBJ([mbsinit])
733     gl_PREREQ_MBSINIT
734   fi
735   gl_WCHAR_MODULE_INDICATOR([mbsinit])
736   gl_FUNC_MBTOWC
737   if test $REPLACE_MBTOWC = 1; then
738     AC_LIBOBJ([mbtowc])
739     gl_PREREQ_MBTOWC
740   fi
741   gl_STDLIB_MODULE_INDICATOR([mbtowc])
742   gl_FUNC_MEMCHR
743   if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then
744     AC_LIBOBJ([memchr])
745     gl_PREREQ_MEMCHR
746   fi
747   gl_STRING_MODULE_INDICATOR([memchr])
748   gl_MINMAX
749   gl_FUNC_MKDTEMP
750   if test $HAVE_MKDTEMP = 0; then
751     AC_LIBOBJ([mkdtemp])
752     gl_PREREQ_MKDTEMP
753   fi
754   gl_STDLIB_MODULE_INDICATOR([mkdtemp])
755   gl_FUNC_MKSTEMP
756   if test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1; then
757     AC_LIBOBJ([mkstemp])
758     gl_PREREQ_MKSTEMP
759   fi
760   gl_STDLIB_MODULE_INDICATOR([mkstemp])
761   AC_REQUIRE([gl_MSVC_INVAL])
762   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
763     AC_LIBOBJ([msvc-inval])
764   fi
765   AC_REQUIRE([gl_MSVC_NOTHROW])
766   if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then
767     AC_LIBOBJ([msvc-nothrow])
768   fi
769   gl_MULTIARCH
770   gl_FUNC_NL_LANGINFO
771   if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then
772     AC_LIBOBJ([nl_langinfo])
773   fi
774   gl_LANGINFO_MODULE_INDICATOR([nl_langinfo])
775   AC_FUNC_OBSTACK
776   dnl Note: AC_FUNC_OBSTACK does AC_LIBSOURCES([obstack.h, obstack.c]).
777   gl_FUNC_OPEN
778   if test $REPLACE_OPEN = 1; then
779     AC_LIBOBJ([open])
780     gl_PREREQ_OPEN
781   fi
782   gl_FCNTL_MODULE_INDICATOR([open])
783   gl_PATHMAX
784   gl_FUNC_PIPE2
785   gl_UNISTD_MODULE_INDICATOR([pipe2])
786   gl_MODULE_INDICATOR([pipe2-safer])
787   gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE
788   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE = 1; then
789     AC_LIBOBJ([spawn_faction_addclose])
790   fi
791   gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addclose])
792   gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
793   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1; then
794     AC_LIBOBJ([spawn_faction_adddup2])
795   fi
796   gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])
797   gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN
798   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN = 1; then
799     AC_LIBOBJ([spawn_faction_addopen])
800   fi
801   gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_addopen])
802   gl_POSIX_SPAWN
803   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
804     AC_LIBOBJ([spawn_faction_destroy])
805   fi
806   gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_destroy])
807   gl_POSIX_SPAWN
808   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
809     AC_LIBOBJ([spawn_faction_init])
810   fi
811   gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_init])
812   gl_POSIX_SPAWN
813   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
814     AC_LIBOBJ([spawnattr_destroy])
815   fi
816   gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_destroy])
817   gl_POSIX_SPAWN
818   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
819     AC_LIBOBJ([spawnattr_init])
820   fi
821   gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_init])
822   gl_POSIX_SPAWN
823   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
824     AC_LIBOBJ([spawnattr_setflags])
825   fi
826   gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setflags])
827   gl_POSIX_SPAWN
828   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
829     AC_LIBOBJ([spawnattr_setsigmask])
830   fi
831   gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_setsigmask])
832   gl_POSIX_SPAWN
833   if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
834     AC_LIBOBJ([spawnp])
835     AC_LIBOBJ([spawni])
836     gl_PREREQ_POSIX_SPAWN_INTERNAL
837   fi
838   gl_SPAWN_MODULE_INDICATOR([posix_spawnp])
839   gl_FUNC_PRINTF_FREXP
840   gl_FUNC_PRINTF_FREXPL
841   m4_divert_text([INIT_PREPARE], [gl_printf_safe=yes])
842   AC_CHECK_DECLS([program_invocation_name], [], [], [#include <errno.h>])
843   AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include <errno.h>])
844   gl_QUOTEARG
845   gl_FUNC_RAISE
846   if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then
847     AC_LIBOBJ([raise])
848     gl_PREREQ_RAISE
849   fi
850   gl_SIGNAL_MODULE_INDICATOR([raise])
851   gl_FUNC_RAWMEMCHR
852   if test $HAVE_RAWMEMCHR = 0; then
853     AC_LIBOBJ([rawmemchr])
854     gl_PREREQ_RAWMEMCHR
855   fi
856   gl_STRING_MODULE_INDICATOR([rawmemchr])
857   gl_FUNC_READLINK
858   if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then
859     AC_LIBOBJ([readlink])
860     gl_PREREQ_READLINK
861   fi
862   gl_UNISTD_MODULE_INDICATOR([readlink])
863   gl_REGEX
864   if test $ac_use_included_regex = yes; then
865     AC_LIBOBJ([regex])
866     gl_PREREQ_REGEX
867   fi
868   gl_FUNC_RENAME
869   if test $REPLACE_RENAME = 1; then
870     AC_LIBOBJ([rename])
871   fi
872   gl_STDIO_MODULE_INDICATOR([rename])
873   gl_FUNC_RMDIR
874   if test $REPLACE_RMDIR = 1; then
875     AC_LIBOBJ([rmdir])
876   fi
877   gl_UNISTD_MODULE_INDICATOR([rmdir])
878   gl_SCHED_H
879   gl_FUNC_SECURE_GETENV
880   if test $HAVE_SECURE_GETENV = 0; then
881     AC_LIBOBJ([secure_getenv])
882     gl_PREREQ_SECURE_GETENV
883   fi
884   gl_STDLIB_MODULE_INDICATOR([secure_getenv])
885   gl_SIGACTION
886   if test $HAVE_SIGACTION = 0; then
887     AC_LIBOBJ([sigaction])
888     gl_PREREQ_SIGACTION
889   fi
890   gl_SIGNAL_MODULE_INDICATOR([sigaction])
891   gl_SIGNAL_H
892   gl_SIGNBIT
893   if test $REPLACE_SIGNBIT = 1; then
894     AC_LIBOBJ([signbitf])
895     AC_LIBOBJ([signbitd])
896     AC_LIBOBJ([signbitl])
897   fi
898   gl_MATH_MODULE_INDICATOR([signbit])
899   gl_SIGNAL_SIGPIPE
900   dnl Define the C macro GNULIB_SIGPIPE to 1.
901   gl_MODULE_INDICATOR([sigpipe])
902   dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1.
903   AC_REQUIRE([gl_SIGNAL_H_DEFAULTS])
904   GNULIB_SIGNAL_H_SIGPIPE=1
905   dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1.
906   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
907   AC_REQUIRE([gl_ASM_SYMBOL_PREFIX])
908   GNULIB_STDIO_H_SIGPIPE=1
909   dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1.
910   AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
911   GNULIB_UNISTD_H_SIGPIPE=1
912   gl_SIGNALBLOCKING
913   if test $HAVE_POSIX_SIGNALBLOCKING = 0; then
914     AC_LIBOBJ([sigprocmask])
915     gl_PREREQ_SIGPROCMASK
916   fi
917   gl_SIGNAL_MODULE_INDICATOR([sigprocmask])
918   gl_SIZE_MAX
919   gl_FUNC_SNPRINTF
920   gl_STDIO_MODULE_INDICATOR([snprintf])
921   gl_MODULE_INDICATOR([snprintf])
922   gl_SPAWN_H
923   gl_SPAWN_PIPE
924   gt_TYPE_SSIZE_T
925   gl_FUNC_STAT
926   if test $REPLACE_STAT = 1; then
927     AC_LIBOBJ([stat])
928     gl_PREREQ_STAT
929   fi
930   gl_SYS_STAT_MODULE_INDICATOR([stat])
931   gl_STDARG_H
932   AM_STDBOOL_H
933   gl_STDDEF_H
934   gl_STDINT_H
935   gl_STDIO_H
936   gl_STDLIB_H
937   gl_FUNC_STRCHRNUL
938   if test $HAVE_STRCHRNUL = 0 || test $REPLACE_STRCHRNUL = 1; then
939     AC_LIBOBJ([strchrnul])
940     gl_PREREQ_STRCHRNUL
941   fi
942   gl_STRING_MODULE_INDICATOR([strchrnul])
943   gl_FUNC_STRERROR
944   if test $REPLACE_STRERROR = 1; then
945     AC_LIBOBJ([strerror])
946   fi
947   gl_MODULE_INDICATOR([strerror])
948   gl_STRING_MODULE_INDICATOR([strerror])
949   AC_REQUIRE([gl_HEADER_ERRNO_H])
950   AC_REQUIRE([gl_FUNC_STRERROR_0])
951   if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
952     AC_LIBOBJ([strerror-override])
953     gl_PREREQ_SYS_H_WINSOCK2
954   fi
955   gl_HEADER_STRING_H
956   gl_FUNC_STRNDUP
957   if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then
958     AC_LIBOBJ([strndup])
959   fi
960   gl_STRING_MODULE_INDICATOR([strndup])
961   gl_FUNC_STRNLEN
962   if test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1; then
963     AC_LIBOBJ([strnlen])
964     gl_PREREQ_STRNLEN
965   fi
966   gl_STRING_MODULE_INDICATOR([strnlen])
967   gl_FUNC_STRSIGNAL
968   if test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1; then
969     AC_LIBOBJ([strsignal])
970     gl_PREREQ_STRSIGNAL
971   fi
972   gl_STRING_MODULE_INDICATOR([strsignal])
973   gl_FUNC_STRSTR
974   if test $REPLACE_STRSTR = 1; then
975     AC_LIBOBJ([strstr])
976   fi
977   gl_FUNC_STRSTR_SIMPLE
978   if test $REPLACE_STRSTR = 1; then
979     AC_LIBOBJ([strstr])
980   fi
981   gl_STRING_MODULE_INDICATOR([strstr])
982   gl_FUNC_STRTOD
983   if test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1; then
984     AC_LIBOBJ([strtod])
985     gl_PREREQ_STRTOD
986   fi
987   gl_STDLIB_MODULE_INDICATOR([strtod])
988   gl_HEADER_SYS_STAT_H
989   AC_PROG_MKDIR_P
990   gl_HEADER_SYS_TIME_H
991   AC_PROG_MKDIR_P
992   gl_SYS_TYPES_H
993   AC_PROG_MKDIR_P
994   gl_SYS_WAIT_H
995   AC_PROG_MKDIR_P
996   gl_FUNC_GEN_TEMPNAME
997   gl_THREADLIB
998   gl_HEADER_TIME_H
999   gl_TLS
1000   gt_TMPDIR
1001   gl_UNISTD_H
1002   gl_UNISTD_SAFER
1003   gl_FUNC_GLIBC_UNLOCKED_IO
1004   gl_FUNC_VASNPRINTF
1005   gl_FUNC_VASPRINTF
1006   gl_STDIO_MODULE_INDICATOR([vasprintf])
1007   m4_ifdef([AM_XGETTEXT_OPTION],
1008     [AM_][XGETTEXT_OPTION([--flag=asprintf:2:c-format])
1009      AM_][XGETTEXT_OPTION([--flag=vasprintf:2:c-format])])
1010   gl_FUNC_VASPRINTF_POSIX
1011   m4_ifdef([AM_XGETTEXT_OPTION],
1012     [AM_][XGETTEXT_OPTION([--flag=verror:3:c-format])
1013      AM_][XGETTEXT_OPTION([--flag=verror_at_line:5:c-format])])
1014   gl_VERSION_ETC
1015   gl_WAIT_PROCESS
1016   gl_FUNC_WAITPID
1017   if test $HAVE_WAITPID = 0; then
1018     AC_LIBOBJ([waitpid])
1019   fi
1020   gl_SYS_WAIT_MODULE_INDICATOR([waitpid])
1021   gl_WCHAR_H
1022   gl_FUNC_WCRTOMB
1023   if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then
1024     AC_LIBOBJ([wcrtomb])
1025     gl_PREREQ_WCRTOMB
1026   fi
1027   gl_WCHAR_MODULE_INDICATOR([wcrtomb])
1028   gl_WCTYPE_H
1029   gl_XALLOC
1030   m4_ifdef([AM_XGETTEXT_OPTION],
1031     [AM_][XGETTEXT_OPTION([--flag=xprintf:1:c-format])
1032      AM_][XGETTEXT_OPTION([--flag=xvprintf:1:c-format])
1033      AM_][XGETTEXT_OPTION([--flag=xfprintf:2:c-format])
1034      AM_][XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])])
1035   gl_XSIZE
1036   gl_XSTRNDUP
1037   gl_XVASPRINTF
1038   m4_ifdef([AM_XGETTEXT_OPTION],
1039     [AM_][XGETTEXT_OPTION([--flag=xasprintf:1:c-format])])
1040   # End of code from modules
1041   m4_ifval(M4_LIBSOURCES_LIST, [
1042     m4_syscmd([test ! -d ]m4_defn([M4_LIBSOURCES_DIR])[ ||
1043       for gl_file in ]M4_LIBSOURCES_LIST[ ; do
1044         if test ! -r ]m4_defn([M4_LIBSOURCES_DIR])[/$gl_file ; then
1045           echo "missing file ]m4_defn([M4_LIBSOURCES_DIR])[/$gl_file" >&2
1046           exit 1
1047         fi
1048       done])dnl
1049       m4_if(m4_sysval, [0], [],
1050         [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])])
1051   ])
1052   m4_popdef([M4_LIBSOURCES_DIR])
1053   m4_popdef([M4_LIBSOURCES_LIST])
1054   m4_popdef([AC_LIBSOURCES])
1055   m4_popdef([AC_REPLACE_FUNCS])
1056   m4_popdef([AC_LIBOBJ])
1057   AC_CONFIG_COMMANDS_PRE([
1058     M4_libobjs=
1059     M4_ltlibobjs=
1060     if test -n "$M4_LIBOBJS"; then
1061       # Remove the extension.
1062       sed_drop_objext='s/\.o$//;s/\.obj$//'
1063       for i in `for i in $M4_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1064         M4_libobjs="$M4_libobjs $i.$ac_objext"
1065         M4_ltlibobjs="$M4_ltlibobjs $i.lo"
1066       done
1067     fi
1068     AC_SUBST([M4_LIBOBJS], [$M4_libobjs])
1069     AC_SUBST([M4_LTLIBOBJS], [$M4_ltlibobjs])
1070   ])
1071   gltests_libdeps=
1072   gltests_ltlibdeps=
1073   m4_pushdef([AC_LIBOBJ], m4_defn([M4tests_LIBOBJ]))
1074   m4_pushdef([AC_REPLACE_FUNCS], m4_defn([M4tests_REPLACE_FUNCS]))
1075   m4_pushdef([AC_LIBSOURCES], m4_defn([M4tests_LIBSOURCES]))
1076   m4_pushdef([M4tests_LIBSOURCES_LIST], [])
1077   m4_pushdef([M4tests_LIBSOURCES_DIR], [])
1078   gl_COMMON
1079   gl_source_base='tests'
1080 changequote(,)dnl
1081   M4tests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS
1082 changequote([, ])dnl
1083   AC_SUBST([M4tests_WITNESS])
1084   gl_module_indicator_condition=$M4tests_WITNESS
1085   m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition])
1086   gl_PROG_ANSI_CXX([CXX], [ANSICXX])
1087   gt_LOCALE_FR
1088   gt_LOCALE_FR_UTF8
1089   gt_LOCALE_FR
1090   gt_LOCALE_TR_UTF8
1091   gl_FUNC_CLOSEDIR
1092   if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then
1093     AC_LIBOBJ([closedir])
1094   fi
1095   gl_DIRENT_MODULE_INDICATOR([closedir])
1096   gl_CTYPE_H
1097   gl_DIRENT_H
1098   gl_FUNC_DIRFD
1099   if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \
1100      || test $REPLACE_DIRFD = 1; then
1101     AC_LIBOBJ([dirfd])
1102     gl_PREREQ_DIRFD
1103   fi
1104   gl_DIRENT_MODULE_INDICATOR([dirfd])
1105   gl_FUNC_DUP
1106   if test $REPLACE_DUP = 1; then
1107     AC_LIBOBJ([dup])
1108     gl_PREREQ_DUP
1109   fi
1110   gl_UNISTD_MODULE_INDICATOR([dup])
1111   gl_FUNC_FDOPEN
1112   if test $REPLACE_FDOPEN = 1; then
1113     AC_LIBOBJ([fdopen])
1114     gl_PREREQ_FDOPEN
1115   fi
1116   gl_STDIO_MODULE_INDICATOR([fdopen])
1117   AC_C_FLEXIBLE_ARRAY_MEMBER
1118   gl_FUNC_UNGETC_WORKS
1119   gl_FUNC_UNGETC_WORKS
1120   gl_FUNC_UNGETC_WORKS
1121   gl_FUNC_UNGETC_WORKS
1122   gl_FUNC_GETCWD_LGPL
1123   if test $REPLACE_GETCWD = 1; then
1124     AC_LIBOBJ([getcwd-lgpl])
1125   fi
1126   gl_UNISTD_MODULE_INDICATOR([getcwd])
1127   gl_FUNC_GETPAGESIZE
1128   if test $REPLACE_GETPAGESIZE = 1; then
1129     AC_LIBOBJ([getpagesize])
1130   fi
1131   gl_UNISTD_MODULE_INDICATOR([getpagesize])
1132   gl_INTTYPES_H
1133   gl_INTTYPES_INCOMPLETE
1134   gl_FUNC_ISBLANK
1135   if test $HAVE_ISBLANK = 0; then
1136     AC_LIBOBJ([isblank])
1137   fi
1138   gl_CTYPE_MODULE_INDICATOR([isblank])
1139   gl_DOUBLE_EXPONENT_LOCATION
1140   gl_FLOAT_EXPONENT_LOCATION
1141   gl_LONG_DOUBLE_EXPONENT_LOCATION
1142   AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
1143   gl_FUNC_LINK
1144   if test $HAVE_LINK = 0 || test $REPLACE_LINK = 1; then
1145     AC_LIBOBJ([link])
1146   fi
1147   gl_UNISTD_MODULE_INDICATOR([link])
1148   AC_CHECK_FUNCS_ONCE([newlocale])
1149   gl_LOCALENAME
1150   AC_CHECK_FUNCS_ONCE([newlocale])
1151   gt_LOCALE_FR
1152   gt_LOCALE_FR_UTF8
1153   gt_LOCALE_JA
1154   gt_LOCALE_ZH_CN
1155   gt_LOCALE_FR_UTF8
1156   dnl Check for prerequisites for memory fence checks.
1157   gl_FUNC_MMAP_ANON
1158   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1159   AC_CHECK_FUNCS_ONCE([mprotect])
1160   gl_FUNC_MMAP_ANON
1161   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1162   AC_CHECK_FUNCS_ONCE([mprotect])
1163   gt_LOCALE_FR
1164   gt_LOCALE_FR_UTF8
1165   gl_FUNC_OPENDIR
1166   if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
1167     AC_LIBOBJ([opendir])
1168   fi
1169   gl_DIRENT_MODULE_INDICATOR([opendir])
1170   AC_EGREP_CPP([notposix], [[
1171   #if defined _MSC_VER || defined __MINGW32__
1172     notposix
1173   #endif
1174     ]],
1175     [posix_spawn_ported=no],
1176     [posix_spawn_ported=yes])
1177   AM_CONDITIONAL([POSIX_SPAWN_PORTED], [test $posix_spawn_ported = yes])
1178   gl_FUNC_PUTENV
1179   if test $REPLACE_PUTENV = 1; then
1180     AC_LIBOBJ([putenv])
1181     gl_PREREQ_PUTENV
1182   fi
1183   gl_STDLIB_MODULE_INDICATOR([putenv])
1184   dnl Check for prerequisites for memory fence checks.
1185   dnl FIXME: zerosize-ptr.h requires these: make a module for it
1186   gl_FUNC_MMAP_ANON
1187   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1188   AC_CHECK_FUNCS_ONCE([mprotect])
1189   dnl Check for prerequisites for memory fence checks.
1190   gl_FUNC_MMAP_ANON
1191   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1192   AC_CHECK_FUNCS_ONCE([mprotect])
1193   gl_FUNC_READDIR
1194   if test $HAVE_READDIR = 0; then
1195     AC_LIBOBJ([readdir])
1196   fi
1197   gl_DIRENT_MODULE_INDICATOR([readdir])
1198   gl_FUNC_SETENV
1199   if test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1; then
1200     AC_LIBOBJ([setenv])
1201   fi
1202   gl_STDLIB_MODULE_INDICATOR([setenv])
1203   gl_FUNC_SETLOCALE
1204   if test $REPLACE_SETLOCALE = 1; then
1205     AC_LIBOBJ([setlocale])
1206     gl_PREREQ_SETLOCALE
1207   fi
1208   gl_LOCALE_MODULE_INDICATOR([setlocale])
1209   gt_LOCALE_FR
1210   gt_LOCALE_FR_UTF8
1211   gt_LOCALE_JA
1212   gt_LOCALE_ZH_CN
1213   AC_REQUIRE([gl_FLOAT_EXPONENT_LOCATION])
1214   AC_REQUIRE([gl_DOUBLE_EXPONENT_LOCATION])
1215   AC_REQUIRE([gl_LONG_DOUBLE_EXPONENT_LOCATION])
1216   gl_FUNC_SLEEP
1217   if test $HAVE_SLEEP = 0 || test $REPLACE_SLEEP = 1; then
1218     AC_LIBOBJ([sleep])
1219   fi
1220   gl_UNISTD_MODULE_INDICATOR([sleep])
1221   AC_CHECK_DECLS_ONCE([alarm])
1222   gl_STDALIGN_H
1223   AC_REQUIRE([gt_TYPE_WCHAR_T])
1224   AC_REQUIRE([gt_TYPE_WINT_T])
1225   gl_FUNC_STRDUP_POSIX
1226   if test $ac_cv_func_strdup = no || test $REPLACE_STRDUP = 1; then
1227     AC_LIBOBJ([strdup])
1228     gl_PREREQ_STRDUP
1229   fi
1230   gl_STRING_MODULE_INDICATOR([strdup])
1231   dnl Check for prerequisites for memory fence checks.
1232   gl_FUNC_MMAP_ANON
1233   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1234   AC_CHECK_FUNCS_ONCE([mprotect])
1235   AC_CHECK_DECLS_ONCE([alarm])
1236   gl_FUNC_MMAP_ANON
1237   AC_CHECK_HEADERS_ONCE([sys/mman.h])
1238   AC_CHECK_FUNCS_ONCE([mprotect])
1239   gl_FUNC_SYMLINK
1240   if test $HAVE_SYMLINK = 0 || test $REPLACE_SYMLINK = 1; then
1241     AC_LIBOBJ([symlink])
1242   fi
1243   gl_UNISTD_MODULE_INDICATOR([symlink])
1244   gl_FUNC_UNSETENV
1245   if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
1246     AC_LIBOBJ([unsetenv])
1247     gl_PREREQ_UNSETENV
1248   fi
1249   gl_STDLIB_MODULE_INDICATOR([unsetenv])
1250   abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1251   AC_SUBST([abs_aux_dir])
1252   AC_REQUIRE([gl_LONG_DOUBLE_VS_DOUBLE])
1253   abs_aux_dir=`cd "$ac_aux_dir"; pwd`
1254   AC_SUBST([abs_aux_dir])
1255   gt_LOCALE_FR
1256   gt_LOCALE_FR_UTF8
1257   gt_LOCALE_JA
1258   gt_LOCALE_ZH_CN
1259   gl_FUNC_WCTOB
1260   if test $HAVE_WCTOB = 0 || test $REPLACE_WCTOB = 1; then
1261     AC_LIBOBJ([wctob])
1262     gl_PREREQ_WCTOB
1263   fi
1264   gl_WCHAR_MODULE_INDICATOR([wctob])
1265   gl_FUNC_WCTOMB
1266   if test $REPLACE_WCTOMB = 1; then
1267     AC_LIBOBJ([wctomb])
1268     gl_PREREQ_WCTOMB
1269   fi
1270   gl_STDLIB_MODULE_INDICATOR([wctomb])
1271   gl_FUNC_WRITE
1272   if test $REPLACE_WRITE = 1; then
1273     AC_LIBOBJ([write])
1274     gl_PREREQ_WRITE
1275   fi
1276   gl_UNISTD_MODULE_INDICATOR([write])
1277   m4_popdef([gl_MODULE_INDICATOR_CONDITION])
1278   m4_ifval(M4tests_LIBSOURCES_LIST, [
1279     m4_syscmd([test ! -d ]m4_defn([M4tests_LIBSOURCES_DIR])[ ||
1280       for gl_file in ]M4tests_LIBSOURCES_LIST[ ; do
1281         if test ! -r ]m4_defn([M4tests_LIBSOURCES_DIR])[/$gl_file ; then
1282           echo "missing file ]m4_defn([M4tests_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([M4tests_LIBSOURCES_DIR])
1290   m4_popdef([M4tests_LIBSOURCES_LIST])
1291   m4_popdef([AC_LIBSOURCES])
1292   m4_popdef([AC_REPLACE_FUNCS])
1293   m4_popdef([AC_LIBOBJ])
1294   AC_CONFIG_COMMANDS_PRE([
1295     M4tests_libobjs=
1296     M4tests_ltlibobjs=
1297     if test -n "$M4tests_LIBOBJS"; then
1298       # Remove the extension.
1299       sed_drop_objext='s/\.o$//;s/\.obj$//'
1300       for i in `for i in $M4tests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do
1301         M4tests_libobjs="$M4tests_libobjs $i.$ac_objext"
1302         M4tests_ltlibobjs="$M4tests_ltlibobjs $i.lo"
1303       done
1304     fi
1305     AC_SUBST([M4tests_LIBOBJS], [$M4tests_libobjs])
1306     AC_SUBST([M4tests_LTLIBOBJS], [$M4tests_ltlibobjs])
1307   ])
1308   LIBM4_LIBDEPS="$gl_libdeps"
1309   AC_SUBST([LIBM4_LIBDEPS])
1310   LIBM4_LTLIBDEPS="$gl_ltlibdeps"
1311   AC_SUBST([LIBM4_LTLIBDEPS])
1312   LIBTESTS_LIBDEPS="$gltests_libdeps"
1313   AC_SUBST([LIBTESTS_LIBDEPS])
1314 ])
1315
1316 # Like AC_LIBOBJ, except that the module name goes
1317 # into M4_LIBOBJS instead of into LIBOBJS.
1318 AC_DEFUN([M4_LIBOBJ], [
1319   AS_LITERAL_IF([$1], [M4_LIBSOURCES([$1.c])])dnl
1320   M4_LIBOBJS="$M4_LIBOBJS $1.$ac_objext"
1321 ])
1322
1323 # Like AC_REPLACE_FUNCS, except that the module name goes
1324 # into M4_LIBOBJS instead of into LIBOBJS.
1325 AC_DEFUN([M4_REPLACE_FUNCS], [
1326   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1327   AC_CHECK_FUNCS([$1], , [M4_LIBOBJ($ac_func)])
1328 ])
1329
1330 # Like AC_LIBSOURCES, except the directory where the source file is
1331 # expected is derived from the gnulib-tool parameterization,
1332 # and alloca is special cased (for the alloca-opt module).
1333 # We could also entirely rely on EXTRA_lib..._SOURCES.
1334 AC_DEFUN([M4_LIBSOURCES], [
1335   m4_foreach([_gl_NAME], [$1], [
1336     m4_if(_gl_NAME, [alloca.c], [], [
1337       m4_define([M4_LIBSOURCES_DIR], [lib])
1338       m4_append([M4_LIBSOURCES_LIST], _gl_NAME, [ ])
1339     ])
1340   ])
1341 ])
1342
1343 # Like AC_LIBOBJ, except that the module name goes
1344 # into M4tests_LIBOBJS instead of into LIBOBJS.
1345 AC_DEFUN([M4tests_LIBOBJ], [
1346   AS_LITERAL_IF([$1], [M4tests_LIBSOURCES([$1.c])])dnl
1347   M4tests_LIBOBJS="$M4tests_LIBOBJS $1.$ac_objext"
1348 ])
1349
1350 # Like AC_REPLACE_FUNCS, except that the module name goes
1351 # into M4tests_LIBOBJS instead of into LIBOBJS.
1352 AC_DEFUN([M4tests_REPLACE_FUNCS], [
1353   m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl
1354   AC_CHECK_FUNCS([$1], , [M4tests_LIBOBJ($ac_func)])
1355 ])
1356
1357 # Like AC_LIBSOURCES, except the directory where the source file is
1358 # expected is derived from the gnulib-tool parameterization,
1359 # and alloca is special cased (for the alloca-opt module).
1360 # We could also entirely rely on EXTRA_lib..._SOURCES.
1361 AC_DEFUN([M4tests_LIBSOURCES], [
1362   m4_foreach([_gl_NAME], [$1], [
1363     m4_if(_gl_NAME, [alloca.c], [], [
1364       m4_define([M4tests_LIBSOURCES_DIR], [tests])
1365       m4_append([M4tests_LIBSOURCES_LIST], _gl_NAME, [ ])
1366     ])
1367   ])
1368 ])
1369
1370 # This macro records the list of files which have been installed by
1371 # gnulib-tool and may be removed by future gnulib-tool invocations.
1372 AC_DEFUN([M4_FILE_LIST], [
1373   build-aux/announce-gen
1374   build-aux/config.rpath
1375   build-aux/do-release-commit-and-tag
1376   build-aux/gendocs.sh
1377   build-aux/git-version-gen
1378   build-aux/gitlog-to-changelog
1379   build-aux/gnu-web-doc-update
1380   build-aux/gnupload
1381   build-aux/snippet/_Noreturn.h
1382   build-aux/snippet/arg-nonnull.h
1383   build-aux/snippet/c++defs.h
1384   build-aux/snippet/unused-parameter.h
1385   build-aux/snippet/warn-on-use.h
1386   build-aux/update-copyright
1387   build-aux/useless-if-before-free
1388   build-aux/vc-list-files
1389   doc/fdl-1.3.texi
1390   doc/gendocs_template
1391   doc/gendocs_template_min
1392   doc/gpl-3.0.texi
1393   lib/alignof.h
1394   lib/alloca.in.h
1395   lib/asnprintf.c
1396   lib/asprintf.c
1397   lib/basename-lgpl.c
1398   lib/basename.c
1399   lib/binary-io.c
1400   lib/binary-io.h
1401   lib/btowc.c
1402   lib/c-ctype.c
1403   lib/c-ctype.h
1404   lib/c-stack.c
1405   lib/c-stack.h
1406   lib/c-strcase.h
1407   lib/c-strcasecmp.c
1408   lib/c-strcaseeq.h
1409   lib/c-strncasecmp.c
1410   lib/canonicalize-lgpl.c
1411   lib/clean-temp.c
1412   lib/clean-temp.h
1413   lib/cloexec.c
1414   lib/cloexec.h
1415   lib/close-stream.c
1416   lib/close-stream.h
1417   lib/close.c
1418   lib/closein.c
1419   lib/closein.h
1420   lib/closeout.c
1421   lib/closeout.h
1422   lib/config.charset
1423   lib/dirname-lgpl.c
1424   lib/dirname.c
1425   lib/dirname.h
1426   lib/dosname.h
1427   lib/dup-safer-flag.c
1428   lib/dup-safer.c
1429   lib/dup2.c
1430   lib/errno.in.h
1431   lib/error.c
1432   lib/error.h
1433   lib/execute.c
1434   lib/execute.h
1435   lib/exitfail.c
1436   lib/exitfail.h
1437   lib/fatal-signal.c
1438   lib/fatal-signal.h
1439   lib/fclose.c
1440   lib/fcntl.c
1441   lib/fcntl.in.h
1442   lib/fd-hook.c
1443   lib/fd-hook.h
1444   lib/fd-safer-flag.c
1445   lib/fd-safer.c
1446   lib/fflush.c
1447   lib/filenamecat-lgpl.c
1448   lib/filenamecat.c
1449   lib/filenamecat.h
1450   lib/float+.h
1451   lib/float.c
1452   lib/float.in.h
1453   lib/fopen-safer.c
1454   lib/fopen.c
1455   lib/fpending.c
1456   lib/fpending.h
1457   lib/fpucw.h
1458   lib/fpurge.c
1459   lib/freadahead.c
1460   lib/freadahead.h
1461   lib/freading.c
1462   lib/freading.h
1463   lib/frexp.c
1464   lib/frexpl.c
1465   lib/fseek.c
1466   lib/fseeko.c
1467   lib/fstat.c
1468   lib/ftell.c
1469   lib/ftello.c
1470   lib/getdtablesize.c
1471   lib/getopt.c
1472   lib/getopt.in.h
1473   lib/getopt1.c
1474   lib/getopt_int.h
1475   lib/getprogname.c
1476   lib/getprogname.h
1477   lib/gettext.h
1478   lib/gettimeofday.c
1479   lib/gl_anyhash_list1.h
1480   lib/gl_anyhash_list2.h
1481   lib/gl_anylinked_list1.h
1482   lib/gl_anylinked_list2.h
1483   lib/gl_anytree_oset.h
1484   lib/gl_avltree_oset.c
1485   lib/gl_avltree_oset.h
1486   lib/gl_linkedhash_list.c
1487   lib/gl_linkedhash_list.h
1488   lib/gl_list.c
1489   lib/gl_list.h
1490   lib/gl_oset.c
1491   lib/gl_oset.h
1492   lib/gl_xlist.c
1493   lib/gl_xlist.h
1494   lib/gl_xoset.c
1495   lib/gl_xoset.h
1496   lib/glthread/lock.c
1497   lib/glthread/lock.h
1498   lib/glthread/threadlib.c
1499   lib/glthread/tls.c
1500   lib/glthread/tls.h
1501   lib/hard-locale.c
1502   lib/hard-locale.h
1503   lib/ignore-value.h
1504   lib/intprops.h
1505   lib/isnan.c
1506   lib/isnand-nolibm.h
1507   lib/isnand.c
1508   lib/isnanf-nolibm.h
1509   lib/isnanf.c
1510   lib/isnanl-nolibm.h
1511   lib/isnanl.c
1512   lib/itold.c
1513   lib/langinfo.in.h
1514   lib/limits.in.h
1515   lib/localcharset.c
1516   lib/localcharset.h
1517   lib/locale.in.h
1518   lib/localeconv.c
1519   lib/lseek.c
1520   lib/lstat.c
1521   lib/malloc.c
1522   lib/malloca.c
1523   lib/malloca.h
1524   lib/malloca.valgrind
1525   lib/math.c
1526   lib/math.in.h
1527   lib/mbrtowc.c
1528   lib/mbsinit.c
1529   lib/mbtowc-impl.h
1530   lib/mbtowc.c
1531   lib/memchr.c
1532   lib/memchr.valgrind
1533   lib/memchr2.c
1534   lib/memchr2.h
1535   lib/memchr2.valgrind
1536   lib/minmax.h
1537   lib/mkdtemp.c
1538   lib/mkstemp-safer.c
1539   lib/mkstemp.c
1540   lib/msvc-inval.c
1541   lib/msvc-inval.h
1542   lib/msvc-nothrow.c
1543   lib/msvc-nothrow.h
1544   lib/nl_langinfo.c
1545   lib/obstack.c
1546   lib/obstack.h
1547   lib/open.c
1548   lib/pathmax.h
1549   lib/pipe-safer.c
1550   lib/pipe2-safer.c
1551   lib/pipe2.c
1552   lib/printf-args.c
1553   lib/printf-args.h
1554   lib/printf-frexp.c
1555   lib/printf-frexp.h
1556   lib/printf-frexpl.c
1557   lib/printf-frexpl.h
1558   lib/printf-parse.c
1559   lib/printf-parse.h
1560   lib/progname.c
1561   lib/progname.h
1562   lib/quote.h
1563   lib/quotearg.c
1564   lib/quotearg.h
1565   lib/raise.c
1566   lib/rawmemchr.c
1567   lib/rawmemchr.valgrind
1568   lib/readlink.c
1569   lib/ref-add.sin
1570   lib/ref-del.sin
1571   lib/regcomp.c
1572   lib/regex.c
1573   lib/regex.h
1574   lib/regex_internal.c
1575   lib/regex_internal.h
1576   lib/regexec.c
1577   lib/rename.c
1578   lib/rmdir.c
1579   lib/same-inode.h
1580   lib/sched.in.h
1581   lib/secure_getenv.c
1582   lib/sig-handler.c
1583   lib/sig-handler.h
1584   lib/sigaction.c
1585   lib/siglist.h
1586   lib/signal.in.h
1587   lib/signbitd.c
1588   lib/signbitf.c
1589   lib/signbitl.c
1590   lib/sigprocmask.c
1591   lib/size_max.h
1592   lib/snprintf.c
1593   lib/spawn-pipe.c
1594   lib/spawn-pipe.h
1595   lib/spawn.in.h
1596   lib/spawn_faction_addclose.c
1597   lib/spawn_faction_adddup2.c
1598   lib/spawn_faction_addopen.c
1599   lib/spawn_faction_destroy.c
1600   lib/spawn_faction_init.c
1601   lib/spawn_int.h
1602   lib/spawnattr_destroy.c
1603   lib/spawnattr_init.c
1604   lib/spawnattr_setflags.c
1605   lib/spawnattr_setsigmask.c
1606   lib/spawni.c
1607   lib/spawnp.c
1608   lib/stat.c
1609   lib/stdarg.in.h
1610   lib/stdbool.in.h
1611   lib/stddef.in.h
1612   lib/stdint.in.h
1613   lib/stdio--.h
1614   lib/stdio-impl.h
1615   lib/stdio-safer.h
1616   lib/stdio-write.c
1617   lib/stdio.in.h
1618   lib/stdlib--.h
1619   lib/stdlib-safer.h
1620   lib/stdlib.in.h
1621   lib/str-two-way.h
1622   lib/strchrnul.c
1623   lib/strchrnul.valgrind
1624   lib/streq.h
1625   lib/strerror-override.c
1626   lib/strerror-override.h
1627   lib/strerror.c
1628   lib/string.in.h
1629   lib/stripslash.c
1630   lib/strndup.c
1631   lib/strnlen.c
1632   lib/strsignal.c
1633   lib/strstr.c
1634   lib/strtod.c
1635   lib/sys_stat.in.h
1636   lib/sys_time.in.h
1637   lib/sys_types.in.h
1638   lib/sys_wait.in.h
1639   lib/tempname.c
1640   lib/tempname.h
1641   lib/time.in.h
1642   lib/tmpdir.c
1643   lib/tmpdir.h
1644   lib/unistd--.h
1645   lib/unistd-safer.h
1646   lib/unistd.c
1647   lib/unistd.in.h
1648   lib/unlocked-io.h
1649   lib/vasnprintf.c
1650   lib/vasnprintf.h
1651   lib/vasprintf.c
1652   lib/verify.h
1653   lib/verror.c
1654   lib/verror.h
1655   lib/version-etc-fsf.c
1656   lib/version-etc.c
1657   lib/version-etc.h
1658   lib/w32spawn.h
1659   lib/wait-process.c
1660   lib/wait-process.h
1661   lib/waitpid.c
1662   lib/wchar.in.h
1663   lib/wcrtomb.c
1664   lib/wctype-h.c
1665   lib/wctype.in.h
1666   lib/xalloc-die.c
1667   lib/xalloc-oversized.h
1668   lib/xalloc.h
1669   lib/xasprintf.c
1670   lib/xmalloc.c
1671   lib/xmalloca.c
1672   lib/xmalloca.h
1673   lib/xprintf.c
1674   lib/xprintf.h
1675   lib/xsize.c
1676   lib/xsize.h
1677   lib/xstrndup.c
1678   lib/xstrndup.h
1679   lib/xvasprintf.c
1680   lib/xvasprintf.h
1681   m4/00gnulib.m4
1682   m4/absolute-header.m4
1683   m4/alloca.m4
1684   m4/ansi-c++.m4
1685   m4/asm-underscore.m4
1686   m4/assert.m4
1687   m4/autobuild.m4
1688   m4/btowc.m4
1689   m4/builtin-expect.m4
1690   m4/c-stack.m4
1691   m4/canonicalize.m4
1692   m4/close-stream.m4
1693   m4/close.m4
1694   m4/closedir.m4
1695   m4/closein.m4
1696   m4/closeout.m4
1697   m4/codeset.m4
1698   m4/config-h.m4
1699   m4/configmake.m4
1700   m4/ctype.m4
1701   m4/dirent_h.m4
1702   m4/dirfd.m4
1703   m4/dirname.m4
1704   m4/double-slash-root.m4
1705   m4/dup.m4
1706   m4/dup2.m4
1707   m4/eealloc.m4
1708   m4/environ.m4
1709   m4/errno_h.m4
1710   m4/error.m4
1711   m4/execute.m4
1712   m4/exponentd.m4
1713   m4/exponentf.m4
1714   m4/exponentl.m4
1715   m4/extensions.m4
1716   m4/extern-inline.m4
1717   m4/fatal-signal.m4
1718   m4/fclose.m4
1719   m4/fcntl-o.m4
1720   m4/fcntl.m4
1721   m4/fcntl_h.m4
1722   m4/fdopen.m4
1723   m4/fflush.m4
1724   m4/filenamecat.m4
1725   m4/flexmember.m4
1726   m4/float_h.m4
1727   m4/fopen.m4
1728   m4/fpending.m4
1729   m4/fpieee.m4
1730   m4/fpurge.m4
1731   m4/freadahead.m4
1732   m4/freading.m4
1733   m4/frexp.m4
1734   m4/frexpl.m4
1735   m4/fseek.m4
1736   m4/fseeko.m4
1737   m4/fstat.m4
1738   m4/ftell.m4
1739   m4/ftello.m4
1740   m4/getcwd.m4
1741   m4/getdtablesize.m4
1742   m4/getopt.m4
1743   m4/getpagesize.m4
1744   m4/getprogname.m4
1745   m4/gettimeofday.m4
1746   m4/glibc21.m4
1747   m4/gnulib-common.m4
1748   m4/hard-locale.m4
1749   m4/include_next.m4
1750   m4/intlmacosx.m4
1751   m4/intmax_t.m4
1752   m4/inttypes-pri.m4
1753   m4/inttypes.m4
1754   m4/inttypes_h.m4
1755   m4/isblank.m4
1756   m4/isnand.m4
1757   m4/isnanf.m4
1758   m4/isnanl.m4
1759   m4/langinfo_h.m4
1760   m4/largefile.m4
1761   m4/lcmessage.m4
1762   m4/ldexp.m4
1763   m4/ldexpl.m4
1764   m4/lib-ld.m4
1765   m4/lib-link.m4
1766   m4/lib-prefix.m4
1767   m4/libsigsegv.m4
1768   m4/limits-h.m4
1769   m4/link.m4
1770   m4/localcharset.m4
1771   m4/locale-fr.m4
1772   m4/locale-ja.m4
1773   m4/locale-tr.m4
1774   m4/locale-zh.m4
1775   m4/locale_h.m4
1776   m4/localeconv.m4
1777   m4/localename.m4
1778   m4/lock.m4
1779   m4/longlong.m4
1780   m4/lseek.m4
1781   m4/lstat.m4
1782   m4/malloc.m4
1783   m4/malloca.m4
1784   m4/manywarnings.m4
1785   m4/math_h.m4
1786   m4/mbrtowc.m4
1787   m4/mbsinit.m4
1788   m4/mbstate_t.m4
1789   m4/mbtowc.m4
1790   m4/memchr.m4
1791   m4/minmax.m4
1792   m4/mkdtemp.m4
1793   m4/mkstemp.m4
1794   m4/mmap-anon.m4
1795   m4/mode_t.m4
1796   m4/msvc-inval.m4
1797   m4/msvc-nothrow.m4
1798   m4/multiarch.m4
1799   m4/nl_langinfo.m4
1800   m4/nocrash.m4
1801   m4/obstack.m4
1802   m4/off_t.m4
1803   m4/open.m4
1804   m4/opendir.m4
1805   m4/pathmax.m4
1806   m4/pipe2.m4
1807   m4/posix_spawn.m4
1808   m4/printf-frexp.m4
1809   m4/printf-frexpl.m4
1810   m4/printf.m4
1811   m4/putenv.m4
1812   m4/quotearg.m4
1813   m4/raise.m4
1814   m4/rawmemchr.m4
1815   m4/readdir.m4
1816   m4/readlink.m4
1817   m4/regex.m4
1818   m4/rename.m4
1819   m4/rmdir.m4
1820   m4/sched_h.m4
1821   m4/secure_getenv.m4
1822   m4/setenv.m4
1823   m4/setlocale.m4
1824   m4/sig_atomic_t.m4
1825   m4/sigaction.m4
1826   m4/signal_h.m4
1827   m4/signalblocking.m4
1828   m4/signbit.m4
1829   m4/sigpipe.m4
1830   m4/size_max.m4
1831   m4/sleep.m4
1832   m4/snprintf.m4
1833   m4/spawn-pipe.m4
1834   m4/spawn_h.m4
1835   m4/ssize_t.m4
1836   m4/stat.m4
1837   m4/stdalign.m4
1838   m4/stdarg.m4
1839   m4/stdbool.m4
1840   m4/stddef_h.m4
1841   m4/stdint.m4
1842   m4/stdint_h.m4
1843   m4/stdio_h.m4
1844   m4/stdlib_h.m4
1845   m4/strchrnul.m4
1846   m4/strdup.m4
1847   m4/strerror.m4
1848   m4/string_h.m4
1849   m4/strndup.m4
1850   m4/strnlen.m4
1851   m4/strsignal.m4
1852   m4/strstr.m4
1853   m4/strtod.m4
1854   m4/symlink.m4
1855   m4/sys_socket_h.m4
1856   m4/sys_stat_h.m4
1857   m4/sys_time_h.m4
1858   m4/sys_types_h.m4
1859   m4/sys_wait_h.m4
1860   m4/tempname.m4
1861   m4/threadlib.m4
1862   m4/time_h.m4
1863   m4/tls.m4
1864   m4/tmpdir.m4
1865   m4/ungetc.m4
1866   m4/unistd-safer.m4
1867   m4/unistd_h.m4
1868   m4/unlocked-io.m4
1869   m4/vasnprintf.m4
1870   m4/vasprintf-posix.m4
1871   m4/vasprintf.m4
1872   m4/version-etc.m4
1873   m4/wait-process.m4
1874   m4/waitpid.m4
1875   m4/warn-on-use.m4
1876   m4/warnings.m4
1877   m4/wchar_h.m4
1878   m4/wchar_t.m4
1879   m4/wcrtomb.m4
1880   m4/wctob.m4
1881   m4/wctomb.m4
1882   m4/wctype_h.m4
1883   m4/wint_t.m4
1884   m4/write.m4
1885   m4/xalloc.m4
1886   m4/xsize.m4
1887   m4/xstrndup.m4
1888   m4/xvasprintf.m4
1889   tests/infinity.h
1890   tests/init.sh
1891   tests/macros.h
1892   tests/minus-zero.h
1893   tests/nan.h
1894   tests/randomd.c
1895   tests/randoml.c
1896   tests/signature.h
1897   tests/test-alignof.c
1898   tests/test-alloca-opt.c
1899   tests/test-array_list.c
1900   tests/test-array_oset.c
1901   tests/test-avltree_oset.c
1902   tests/test-binary-io.c
1903   tests/test-binary-io.sh
1904   tests/test-btowc.c
1905   tests/test-btowc1.sh
1906   tests/test-btowc2.sh
1907   tests/test-c-ctype.c
1908   tests/test-c-stack.c
1909   tests/test-c-stack.sh
1910   tests/test-c-stack2.sh
1911   tests/test-c-strcase.sh
1912   tests/test-c-strcasecmp.c
1913   tests/test-c-strncasecmp.c
1914   tests/test-canonicalize-lgpl.c
1915   tests/test-chdir.c
1916   tests/test-cloexec.c
1917   tests/test-close.c
1918   tests/test-closein.c
1919   tests/test-closein.sh
1920   tests/test-ctype.c
1921   tests/test-dirent-c++.cc
1922   tests/test-dirent.c
1923   tests/test-dirname.c
1924   tests/test-dup-safer.c
1925   tests/test-dup.c
1926   tests/test-dup2.c
1927   tests/test-environ.c
1928   tests/test-errno.c
1929   tests/test-fclose.c
1930   tests/test-fcntl-h-c++.cc
1931   tests/test-fcntl-h.c
1932   tests/test-fcntl.c
1933   tests/test-fdopen.c
1934   tests/test-fflush.c
1935   tests/test-fflush2.c
1936   tests/test-fflush2.sh
1937   tests/test-fgetc.c
1938   tests/test-filenamecat.c
1939   tests/test-float.c
1940   tests/test-fopen-safer.c
1941   tests/test-fopen.c
1942   tests/test-fopen.h
1943   tests/test-fpending.c
1944   tests/test-fpending.sh
1945   tests/test-fpurge.c
1946   tests/test-fputc.c
1947   tests/test-fread.c
1948   tests/test-freadahead.c
1949   tests/test-freadahead.sh
1950   tests/test-freading.c
1951   tests/test-frexp.c
1952   tests/test-frexp.h
1953   tests/test-frexpl.c
1954   tests/test-fseek.c
1955   tests/test-fseek.sh
1956   tests/test-fseek2.sh
1957   tests/test-fseeko.c
1958   tests/test-fseeko.sh
1959   tests/test-fseeko2.sh
1960   tests/test-fseeko3.c
1961   tests/test-fseeko3.sh
1962   tests/test-fseeko4.c
1963   tests/test-fseeko4.sh
1964   tests/test-fstat.c
1965   tests/test-ftell.c
1966   tests/test-ftell.sh
1967   tests/test-ftell2.sh
1968   tests/test-ftell3.c
1969   tests/test-ftello.c
1970   tests/test-ftello.sh
1971   tests/test-ftello2.sh
1972   tests/test-ftello3.c
1973   tests/test-ftello4.c
1974   tests/test-ftello4.sh
1975   tests/test-fwrite.c
1976   tests/test-getcwd-lgpl.c
1977   tests/test-getdtablesize.c
1978   tests/test-getopt-gnu.c
1979   tests/test-getopt-main.h
1980   tests/test-getopt-posix.c
1981   tests/test-getopt.h
1982   tests/test-getopt_long.h
1983   tests/test-getprogname.c
1984   tests/test-gettimeofday.c
1985   tests/test-ignore-value.c
1986   tests/test-init.sh
1987   tests/test-intprops.c
1988   tests/test-inttypes.c
1989   tests/test-isblank.c
1990   tests/test-isnand-nolibm.c
1991   tests/test-isnand.h
1992   tests/test-isnanf-nolibm.c
1993   tests/test-isnanf.h
1994   tests/test-isnanl-nolibm.c
1995   tests/test-isnanl.h
1996   tests/test-langinfo-c++.cc
1997   tests/test-langinfo.c
1998   tests/test-limits-h.c
1999   tests/test-link.c
2000   tests/test-link.h
2001   tests/test-linkedhash_list.c
2002   tests/test-locale-c++.cc
2003   tests/test-locale-c++2.cc
2004   tests/test-locale.c
2005   tests/test-localeconv.c
2006   tests/test-localename.c
2007   tests/test-lseek.c
2008   tests/test-lseek.sh
2009   tests/test-lstat.c
2010   tests/test-lstat.h
2011   tests/test-malloca.c
2012   tests/test-math-c++.cc
2013   tests/test-math-c++2.cc
2014   tests/test-math.c
2015   tests/test-mbrtowc-w32-1.sh
2016   tests/test-mbrtowc-w32-2.sh
2017   tests/test-mbrtowc-w32-3.sh
2018   tests/test-mbrtowc-w32-4.sh
2019   tests/test-mbrtowc-w32-5.sh
2020   tests/test-mbrtowc-w32.c
2021   tests/test-mbrtowc.c
2022   tests/test-mbrtowc1.sh
2023   tests/test-mbrtowc2.sh
2024   tests/test-mbrtowc3.sh
2025   tests/test-mbrtowc4.sh
2026   tests/test-mbrtowc5.sh
2027   tests/test-mbsinit.c
2028   tests/test-mbsinit.sh
2029   tests/test-memchr.c
2030   tests/test-memchr2.c
2031   tests/test-nl_langinfo.c
2032   tests/test-nl_langinfo.sh
2033   tests/test-open.c
2034   tests/test-open.h
2035   tests/test-pathmax.c
2036   tests/test-pipe2.c
2037   tests/test-posix_spawn1.c
2038   tests/test-posix_spawn1.in.sh
2039   tests/test-posix_spawn2.c
2040   tests/test-posix_spawn2.in.sh
2041   tests/test-posix_spawn_file_actions_addclose.c
2042   tests/test-posix_spawn_file_actions_adddup2.c
2043   tests/test-posix_spawn_file_actions_addopen.c
2044   tests/test-printf-frexp.c
2045   tests/test-printf-frexpl.c
2046   tests/test-quotearg-simple.c
2047   tests/test-quotearg.h
2048   tests/test-raise.c
2049   tests/test-rawmemchr.c
2050   tests/test-readlink.c
2051   tests/test-readlink.h
2052   tests/test-regex.c
2053   tests/test-rename.c
2054   tests/test-rename.h
2055   tests/test-rmdir.c
2056   tests/test-rmdir.h
2057   tests/test-sched.c
2058   tests/test-setenv.c
2059   tests/test-setlocale1.c
2060   tests/test-setlocale1.sh
2061   tests/test-setlocale2.c
2062   tests/test-setlocale2.sh
2063   tests/test-sigaction.c
2064   tests/test-signal-h-c++.cc
2065   tests/test-signal-h-c++2.cc
2066   tests/test-signal-h.c
2067   tests/test-signbit.c
2068   tests/test-sigpipe.c
2069   tests/test-sigpipe.sh
2070   tests/test-sigprocmask.c
2071   tests/test-sleep.c
2072   tests/test-snprintf.c
2073   tests/test-spawn-c++.cc
2074   tests/test-spawn-pipe-child.c
2075   tests/test-spawn-pipe-main.c
2076   tests/test-spawn-pipe.sh
2077   tests/test-spawn.c
2078   tests/test-stat.c
2079   tests/test-stat.h
2080   tests/test-stdalign.c
2081   tests/test-stdbool.c
2082   tests/test-stddef.c
2083   tests/test-stdint.c
2084   tests/test-stdio-c++.cc
2085   tests/test-stdio-c++2.cc
2086   tests/test-stdio.c
2087   tests/test-stdlib-c++.cc
2088   tests/test-stdlib-c++2.cc
2089   tests/test-stdlib.c
2090   tests/test-strchrnul.c
2091   tests/test-strerror.c
2092   tests/test-string-c++.cc
2093   tests/test-string-c++2.cc
2094   tests/test-string.c
2095   tests/test-strnlen.c
2096   tests/test-strsignal.c
2097   tests/test-strstr.c
2098   tests/test-strtod.c
2099   tests/test-symlink.c
2100   tests/test-symlink.h
2101   tests/test-sys_stat-c++.cc
2102   tests/test-sys_stat.c
2103   tests/test-sys_time-c++.cc
2104   tests/test-sys_time.c
2105   tests/test-sys_types-c++.cc
2106   tests/test-sys_types.c
2107   tests/test-sys_wait-c++.cc
2108   tests/test-sys_wait.c
2109   tests/test-sys_wait.h
2110   tests/test-time-c++.cc
2111   tests/test-time-c++2.cc
2112   tests/test-time.c
2113   tests/test-unistd-c++.cc
2114   tests/test-unistd.c
2115   tests/test-unsetenv.c
2116   tests/test-update-copyright.sh
2117   tests/test-vasnprintf.c
2118   tests/test-vasprintf-posix.c
2119   tests/test-vasprintf.c
2120   tests/test-vc-list-files-cvs.sh
2121   tests/test-vc-list-files-git.sh
2122   tests/test-verify.c
2123   tests/test-verify.sh
2124   tests/test-version-etc.c
2125   tests/test-version-etc.sh
2126   tests/test-wchar-c++.cc
2127   tests/test-wchar.c
2128   tests/test-wcrtomb-w32-1.sh
2129   tests/test-wcrtomb-w32-2.sh
2130   tests/test-wcrtomb-w32-3.sh
2131   tests/test-wcrtomb-w32-4.sh
2132   tests/test-wcrtomb-w32-5.sh
2133   tests/test-wcrtomb-w32.c
2134   tests/test-wcrtomb.c
2135   tests/test-wcrtomb.sh
2136   tests/test-wctype-h-c++.cc
2137   tests/test-wctype-h.c
2138   tests/test-write.c
2139   tests/test-xalloc-die.c
2140   tests/test-xalloc-die.sh
2141   tests/test-xvasprintf.c
2142   tests/zerosize-ptr.h
2143   tests=lib/closedir.c
2144   tests=lib/ctype.in.h
2145   tests=lib/dirent-private.h
2146   tests=lib/dirent.in.h
2147   tests=lib/dirfd.c
2148   tests=lib/dup.c
2149   tests=lib/fdopen.c
2150   tests=lib/filename.h
2151   tests=lib/flexmember.h
2152   tests=lib/getcwd-lgpl.c
2153   tests=lib/getpagesize.c
2154   tests=lib/gl_array_list.c
2155   tests=lib/gl_array_list.h
2156   tests=lib/gl_array_oset.c
2157   tests=lib/gl_array_oset.h
2158   tests=lib/inttypes.in.h
2159   tests=lib/isblank.c
2160   tests=lib/link.c
2161   tests=lib/localename.c
2162   tests=lib/localename.h
2163   tests=lib/opendir.c
2164   tests=lib/putenv.c
2165   tests=lib/readdir.c
2166   tests=lib/setenv.c
2167   tests=lib/setlocale.c
2168   tests=lib/sleep.c
2169   tests=lib/stdalign.in.h
2170   tests=lib/strdup.c
2171   tests=lib/symlink.c
2172   tests=lib/unsetenv.c
2173   tests=lib/wctob.c
2174   tests=lib/wctomb-impl.h
2175   tests=lib/wctomb.c
2176   tests=lib/write.c
2177   top/GNUmakefile
2178   top/maint.mk
2179 ])