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