]> Savannah Git Hosting - gnulib/maint-tools.git/blob
e8cbcae658c5914c510b9eaf819bf13ff89f86b0
[gnulib/maint-tools.git] /
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2024 Free Software Foundation, Inc.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <https://www.gnu.org/licenses/>.
17 #
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
22 #
23 # Generated by gnulib-tool.
24 # Reproduce by:
25 # gnulib-tool --import \
26 #  --local-dir=gnulib-local \
27 #  --lib=libgnu \
28 #  --source-base=gnulib-lib \
29 #  --m4-base=gnulib-m4 \
30 #  --doc-base=doc \
31 #  --tests-base=tests \
32 #  --aux-dir=../../build-aux \
33 #  --lgpl=2 \
34 #  --no-conditional-dependencies \
35 #  --libtool \
36 #  --macro-prefix=gl \
37 #  alloca \
38 #  manywarnings \
39 #  vasnprintf
40
41 AUTOMAKE_OPTIONS = 1.14 gnits
42
43 SUBDIRS =
44 noinst_HEADERS =
45 noinst_LIBRARIES =
46 noinst_LTLIBRARIES =
47 pkgdata_DATA =
48 EXTRA_DIST =
49 BUILT_SOURCES =
50 SUFFIXES =
51 MOSTLYCLEANFILES = core *.stackdump
52 MOSTLYCLEANDIRS =
53 CLEANFILES =
54 DISTCLEANFILES =
55 MAINTAINERCLEANFILES =
56 # No GNU Make output.
57
58 AM_CPPFLAGS =
59 AM_CFLAGS =
60
61 noinst_LTLIBRARIES += libgnu.la
62
63 libgnu_la_SOURCES =
64 libgnu_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS)
65 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
66 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
67 EXTRA_libgnu_la_SOURCES =
68 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
69 libgnu_la_LDFLAGS += -no-undefined
70
71 ## begin gnulib module absolute-header
72
73 # Use this preprocessor expression to decide whether #include_next works.
74 # Do not rely on a 'configure'-time test for this, since the expression
75 # might appear in an installed header, which is used by some other compiler.
76 HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
77
78 ## end   gnulib module absolute-header
79
80 ## begin gnulib module alloca
81
82
83 libgnu_la_LIBADD += @LTALLOCA@
84 libgnu_la_DEPENDENCIES += @LTALLOCA@
85 EXTRA_DIST += alloca.c
86
87 EXTRA_libgnu_la_SOURCES += alloca.c
88
89 ## end   gnulib module alloca
90
91 ## begin gnulib module alloca-opt
92
93 BUILT_SOURCES += $(ALLOCA_H)
94
95 # We need the following in order to create <alloca.h> when the system
96 # doesn't have one that works with the given compiler.
97 if GL_GENERATE_ALLOCA_H
98 alloca.h: alloca.in.h $(top_builddir)/config.status
99         $(gl_V_at)$(SED_HEADER_STDOUT) \
100           -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
101           $(srcdir)/alloca.in.h > $@-t
102         $(AM_V_at)mv $@-t $@
103 else
104 alloca.h: $(top_builddir)/config.status
105         rm -f $@
106 endif
107 MOSTLYCLEANFILES += alloca.h alloca.h-t
108
109 EXTRA_DIST += alloca.in.h
110
111 ## end   gnulib module alloca-opt
112
113 ## begin gnulib module assert-h
114
115 BUILT_SOURCES += $(ASSERT_H)
116
117 # We need the following in order to create <assert.h> when the system
118 # doesn't have one that works with the given compiler.
119 if GL_GENERATE_ASSERT_H
120 assert.h: assert.in.h verify.h $(top_builddir)/config.status
121         $(gl_V_at){ $(SED_HEADER_STDOUT) \
122               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
123               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
124               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
125               -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \
126               < $(srcdir)/assert.in.h && \
127           sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \
128               -e 's|_gl_verify|_gl_static_assert|g' \
129               -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \
130               -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \
131               < $(srcdir)/verify.h; \
132         } > $@-t
133         $(AM_V_at)mv $@-t $@
134 else
135 assert.h: $(top_builddir)/config.status
136         rm -f $@
137 endif
138 MOSTLYCLEANFILES += assert.h assert.h-t
139
140 EXTRA_DIST += assert.in.h verify.h
141
142 ## end   gnulib module assert-h
143
144 ## begin gnulib module attribute
145
146
147 EXTRA_DIST += attribute.h
148
149 ## end   gnulib module attribute
150
151 ## begin gnulib module errno
152
153 BUILT_SOURCES += $(ERRNO_H)
154
155 # We need the following in order to create <errno.h> when the system
156 # doesn't have one that is POSIX compliant.
157 if GL_GENERATE_ERRNO_H
158 errno.h: errno.in.h $(top_builddir)/config.status
159         $(gl_V_at)$(SED_HEADER_STDOUT) \
160               -e 's|@''GUARD_PREFIX''@|GL|g' \
161               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
162               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
163               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
164               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
165               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
166               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
167               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
168               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
169               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
170               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
171               $(srcdir)/errno.in.h > $@-t
172         $(AM_V_at)mv $@-t $@
173 else
174 errno.h: $(top_builddir)/config.status
175         rm -f $@
176 endif
177 MOSTLYCLEANFILES += errno.h errno.h-t
178
179 EXTRA_DIST += errno.in.h
180
181 ## end   gnulib module errno
182
183 ## begin gnulib module float
184
185 BUILT_SOURCES += $(FLOAT_H)
186
187 # We need the following in order to create <float.h> when the system
188 # doesn't have one that works with the given compiler.
189 if GL_GENERATE_FLOAT_H
190 float.h: float.in.h $(top_builddir)/config.status
191         $(gl_V_at)$(SED_HEADER_STDOUT) \
192               -e 's|@''GUARD_PREFIX''@|GL|g' \
193               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
194               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
195               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
196               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
197               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
198               $(srcdir)/float.in.h > $@-t
199         $(AM_V_at)mv $@-t $@
200 else
201 float.h: $(top_builddir)/config.status
202         rm -f $@
203 endif
204 MOSTLYCLEANFILES += float.h float.h-t
205
206 if GL_COND_OBJ_FLOAT
207 libgnu_la_SOURCES += float.c
208 endif
209 if GL_COND_OBJ_ITOLD
210 libgnu_la_SOURCES += itold.c
211 endif
212
213 EXTRA_DIST += float.in.h
214
215 ## end   gnulib module float
216
217 ## begin gnulib module free-posix
218
219 if GL_COND_OBJ_FREE
220 libgnu_la_SOURCES += free.c
221 endif
222
223 ## end   gnulib module free-posix
224
225 ## begin gnulib module gen-header
226
227 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
228 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
229
230 # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
231 SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
232
233 # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
234 # "DO_NOT_EDIT".  Although this could be done more simply via:
235 #       SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
236 # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
237 SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
238
239 # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
240 # is its recipe's first line if and only if @NMD@ lines are absent.
241 gl_V_at = $(AM_V_GEN)
242
243 ## end   gnulib module gen-header
244
245 ## begin gnulib module inttypes-incomplete
246
247 BUILT_SOURCES += inttypes.h
248
249 # We need the following in order to create <inttypes.h> when the system
250 # doesn't have one that works with the given compiler.
251 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
252         $(gl_V_at)$(SED_HEADER_STDOUT) \
253               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
254               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
255               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
256               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
257               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
258               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
259               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
260               -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \
261               -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \
262               -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \
263               -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \
264               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
265               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
266               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
267               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
268               -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
269               -e 's/@''REPLACE_IMAXABS''@/$(REPLACE_IMAXABS)/g' \
270               -e 's/@''REPLACE_IMAXDIV''@/$(REPLACE_IMAXDIV)/g' \
271               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
272               -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
273               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
274               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
275               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
276               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
277               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
278               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
279               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
280               $(srcdir)/inttypes.in.h > $@-t
281         $(AM_V_at)mv $@-t $@
282 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
283
284 EXTRA_DIST += inttypes.in.h
285
286 ## end   gnulib module inttypes-incomplete
287
288 ## begin gnulib module limits-h
289
290 BUILT_SOURCES += $(LIMITS_H)
291
292 # We need the following in order to create <limits.h> when the system
293 # doesn't have one that is compatible with GNU.
294 if GL_GENERATE_LIMITS_H
295 limits.h: limits.in.h $(top_builddir)/config.status
296         $(gl_V_at)$(SED_HEADER_STDOUT) \
297               -e 's|@''GUARD_PREFIX''@|GL|g' \
298               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
299               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
300               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
301               -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
302               $(srcdir)/limits.in.h > $@-t
303         $(AM_V_at)mv $@-t $@
304 else
305 limits.h: $(top_builddir)/config.status
306         rm -f $@
307 endif
308 MOSTLYCLEANFILES += limits.h limits.h-t
309
310 EXTRA_DIST += limits.in.h
311
312 ## end   gnulib module limits-h
313
314 ## begin gnulib module mbszero
315
316 libgnu_la_SOURCES += mbszero.c
317
318 ## end   gnulib module mbszero
319
320 ## begin gnulib module memchr
321
322 if GL_COND_OBJ_MEMCHR
323 libgnu_la_SOURCES += memchr.c
324 endif
325
326 EXTRA_DIST += memchr.valgrind
327
328 ## end   gnulib module memchr
329
330 ## begin gnulib module size_max
331
332 libgnu_la_SOURCES += size_max.h
333
334 ## end   gnulib module size_max
335
336 ## begin gnulib module snippet/_Noreturn
337
338 # Because this Makefile snippet defines a variable used by other
339 # gnulib Makefile snippets, it must be present in all makefiles that
340 # need it. This is ensured by the applicability 'all' defined above.
341
342 _NORETURN_H=$(srcdir)/_Noreturn.h
343
344 EXTRA_DIST += _Noreturn.h
345
346 ## end   gnulib module snippet/_Noreturn
347
348 ## begin gnulib module snippet/arg-nonnull
349
350 # Because this Makefile snippet defines a variable used by other
351 # gnulib Makefile snippets, it must be present in all makefiles that
352 # need it. This is ensured by the applicability 'all' defined above.
353
354 ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
355
356 EXTRA_DIST += arg-nonnull.h
357
358 ## end   gnulib module snippet/arg-nonnull
359
360 ## begin gnulib module snippet/c++defs
361
362 # Because this Makefile snippet defines a variable used by other
363 # gnulib Makefile snippets, it must be present in all makefiles that
364 # need it. This is ensured by the applicability 'all' defined above.
365
366 CXXDEFS_H=$(srcdir)/c++defs.h
367
368 EXTRA_DIST += c++defs.h
369
370 ## end   gnulib module snippet/c++defs
371
372 ## begin gnulib module snippet/warn-on-use
373
374 # Because this Makefile snippet defines a variable used by other
375 # gnulib Makefile snippets, it must be present in all makefiles that
376 # need it. This is ensured by the applicability 'all' defined above.
377
378 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
379
380 EXTRA_DIST += warn-on-use.h
381
382 ## end   gnulib module snippet/warn-on-use
383
384 ## begin gnulib module stddef
385
386 BUILT_SOURCES += $(STDDEF_H)
387
388 # We need the following in order to create <stddef.h> when the system
389 # doesn't have one that works with the given compiler.
390 if GL_GENERATE_STDDEF_H
391 stddef.h: stddef.in.h $(top_builddir)/config.status
392         $(gl_V_at)$(SED_HEADER_STDOUT) \
393               -e 's|@''GUARD_PREFIX''@|GL|g' \
394               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
395               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
396               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
397               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
398               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
399               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
400               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
401               $(srcdir)/stddef.in.h > $@-t
402         $(AM_V_at)mv $@-t $@
403 else
404 stddef.h: $(top_builddir)/config.status
405         rm -f $@
406 endif
407 MOSTLYCLEANFILES += stddef.h stddef.h-t
408
409 EXTRA_DIST += stddef.in.h
410
411 ## end   gnulib module stddef
412
413 ## begin gnulib module stdint
414
415 BUILT_SOURCES += $(STDINT_H)
416
417 # We need the following in order to create <stdint.h> when the system
418 # doesn't have one that works with the given compiler.
419 if GL_GENERATE_STDINT_H
420 stdint.h: stdint.in.h $(top_builddir)/config.status
421         $(gl_V_at)$(SED_HEADER_STDOUT) \
422               -e 's|@''GUARD_PREFIX''@|GL|g' \
423               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
424               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
425               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
426               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
427               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
428               -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
429               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
430               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
431               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
432               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
433               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
434               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
435               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
436               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
437               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
438               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
439               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
440               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
441               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
442               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
443               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
444               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
445               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
446               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
447               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
448               -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
449               $(srcdir)/stdint.in.h > $@-t
450         $(AM_V_at)mv $@-t $@
451 else
452 stdint.h: $(top_builddir)/config.status
453         rm -f $@
454 endif
455 MOSTLYCLEANFILES += stdint.h stdint.h-t
456
457 EXTRA_DIST += stdint.in.h
458
459 ## end   gnulib module stdint
460
461 ## begin gnulib module stdio
462
463 BUILT_SOURCES += stdio.h
464
465 # We need the following in order to create <stdio.h> when the system
466 # doesn't have one that works with the given compiler.
467 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
468         $(gl_V_at)$(SED_HEADER_STDOUT) \
469               -e 's|@''GUARD_PREFIX''@|GL|g' \
470               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
471               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
472               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
473               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
474               -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \
475               -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \
476               -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \
477               -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \
478               -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \
479               -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \
480               -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \
481               -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \
482               -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \
483               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \
484               -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \
485               -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \
486               -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \
487               -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \
488               -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \
489               -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \
490               -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \
491               -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \
492               -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \
493               -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \
494               -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \
495               -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \
496               -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \
497               -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \
498               -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \
499               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \
500               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \
501               -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \
502               -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \
503               -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \
504               -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \
505               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \
506               -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \
507               -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \
508               -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \
509               -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \
510               -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \
511               -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \
512               -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \
513               -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \
514               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \
515               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \
516               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \
517               -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \
518               -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \
519               -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \
520               -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \
521               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \
522               -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \
523               -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \
524               -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \
525               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \
526               -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \
527               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \
528               -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \
529               -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \
530               -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \
531               -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \
532               -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \
533               -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \
534               < $(srcdir)/stdio.in.h > $@-t1
535         $(AM_V_at)sed \
536               -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
537               -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
538               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
539               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
540               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
541               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
542               -e 's|@''HAVE_DECL_GETW''@|$(HAVE_DECL_GETW)|g' \
543               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
544               -e 's|@''HAVE_DECL_PUTW''@|$(HAVE_DECL_PUTW)|g' \
545               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
546               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
547               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
548               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
549               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
550               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
551               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
552               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
553               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
554               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
555               < $@-t1 > $@-t2
556         $(AM_V_at)sed \
557               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
558               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
559               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
560               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
561               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
562               -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
563               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
564               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
565               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
566               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
567               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
568               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
569               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
570               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
571               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
572               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
573               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
574               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
575               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
576               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
577               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
578               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
579               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
580               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
581               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
582               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
583               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
584               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
585               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
586               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
587               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
588               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
589               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
590               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
591               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
592               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
593               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
594               < $@-t2 > $@-t3
595         $(AM_V_at)rm -f $@-t1 $@-t2
596         $(AM_V_at)mv $@-t3 $@
597 MOSTLYCLEANFILES += stdio.h stdio.h-t1 stdio.h-t2 stdio.h-t3
598
599 if GL_COND_OBJ_STDIO_READ
600 libgnu_la_SOURCES += stdio-read.c
601 endif
602 if GL_COND_OBJ_STDIO_WRITE
603 libgnu_la_SOURCES += stdio-write.c
604 endif
605
606 EXTRA_DIST += stdio.in.h
607
608 ## end   gnulib module stdio
609
610 ## begin gnulib module stdlib
611
612 BUILT_SOURCES += stdlib.h
613
614 # We need the following in order to create <stdlib.h> when the system
615 # doesn't have one that works with the given compiler.
616 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
617   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
618         $(gl_V_at)$(SED_HEADER_STDOUT) \
619               -e 's|@''GUARD_PREFIX''@|GL|g' \
620               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
621               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
622               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
623               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
624               -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \
625               -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \
626               -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \
627               -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \
628               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \
629               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \
630               -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
631               -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \
632               -e 's/@''GNULIB_GETPROGNAME''@/$(GL_GNULIB_GETPROGNAME)/g' \
633               -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \
634               -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \
635               -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \
636               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \
637               -e 's/@''GNULIB_MBSTOWCS''@/$(GL_GNULIB_MBSTOWCS)/g' \
638               -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \
639               -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \
640               -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \
641               -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \
642               -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \
643               -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \
644               -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \
645               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \
646               -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \
647               -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \
648               -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \
649               -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \
650               -e 's/@''GNULIB_RAND''@/$(GL_GNULIB_RAND)/g' \
651               -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \
652               -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \
653               -e 's/@''GNULIB_REALLOC_GNU''@/$(GL_GNULIB_REALLOC_GNU)/g' \
654               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \
655               -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \
656               -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \
657               -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \
658               -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \
659               -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \
660               -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \
661               -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \
662               -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \
663               -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \
664               -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \
665               -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \
666               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \
667               -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \
668               -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \
669               -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \
670               -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \
671               -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \
672               -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \
673               -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \
674               -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \
675               < $(srcdir)/stdlib.in.h > $@-t1
676         $(AM_V_at)sed \
677               -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
678               -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
679               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
680               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
681               -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
682               -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
683               -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
684               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
685               -e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|$(HAVE_DECL_PROGRAM_INVOCATION_NAME)|g' \
686               -e 's|@''HAVE_GETPROGNAME''@|$(HAVE_GETPROGNAME)|g' \
687               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
688               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
689               -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
690               -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
691               -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
692               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
693               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
694               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
695               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
696               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
697               -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
698               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
699               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
700               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
701               -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
702               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
703               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
704               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
705               -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
706               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
707               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
708               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
709               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
710               -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
711               -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
712               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
713               -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
714               -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
715               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
716               -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
717               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
718               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
719               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
720               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
721               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
722               < $@-t1 > $@-t2
723         $(AM_V_at)sed \
724               -e 's|@''REPLACE__EXIT''@|$(REPLACE__EXIT)|g' \
725               -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
726               -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
727               -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
728               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
729               -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
730               -e 's|@''REPLACE_GETLOADAVG''@|$(REPLACE_GETLOADAVG)|g' \
731               -e 's|@''REPLACE_GETPROGNAME''@|$(REPLACE_GETPROGNAME)|g' \
732               -e 's|@''REPLACE_GETSUBOPT''@|$(REPLACE_GETSUBOPT)|g' \
733               -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
734               -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
735               -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
736               -e 's|@''REPLACE_MB_CUR_MAX''@|$(REPLACE_MB_CUR_MAX)|g' \
737               -e 's|@''REPLACE_MBSTOWCS''@|$(REPLACE_MBSTOWCS)|g' \
738               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
739               -e 's|@''REPLACE_MKOSTEMP''@|$(REPLACE_MKOSTEMP)|g' \
740               -e 's|@''REPLACE_MKOSTEMPS''@|$(REPLACE_MKOSTEMPS)|g' \
741               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
742               -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
743               -e 's|@''REPLACE_POSIX_OPENPT''@|$(REPLACE_POSIX_OPENPT)|g' \
744               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
745               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
746               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
747               -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
748               -e 's|@''REPLACE_RAND''@|$(REPLACE_RAND)|g' \
749               -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
750               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
751               -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|$(REPLACE_REALLOC_FOR_REALLOC_GNU)|g' \
752               -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
753               -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
754               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
755               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
756               -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
757               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
758               -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
759               -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
760               -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
761               -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
762               -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
763               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
764               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
765               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
766               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
767               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
768               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
769               < $@-t2 > $@-t3
770         $(AM_V_at)rm -f $@-t1 $@-t2
771         $(AM_V_at)mv $@-t3 $@
772 MOSTLYCLEANFILES += stdlib.h stdlib.h-t1 stdlib.h-t2 stdlib.h-t3
773
774 EXTRA_DIST += stdlib.in.h
775
776 ## end   gnulib module stdlib
777
778 ## begin gnulib module string
779
780 BUILT_SOURCES += string.h
781
782 # We need the following in order to create <string.h> when the system
783 # doesn't have one that works with the given compiler.
784 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
785         $(gl_V_at)$(SED_HEADER_STDOUT) \
786               -e 's|@''GUARD_PREFIX''@|GL|g' \
787               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
788               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
789               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
790               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
791               -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \
792               -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \
793               -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \
794               -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \
795               -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \
796               -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \
797               -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \
798               -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \
799               -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \
800               -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \
801               -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \
802               -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \
803               -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \
804               -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \
805               -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \
806               -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \
807               -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \
808               -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \
809               -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \
810               -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \
811               -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \
812               -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \
813               -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \
814               -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \
815               -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \
816               -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \
817               -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \
818               -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \
819               -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \
820               -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \
821               -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \
822               -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \
823               -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \
824               -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \
825               -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \
826               -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \
827               -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \
828               -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \
829               -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \
830               -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \
831               -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \
832               -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \
833               -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \
834               -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \
835               -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
836               < $(srcdir)/string.in.h > $@-t1
837         $(AM_V_at)sed \
838               -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
839               -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
840               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
841               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
842               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
843               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
844               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
845               -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \
846               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
847               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
848               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
849               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
850               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
851               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
852               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
853               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
854               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
855               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
856               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
857               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
858               -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \
859               -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \
860               -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
861               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
862               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
863               -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
864               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
865               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
866               -e 's|@''REPLACE_MEMPCPY''@|$(REPLACE_MEMPCPY)|g' \
867               -e 's|@''REPLACE_MEMSET_EXPLICIT''@|$(REPLACE_MEMSET_EXPLICIT)|g' \
868               -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
869               -e 's|@''REPLACE_STPCPY''@|$(REPLACE_STPCPY)|g' \
870               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
871               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
872               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
873               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
874               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
875               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
876               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
877               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
878               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
879               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
880               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
881               -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \
882               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
883               -e 's|@''REPLACE_STRVERSCMP''@|$(REPLACE_STRVERSCMP)|g' \
884               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
885               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
886               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
887               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
888               < $@-t1 > $@-t2
889         $(AM_V_at)rm -f $@-t1
890         $(AM_V_at)mv $@-t2 $@
891 MOSTLYCLEANFILES += string.h string.h-t1 string.h-t2
892
893 EXTRA_DIST += string.in.h
894
895 ## end   gnulib module string
896
897 ## begin gnulib module sys_types
898
899 BUILT_SOURCES += sys/types.h
900
901 # We need the following in order to create <sys/types.h> when the system
902 # doesn't have one that works with the given compiler.
903 sys/types.h: sys_types.in.h $(top_builddir)/config.status
904         $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
905         $(AM_V_at)$(SED_HEADER_STDOUT) \
906               -e 's|@''GUARD_PREFIX''@|GL|g' \
907               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
908               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
909               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
910               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
911               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
912               -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
913               $(srcdir)/sys_types.in.h > $@-t
914         $(AM_V_at)mv $@-t $@
915 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
916
917 EXTRA_DIST += sys_types.in.h
918
919 ## end   gnulib module sys_types
920
921 ## begin gnulib module unistd
922
923 BUILT_SOURCES += unistd.h
924 libgnu_la_SOURCES += unistd.c
925
926 # We need the following in order to create an empty placeholder for
927 # <unistd.h> when the system doesn't have one.
928 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
929         $(gl_V_at)$(SED_HEADER_STDOUT) \
930               -e 's|@''GUARD_PREFIX''@|GL|g' \
931               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
932               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
933               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
934               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
935               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
936               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
937               -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \
938               -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \
939               -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \
940               -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
941               -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \
942               -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \
943               -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \
944               -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \
945               -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \
946               -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \
947               -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \
948               -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \
949               -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \
950               -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \
951               -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \
952               -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \
953               -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \
954               -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \
955               -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \
956               -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \
957               -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \
958               -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \
959               -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \
960               < $(srcdir)/unistd.in.h > $@-t1
961         $(AM_V_at)sed \
962               -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \
963               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \
964               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \
965               -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \
966               -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \
967               -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \
968               -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \
969               -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \
970               -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \
971               -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \
972               -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \
973               -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \
974               -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \
975               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \
976               -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \
977               -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \
978               -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \
979               -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \
980               -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \
981               -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \
982               -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \
983               -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \
984               -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \
985               -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \
986               -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \
987               -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \
988               -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \
989               -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \
990               -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \
991               -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \
992               -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \
993               -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \
994               -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \
995               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \
996               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \
997               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \
998               -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \
999               -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \
1000               -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \
1001               -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \
1002               -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \
1003               -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \
1004               -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \
1005               -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \
1006               -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \
1007               -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \
1008               -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \
1009               -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \
1010               -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \
1011               -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \
1012               -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \
1013               -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \
1014               -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \
1015               -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \
1016               -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \
1017               -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \
1018               -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \
1019               -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \
1020               -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \
1021               -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \
1022               -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \
1023               < $@-t1 > $@-t2
1024         $(AM_V_at)sed \
1025               -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1026               -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
1027               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1028               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1029               -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \
1030               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1031               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1032               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1033               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1034               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1035               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1036               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1037               -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \
1038               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1039               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1040               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1041               -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
1042               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1043               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1044               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1045               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1046               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1047               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1048               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1049               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1050               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1051               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1052               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1053               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1054               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1055               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1056               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1057               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1058               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1059               -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \
1060               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1061               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1062               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1063               -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
1064               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1065               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1066               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1067               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1068               -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
1069               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1070               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1071               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1072               < $@-t2 > $@-t3
1073         $(AM_V_at)sed \
1074               -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
1075               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1076               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1077               -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \
1078               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1079               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1080               -e 's|@''REPLACE_DUP3''@|$(REPLACE_DUP3)|g' \
1081               -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \
1082               -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \
1083               -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \
1084               -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \
1085               -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \
1086               -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \
1087               -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \
1088               -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
1089               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
1090               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1091               -e 's|@''REPLACE_FDATASYNC''@|$(REPLACE_FDATASYNC)|g' \
1092               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1093               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1094               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1095               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1096               -e 's|@''REPLACE_GETENTROPY''@|$(REPLACE_GETENTROPY)|g' \
1097               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1098               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1099               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1100               -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
1101               -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \
1102               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1103               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1104               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1105               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1106               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1107               -e 's|@''REPLACE_PIPE2''@|$(REPLACE_PIPE2)|g' \
1108               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1109               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1110               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1111               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1112               -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1113               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1114               -e 's|@''REPLACE_SETHOSTNAME''@|$(REPLACE_SETHOSTNAME)|g' \
1115               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1116               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1117               -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1118               -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
1119               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1120               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1121               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1122               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1123               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1124               -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \
1125               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1126               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1127               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1128               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1129               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1130               < $@-t3 > $@-t4
1131         $(AM_V_at)rm -f $@-t1 $@-t2 $@-t3
1132         $(AM_V_at)mv $@-t4 $@
1133 MOSTLYCLEANFILES += unistd.h unistd.h-t1 unistd.h-t2 unistd.h-t3 unistd.h-t4
1134
1135 EXTRA_DIST += unistd.in.h
1136
1137 ## end   gnulib module unistd
1138
1139 ## begin gnulib module vasnprintf
1140
1141
1142 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1143
1144 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1145
1146 ## end   gnulib module vasnprintf
1147
1148 ## begin gnulib module wchar
1149
1150 BUILT_SOURCES += wchar.h
1151
1152 # We need the following in order to create <wchar.h> when the system
1153 # version does not work standalone.
1154 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1155         $(gl_V_at)$(SED_HEADER_STDOUT) \
1156               -e 's|@''GUARD_PREFIX''@|GL|g' \
1157               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1158               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1159               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1160               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1161               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1162               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1163               -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
1164               -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
1165               -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \
1166               -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \
1167               -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \
1168               -e 's/@''GNULIB_MBSZERO''@/$(GL_GNULIB_MBSZERO)/g' \
1169               -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \
1170               -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \
1171               -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \
1172               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \
1173               -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \
1174               -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \
1175               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \
1176               -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \
1177               -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \
1178               -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \
1179               -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \
1180               -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \
1181               -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \
1182               -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \
1183               -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \
1184               -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \
1185               -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \
1186               -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \
1187               -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \
1188               -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \
1189               -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \
1190               -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \
1191               -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \
1192               -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \
1193               -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \
1194               -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \
1195               -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \
1196               -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \
1197               -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \
1198               -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \
1199               -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \
1200               -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \
1201               -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \
1202               -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \
1203               -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \
1204               -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \
1205               -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \
1206               -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \
1207               -e 's/@''GNULIB_WGETCWD''@/$(GL_GNULIB_WGETCWD)/g' \
1208               -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \
1209               -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1210               < $(srcdir)/wchar.in.h > $@-t1
1211         $(AM_V_at)sed \
1212               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1213               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1214               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1215               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1216               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1217               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1218               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1219               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1220               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1221               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1222               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1223               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1224               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1225               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1226               -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \
1227               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1228               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1229               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1230               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1231               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1232               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1233               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1234               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1235               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1236               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1237               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1238               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1239               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1240               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1241               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1242               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1243               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1244               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1245               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1246               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1247               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1248               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1249               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1250               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1251               -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \
1252               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1253               -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \
1254               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1255               < $@-t1 > $@-t2
1256         $(AM_V_at)sed \
1257               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1258               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1259               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1260               -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
1261               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1262               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1263               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1264               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1265               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1266               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1267               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1268               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1269               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1270               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1271               -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \
1272               -e 's|@''REPLACE_WCSCMP''@|$(REPLACE_WCSCMP)|g' \
1273               -e 's|@''REPLACE_WCSNCMP''@|$(REPLACE_WCSNCMP)|g' \
1274               -e 's|@''REPLACE_WCSSTR''@|$(REPLACE_WCSSTR)|g' \
1275               -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
1276               -e 's|@''REPLACE_WMEMCMP''@|$(REPLACE_WMEMCMP)|g' \
1277               -e 's|@''REPLACE_WMEMPCPY''@|$(REPLACE_WMEMPCPY)|g' \
1278               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1279               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1280               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1281               < $@-t2 > $@-t3
1282         $(AM_V_at)rm -f $@-t1 $@-t2
1283         $(AM_V_at)mv $@-t3 $@
1284 MOSTLYCLEANFILES += wchar.h wchar.h-t1 wchar.h-t2 wchar.h-t3
1285
1286 EXTRA_DIST += wchar.in.h
1287
1288 ## end   gnulib module wchar
1289
1290 ## begin gnulib module xsize
1291
1292 libgnu_la_SOURCES += xsize.h xsize.c
1293
1294 ## end   gnulib module xsize
1295
1296
1297 mostlyclean-local: mostlyclean-generic
1298         @for dir in '' $(MOSTLYCLEANDIRS); do \
1299           if test -n "$$dir" && test -d $$dir; then \
1300             echo "rmdir $$dir"; rmdir $$dir; \
1301           fi; \
1302         done; \
1303         :
1304 distclean-local: distclean-gnulib-libobjs
1305 distclean-gnulib-libobjs:
1306         -rm -f @gl_LIBOBJDEPS@
1307 maintainer-clean-local: distclean-gnulib-libobjs