Imported Upstream version 1.2.2
[platform/upstream/libpipeline.git] / gnulib / lib / Makefile.am
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2012 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 <http://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: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --tests-base=tests --aux-dir=tools --no-conditional-dependencies --libtool --macro-prefix=gl dirname error full-write lib-ignore safe-read safe-write setenv sigaction signal sigprocmask strerror strsignal sys_select sys_stat unsetenv waitpid xalloc xstrndup xvasprintf
25
26 AUTOMAKE_OPTIONS = 1.5 gnits subdir-objects
27
28 SUBDIRS =
29 noinst_HEADERS =
30 noinst_LIBRARIES =
31 noinst_LTLIBRARIES =
32 EXTRA_DIST =
33 BUILT_SOURCES =
34 SUFFIXES =
35 MOSTLYCLEANFILES = core *.stackdump
36 MOSTLYCLEANDIRS =
37 CLEANFILES =
38 DISTCLEANFILES =
39 MAINTAINERCLEANFILES =
40
41 AM_CPPFLAGS =
42 AM_CFLAGS =
43
44 noinst_LTLIBRARIES += libgnu.la
45
46 libgnu_la_SOURCES =
47 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
48 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
49 EXTRA_libgnu_la_SOURCES =
50 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
51 libgnu_la_LDFLAGS += -no-undefined
52 libgnu_la_LDFLAGS += $(LTLIBINTL)
53 libgnu_la_LDFLAGS += $(LTLIBTHREAD)
54
55 ## begin gnulib module alloca-opt
56
57 BUILT_SOURCES += $(ALLOCA_H)
58
59 # We need the following in order to create <alloca.h> when the system
60 # doesn't have one that works with the given compiler.
61 if GL_GENERATE_ALLOCA_H
62 alloca.h: alloca.in.h $(top_builddir)/config.status
63         $(AM_V_GEN)rm -f $@-t $@ && \
64         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
65           cat $(srcdir)/alloca.in.h; \
66         } > $@-t && \
67         mv -f $@-t $@
68 else
69 alloca.h: $(top_builddir)/config.status
70         rm -f $@
71 endif
72 MOSTLYCLEANFILES += alloca.h alloca.h-t
73
74 EXTRA_DIST += alloca.in.h
75
76 ## end   gnulib module alloca-opt
77
78 ## begin gnulib module dirname
79
80 libgnu_la_SOURCES += dirname.c basename.c
81
82 EXTRA_DIST += stripslash.c
83
84 EXTRA_libgnu_la_SOURCES += stripslash.c
85
86 ## end   gnulib module dirname
87
88 ## begin gnulib module dirname-lgpl
89
90 libgnu_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
91
92 EXTRA_DIST += dirname.h
93
94 ## end   gnulib module dirname-lgpl
95
96 ## begin gnulib module dosname
97
98
99 EXTRA_DIST += dosname.h
100
101 ## end   gnulib module dosname
102
103 ## begin gnulib module errno
104
105 BUILT_SOURCES += $(ERRNO_H)
106
107 # We need the following in order to create <errno.h> when the system
108 # doesn't have one that is POSIX compliant.
109 if GL_GENERATE_ERRNO_H
110 errno.h: errno.in.h $(top_builddir)/config.status
111         $(AM_V_GEN)rm -f $@-t $@ && \
112         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
113           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
114               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
115               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
116               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
117               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
118               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
119               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
120               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
121               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
122               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
123               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
124               < $(srcdir)/errno.in.h; \
125         } > $@-t && \
126         mv $@-t $@
127 else
128 errno.h: $(top_builddir)/config.status
129         rm -f $@
130 endif
131 MOSTLYCLEANFILES += errno.h errno.h-t
132
133 EXTRA_DIST += errno.in.h
134
135 ## end   gnulib module errno
136
137 ## begin gnulib module error
138
139
140 EXTRA_DIST += error.c error.h
141
142 EXTRA_libgnu_la_SOURCES += error.c
143
144 ## end   gnulib module error
145
146 ## begin gnulib module exitfail
147
148 libgnu_la_SOURCES += exitfail.c
149
150 EXTRA_DIST += exitfail.h
151
152 ## end   gnulib module exitfail
153
154 ## begin gnulib module float
155
156 BUILT_SOURCES += $(FLOAT_H)
157
158 # We need the following in order to create <float.h> when the system
159 # doesn't have one that works with the given compiler.
160 if GL_GENERATE_FLOAT_H
161 float.h: float.in.h $(top_builddir)/config.status
162         $(AM_V_GEN)rm -f $@-t $@ && \
163         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
164           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
165               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
166               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
167               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
168               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
169               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
170               < $(srcdir)/float.in.h; \
171         } > $@-t && \
172         mv $@-t $@
173 else
174 float.h: $(top_builddir)/config.status
175         rm -f $@
176 endif
177 MOSTLYCLEANFILES += float.h float.h-t
178
179 EXTRA_DIST += float.c float.in.h itold.c
180
181 EXTRA_libgnu_la_SOURCES += float.c itold.c
182
183 ## end   gnulib module float
184
185 ## begin gnulib module full-write
186
187 libgnu_la_SOURCES += full-write.h full-write.c
188
189 ## end   gnulib module full-write
190
191 ## begin gnulib module gettext-h
192
193 libgnu_la_SOURCES += gettext.h
194
195 ## end   gnulib module gettext-h
196
197 ## begin gnulib module havelib
198
199
200 EXTRA_DIST += $(top_srcdir)/tools/config.rpath
201
202 ## end   gnulib module havelib
203
204 ## begin gnulib module intprops
205
206
207 EXTRA_DIST += intprops.h
208
209 ## end   gnulib module intprops
210
211 ## begin gnulib module lock
212
213 libgnu_la_SOURCES += glthread/lock.h glthread/lock.c
214
215 ## end   gnulib module lock
216
217 ## begin gnulib module malloc-posix
218
219
220 EXTRA_DIST += malloc.c
221
222 EXTRA_libgnu_la_SOURCES += malloc.c
223
224 ## end   gnulib module malloc-posix
225
226 ## begin gnulib module malloca
227
228 libgnu_la_SOURCES += malloca.c
229
230 EXTRA_DIST += malloca.h malloca.valgrind
231
232 ## end   gnulib module malloca
233
234 ## begin gnulib module memchr
235
236
237 EXTRA_DIST += memchr.c memchr.valgrind
238
239 EXTRA_libgnu_la_SOURCES += memchr.c
240
241 ## end   gnulib module memchr
242
243 ## begin gnulib module msvc-inval
244
245
246 EXTRA_DIST += msvc-inval.c msvc-inval.h
247
248 EXTRA_libgnu_la_SOURCES += msvc-inval.c
249
250 ## end   gnulib module msvc-inval
251
252 ## begin gnulib module msvc-nothrow
253
254
255 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
256
257 EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
258
259 ## end   gnulib module msvc-nothrow
260
261 ## begin gnulib module raise
262
263
264 EXTRA_DIST += raise.c
265
266 EXTRA_libgnu_la_SOURCES += raise.c
267
268 ## end   gnulib module raise
269
270 ## begin gnulib module read
271
272
273 EXTRA_DIST += read.c
274
275 EXTRA_libgnu_la_SOURCES += read.c
276
277 ## end   gnulib module read
278
279 ## begin gnulib module safe-read
280
281 libgnu_la_SOURCES += safe-read.c
282
283 EXTRA_DIST += safe-read.h
284
285 ## end   gnulib module safe-read
286
287 ## begin gnulib module safe-write
288
289 libgnu_la_SOURCES += safe-write.c
290
291 EXTRA_DIST += safe-read.c safe-write.h
292
293 EXTRA_libgnu_la_SOURCES += safe-read.c
294
295 ## end   gnulib module safe-write
296
297 ## begin gnulib module setenv
298
299
300 EXTRA_DIST += setenv.c
301
302 EXTRA_libgnu_la_SOURCES += setenv.c
303
304 ## end   gnulib module setenv
305
306 ## begin gnulib module sigaction
307
308
309 EXTRA_DIST += sig-handler.h sigaction.c
310
311 EXTRA_libgnu_la_SOURCES += sigaction.c
312
313 ## end   gnulib module sigaction
314
315 ## begin gnulib module signal-h
316
317 BUILT_SOURCES += signal.h
318
319 # We need the following in order to create <signal.h> when the system
320 # doesn't have a complete one.
321 signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
322         $(AM_V_GEN)rm -f $@-t $@ && \
323         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
324           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
325               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
326               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
327               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
328               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
329               -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \
330               -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \
331               -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \
332               -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \
333               -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \
334               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
335               -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \
336               -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \
337               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
338               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
339               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
340               -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
341               -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
342               -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \
343               -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \
344               -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \
345               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
346               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
347               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
348               < $(srcdir)/signal.in.h; \
349         } > $@-t && \
350         mv $@-t $@
351 MOSTLYCLEANFILES += signal.h signal.h-t
352
353 EXTRA_DIST += signal.in.h
354
355 ## end   gnulib module signal-h
356
357 ## begin gnulib module sigprocmask
358
359
360 EXTRA_DIST += sigprocmask.c
361
362 EXTRA_libgnu_la_SOURCES += sigprocmask.c
363
364 ## end   gnulib module sigprocmask
365
366 ## begin gnulib module size_max
367
368 libgnu_la_SOURCES += size_max.h
369
370 ## end   gnulib module size_max
371
372 ## begin gnulib module snippet/_Noreturn
373
374 # Because this Makefile snippet defines a variable used by other
375 # gnulib Makefile snippets, it must be present in all Makefile.am that
376 # need it. This is ensured by the applicability 'all' defined above.
377
378 _NORETURN_H=$(top_srcdir)/tools/snippet/_Noreturn.h
379
380 EXTRA_DIST += $(top_srcdir)/tools/snippet/_Noreturn.h
381
382 ## end   gnulib module snippet/_Noreturn
383
384 ## begin gnulib module snippet/arg-nonnull
385
386 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
387 # statements but through direct file reference. Therefore this snippet must be
388 # present in all Makefile.am that need it. This is ensured by the applicability
389 # 'all' defined above.
390
391 BUILT_SOURCES += arg-nonnull.h
392 # The arg-nonnull.h that gets inserted into generated .h files is the same as
393 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
394 # off.
395 arg-nonnull.h: $(top_srcdir)/tools/snippet/arg-nonnull.h
396         $(AM_V_GEN)rm -f $@-t $@ && \
397         sed -n -e '/GL_ARG_NONNULL/,$$p' \
398           < $(top_srcdir)/tools/snippet/arg-nonnull.h \
399           > $@-t && \
400         mv $@-t $@
401 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
402
403 ARG_NONNULL_H=arg-nonnull.h
404
405 EXTRA_DIST += $(top_srcdir)/tools/snippet/arg-nonnull.h
406
407 ## end   gnulib module snippet/arg-nonnull
408
409 ## begin gnulib module snippet/c++defs
410
411 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
412 # statements but through direct file reference. Therefore this snippet must be
413 # present in all Makefile.am that need it. This is ensured by the applicability
414 # 'all' defined above.
415
416 BUILT_SOURCES += c++defs.h
417 # The c++defs.h that gets inserted into generated .h files is the same as
418 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
419 c++defs.h: $(top_srcdir)/tools/snippet/c++defs.h
420         $(AM_V_GEN)rm -f $@-t $@ && \
421         sed -n -e '/_GL_CXXDEFS/,$$p' \
422           < $(top_srcdir)/tools/snippet/c++defs.h \
423           > $@-t && \
424         mv $@-t $@
425 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
426
427 CXXDEFS_H=c++defs.h
428
429 EXTRA_DIST += $(top_srcdir)/tools/snippet/c++defs.h
430
431 ## end   gnulib module snippet/c++defs
432
433 ## begin gnulib module snippet/warn-on-use
434
435 BUILT_SOURCES += warn-on-use.h
436 # The warn-on-use.h that gets inserted into generated .h files is the same as
437 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
438 # off.
439 warn-on-use.h: $(top_srcdir)/tools/snippet/warn-on-use.h
440         $(AM_V_GEN)rm -f $@-t $@ && \
441         sed -n -e '/^.ifndef/,$$p' \
442           < $(top_srcdir)/tools/snippet/warn-on-use.h \
443           > $@-t && \
444         mv $@-t $@
445 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
446
447 WARN_ON_USE_H=warn-on-use.h
448
449 EXTRA_DIST += $(top_srcdir)/tools/snippet/warn-on-use.h
450
451 ## end   gnulib module snippet/warn-on-use
452
453 ## begin gnulib module snprintf
454
455
456 EXTRA_DIST += snprintf.c
457
458 EXTRA_libgnu_la_SOURCES += snprintf.c
459
460 ## end   gnulib module snprintf
461
462 ## begin gnulib module stdarg
463
464 BUILT_SOURCES += $(STDARG_H)
465
466 # We need the following in order to create <stdarg.h> when the system
467 # doesn't have one that works with the given compiler.
468 if GL_GENERATE_STDARG_H
469 stdarg.h: stdarg.in.h $(top_builddir)/config.status
470         $(AM_V_GEN)rm -f $@-t $@ && \
471         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
472           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
473               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
474               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
475               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
476               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
477               < $(srcdir)/stdarg.in.h; \
478         } > $@-t && \
479         mv $@-t $@
480 else
481 stdarg.h: $(top_builddir)/config.status
482         rm -f $@
483 endif
484 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
485
486 EXTRA_DIST += stdarg.in.h
487
488 ## end   gnulib module stdarg
489
490 ## begin gnulib module stdbool
491
492 BUILT_SOURCES += $(STDBOOL_H)
493
494 # We need the following in order to create <stdbool.h> when the system
495 # doesn't have one that works.
496 if GL_GENERATE_STDBOOL_H
497 stdbool.h: stdbool.in.h $(top_builddir)/config.status
498         $(AM_V_GEN)rm -f $@-t $@ && \
499         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
500           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
501         } > $@-t && \
502         mv $@-t $@
503 else
504 stdbool.h: $(top_builddir)/config.status
505         rm -f $@
506 endif
507 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
508
509 EXTRA_DIST += stdbool.in.h
510
511 ## end   gnulib module stdbool
512
513 ## begin gnulib module stddef
514
515 BUILT_SOURCES += $(STDDEF_H)
516
517 # We need the following in order to create <stddef.h> when the system
518 # doesn't have one that works with the given compiler.
519 if GL_GENERATE_STDDEF_H
520 stddef.h: stddef.in.h $(top_builddir)/config.status
521         $(AM_V_GEN)rm -f $@-t $@ && \
522         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
523           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
524               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
525               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
526               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
527               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
528               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
529               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
530               < $(srcdir)/stddef.in.h; \
531         } > $@-t && \
532         mv $@-t $@
533 else
534 stddef.h: $(top_builddir)/config.status
535         rm -f $@
536 endif
537 MOSTLYCLEANFILES += stddef.h stddef.h-t
538
539 EXTRA_DIST += stddef.in.h
540
541 ## end   gnulib module stddef
542
543 ## begin gnulib module stdint
544
545 BUILT_SOURCES += $(STDINT_H)
546
547 # We need the following in order to create <stdint.h> when the system
548 # doesn't have one that works with the given compiler.
549 if GL_GENERATE_STDINT_H
550 stdint.h: stdint.in.h $(top_builddir)/config.status
551         $(AM_V_GEN)rm -f $@-t $@ && \
552         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
553           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
554               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
555               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
556               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
557               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
558               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
559               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
560               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
561               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
562               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
563               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
564               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
565               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
566               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
567               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
568               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
569               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
570               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
571               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
572               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
573               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
574               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
575               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
576               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
577               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
578               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
579               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
580               < $(srcdir)/stdint.in.h; \
581         } > $@-t && \
582         mv $@-t $@
583 else
584 stdint.h: $(top_builddir)/config.status
585         rm -f $@
586 endif
587 MOSTLYCLEANFILES += stdint.h stdint.h-t
588
589 EXTRA_DIST += stdint.in.h
590
591 ## end   gnulib module stdint
592
593 ## begin gnulib module stdio
594
595 BUILT_SOURCES += stdio.h
596
597 # We need the following in order to create <stdio.h> when the system
598 # doesn't have one that works with the given compiler.
599 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
600         $(AM_V_GEN)rm -f $@-t $@ && \
601         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
602           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
603               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
604               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
605               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
606               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
607               -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
608               -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
609               -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
610               -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
611               -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
612               -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
613               -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
614               -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
615               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
616               -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
617               -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
618               -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
619               -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
620               -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
621               -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
622               -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
623               -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
624               -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
625               -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
626               -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
627               -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
628               -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
629               -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
630               -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
631               -e 's/@''GNULIB_GETS''@/$(GNULIB_GETS)/g' \
632               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
633               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
634               -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
635               -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
636               -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
637               -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
638               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
639               -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
640               -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
641               -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
642               -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
643               -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
644               -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
645               -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
646               -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
647               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
648               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
649               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
650               -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
651               -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
652               -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
653               -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
654               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
655               -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
656               -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
657               -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
658               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
659               -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
660               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
661               < $(srcdir)/stdio.in.h | \
662           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
663               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
664               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
665               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
666               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
667               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
668               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
669               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
670               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
671               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
672               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
673               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
674               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
675               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
676               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
677               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
678               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
679               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
680               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
681               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
682               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
683               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
684               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
685               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
686               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
687               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
688               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
689               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
690               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
691               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
692               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
693               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
694               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
695               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
696               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
697               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
698               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
699               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
700               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
701               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
702               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
703               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
704               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
705               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
706               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
707               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
708               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
709               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
710               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
711               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
712               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
713               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
714         } > $@-t && \
715         mv $@-t $@
716 MOSTLYCLEANFILES += stdio.h stdio.h-t
717
718 EXTRA_DIST += stdio.in.h
719
720 ## end   gnulib module stdio
721
722 ## begin gnulib module stdlib
723
724 BUILT_SOURCES += stdlib.h
725
726 # We need the following in order to create <stdlib.h> when the system
727 # doesn't have one that works with the given compiler.
728 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
729   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
730         $(AM_V_GEN)rm -f $@-t $@ && \
731         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
732           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
733               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
734               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
735               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
736               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
737               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
738               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
739               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
740               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
741               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
742               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
743               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
744               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
745               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
746               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
747               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
748               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
749               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
750               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
751               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
752               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
753               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
754               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
755               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
756               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
757               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
758               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
759               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
760               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
761               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
762               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
763               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
764               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
765               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
766               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
767               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
768               < $(srcdir)/stdlib.in.h | \
769           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
770               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
771               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
772               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
773               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
774               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
775               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
776               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
777               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
778               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
779               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
780               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
781               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
782               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
783               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
784               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
785               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
786               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
787               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
788               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
789               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
790               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
791               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
792               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
793               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
794               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
795               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
796               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
797               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
798               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
799               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
800               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
801               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
802               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
803               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
804               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
805               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
806               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
807               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
808               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
809               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
810               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
811               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
812               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
813               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
814         } > $@-t && \
815         mv $@-t $@
816 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
817
818 EXTRA_DIST += stdlib.in.h
819
820 ## end   gnulib module stdlib
821
822 ## begin gnulib module strerror
823
824
825 EXTRA_DIST += strerror.c
826
827 EXTRA_libgnu_la_SOURCES += strerror.c
828
829 ## end   gnulib module strerror
830
831 ## begin gnulib module strerror-override
832
833
834 EXTRA_DIST += strerror-override.c strerror-override.h
835
836 EXTRA_libgnu_la_SOURCES += strerror-override.c
837
838 ## end   gnulib module strerror-override
839
840 ## begin gnulib module string
841
842 BUILT_SOURCES += string.h
843
844 # We need the following in order to create <string.h> when the system
845 # doesn't have one that works with the given compiler.
846 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
847         $(AM_V_GEN)rm -f $@-t $@ && \
848         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
849           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
850               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
851               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
852               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
853               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
854               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
855               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
856               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
857               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
858               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
859               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
860               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
861               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
862               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
863               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
864               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
865               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
866               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
867               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
868               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
869               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
870               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
871               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
872               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
873               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
874               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
875               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
876               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
877               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
878               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
879               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
880               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
881               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
882               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
883               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
884               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
885               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
886               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
887               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
888               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
889               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
890               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
891               < $(srcdir)/string.in.h | \
892           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
893               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
894               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
895               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
896               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
897               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
898               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
899               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
900               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
901               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
902               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
903               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
904               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
905               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
906               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
907               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
908               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
909               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
910               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
911               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
912               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
913               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
914               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
915               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
916               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
917               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
918               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
919               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
920               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
921               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
922               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
923               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
924               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
925               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
926               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
927               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
928               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
929               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
930               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
931               < $(srcdir)/string.in.h; \
932         } > $@-t && \
933         mv $@-t $@
934 MOSTLYCLEANFILES += string.h string.h-t
935
936 EXTRA_DIST += string.in.h
937
938 ## end   gnulib module string
939
940 ## begin gnulib module strndup
941
942
943 EXTRA_DIST += strndup.c
944
945 EXTRA_libgnu_la_SOURCES += strndup.c
946
947 ## end   gnulib module strndup
948
949 ## begin gnulib module strnlen
950
951
952 EXTRA_DIST += strnlen.c
953
954 EXTRA_libgnu_la_SOURCES += strnlen.c
955
956 ## end   gnulib module strnlen
957
958 ## begin gnulib module strsignal
959
960
961 EXTRA_DIST += siglist.h strsignal.c
962
963 EXTRA_libgnu_la_SOURCES += strsignal.c
964
965 ## end   gnulib module strsignal
966
967 ## begin gnulib module sys_select
968
969 BUILT_SOURCES += sys/select.h
970
971 # We need the following in order to create <sys/select.h> when the system
972 # doesn't have one that works with the given compiler.
973 sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
974         $(AM_V_at)$(MKDIR_P) sys
975         $(AM_V_GEN)rm -f $@-t $@ && \
976         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
977           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
978               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
979               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
980               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
981               -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
982               -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
983               -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \
984               -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \
985               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
986               -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \
987               -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \
988               -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
989               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
990               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
991               < $(srcdir)/sys_select.in.h; \
992         } > $@-t && \
993         mv $@-t $@
994 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
995 MOSTLYCLEANDIRS += sys
996
997 EXTRA_DIST += sys_select.in.h
998
999 ## end   gnulib module sys_select
1000
1001 ## begin gnulib module sys_stat
1002
1003 BUILT_SOURCES += sys/stat.h
1004
1005 # We need the following in order to create <sys/stat.h> when the system
1006 # has one that is incomplete.
1007 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1008         $(AM_V_at)$(MKDIR_P) sys
1009         $(AM_V_GEN)rm -f $@-t $@ && \
1010         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1011           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1012               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1013               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1014               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1015               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1016               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1017               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1018               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1019               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1020               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1021               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1022               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1023               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1024               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1025               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1026               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1027               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1028               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1029               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1030               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1031               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1032               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1033               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1034               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1035               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1036               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1037               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1038               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1039               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1040               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1041               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1042               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1043               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1044               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1045               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1046               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1047               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1048               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1049               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1050               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1051               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1052               < $(srcdir)/sys_stat.in.h; \
1053         } > $@-t && \
1054         mv $@-t $@
1055 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1056 MOSTLYCLEANDIRS += sys
1057
1058 EXTRA_DIST += sys_stat.in.h
1059
1060 ## end   gnulib module sys_stat
1061
1062 ## begin gnulib module sys_time
1063
1064 BUILT_SOURCES += sys/time.h
1065
1066 # We need the following in order to create <sys/time.h> when the system
1067 # doesn't have one that works with the given compiler.
1068 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1069         $(AM_V_at)$(MKDIR_P) sys
1070         $(AM_V_GEN)rm -f $@-t $@ && \
1071         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1072           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1073               -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1074               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1075               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1076               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1077               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1078               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1079               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1080               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1081               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1082               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1083               -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1084               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1085               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1086               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1087               < $(srcdir)/sys_time.in.h; \
1088         } > $@-t && \
1089         mv $@-t $@
1090 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1091
1092 EXTRA_DIST += sys_time.in.h
1093
1094 ## end   gnulib module sys_time
1095
1096 ## begin gnulib module sys_wait
1097
1098 BUILT_SOURCES += sys/wait.h
1099
1100 # We need the following in order to create <sys/wait.h> when the system
1101 # has one that is incomplete.
1102 sys/wait.h: sys_wait.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1103         $(AM_V_at)$(MKDIR_P) sys
1104         $(AM_V_GEN)rm -f $@-t $@ && \
1105         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1106           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1107               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1108               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1109               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1110               -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \
1111               -e 's/@''GNULIB_WAITPID''@/$(GNULIB_WAITPID)/g' \
1112               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1113               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1114               < $(srcdir)/sys_wait.in.h; \
1115         } > $@-t && \
1116         mv $@-t $@
1117 MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t
1118 MOSTLYCLEANDIRS += sys
1119
1120 EXTRA_DIST += sys_wait.in.h
1121
1122 ## end   gnulib module sys_wait
1123
1124 ## begin gnulib module threadlib
1125
1126 libgnu_la_SOURCES += glthread/threadlib.c
1127
1128 EXTRA_DIST += $(top_srcdir)/tools/config.rpath
1129
1130 ## end   gnulib module threadlib
1131
1132 ## begin gnulib module time
1133
1134 BUILT_SOURCES += time.h
1135
1136 # We need the following in order to create <time.h> when the system
1137 # doesn't have one that works with the given compiler.
1138 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1139         $(AM_V_GEN)rm -f $@-t $@ && \
1140         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1141           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1142               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1143               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1144               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1145               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1146               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1147               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1148               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1149               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1150               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1151               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1152               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1153               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1154               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1155               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1156               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1157               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1158               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1159               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1160               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1161               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1162               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1163               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1164               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1165               < $(srcdir)/time.in.h; \
1166         } > $@-t && \
1167         mv $@-t $@
1168 MOSTLYCLEANFILES += time.h time.h-t
1169
1170 EXTRA_DIST += time.in.h
1171
1172 ## end   gnulib module time
1173
1174 ## begin gnulib module tls
1175
1176 libgnu_la_SOURCES += glthread/tls.h glthread/tls.c
1177
1178 ## end   gnulib module tls
1179
1180 ## begin gnulib module unistd
1181
1182 BUILT_SOURCES += unistd.h
1183
1184 # We need the following in order to create an empty placeholder for
1185 # <unistd.h> when the system doesn't have one.
1186 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1187         $(AM_V_GEN)rm -f $@-t $@ && \
1188         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1189           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1190               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1191               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1192               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1193               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1194               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1195               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1196               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1197               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1198               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1199               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1200               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1201               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1202               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1203               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1204               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1205               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1206               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1207               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1208               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1209               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1210               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1211               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1212               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1213               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1214               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1215               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1216               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1217               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1218               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1219               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1220               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1221               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1222               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1223               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1224               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1225               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1226               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1227               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1228               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1229               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1230               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1231               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1232               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1233               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1234               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1235               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1236               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1237               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1238               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1239               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1240               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1241               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1242               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1243               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1244               < $(srcdir)/unistd.in.h | \
1245           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1246               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1247               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1248               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1249               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1250               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1251               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1252               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1253               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1254               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1255               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1256               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1257               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1258               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1259               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1260               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1261               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1262               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1263               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1264               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1265               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1266               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1267               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1268               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1269               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1270               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1271               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1272               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1273               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1274               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1275               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1276               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1277               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1278               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1279               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1280               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1281               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1282               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1283               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1284               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1285               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1286               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1287           | \
1288           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1289               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1290               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1291               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1292               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1293               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1294               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1295               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1296               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1297               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1298               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1299               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1300               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1301               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1302               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1303               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1304               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1305               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1306               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1307               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1308               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1309               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1310               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1311               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1312               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1313               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1314               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1315               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1316               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1317               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1318               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1319               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1320         } > $@-t && \
1321         mv $@-t $@
1322 MOSTLYCLEANFILES += unistd.h unistd.h-t
1323
1324 EXTRA_DIST += unistd.in.h
1325
1326 ## end   gnulib module unistd
1327
1328 ## begin gnulib module unsetenv
1329
1330
1331 EXTRA_DIST += unsetenv.c
1332
1333 EXTRA_libgnu_la_SOURCES += unsetenv.c
1334
1335 ## end   gnulib module unsetenv
1336
1337 ## begin gnulib module vasnprintf
1338
1339
1340 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1341
1342 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1343
1344 ## end   gnulib module vasnprintf
1345
1346 ## begin gnulib module vasprintf
1347
1348
1349 EXTRA_DIST += asprintf.c vasprintf.c
1350
1351 EXTRA_libgnu_la_SOURCES += asprintf.c vasprintf.c
1352
1353 ## end   gnulib module vasprintf
1354
1355 ## begin gnulib module verify
1356
1357
1358 EXTRA_DIST += verify.h
1359
1360 ## end   gnulib module verify
1361
1362 ## begin gnulib module waitpid
1363
1364
1365 EXTRA_DIST += waitpid.c
1366
1367 EXTRA_libgnu_la_SOURCES += waitpid.c
1368
1369 ## end   gnulib module waitpid
1370
1371 ## begin gnulib module wchar
1372
1373 BUILT_SOURCES += wchar.h
1374
1375 # We need the following in order to create <wchar.h> when the system
1376 # version does not work standalone.
1377 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1378         $(AM_V_GEN)rm -f $@-t $@ && \
1379         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1380           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1381               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1382               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1383               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1384               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1385               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1386               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1387               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1388               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1389               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1390               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1391               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1392               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1393               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1394               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1395               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1396               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1397               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1398               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1399               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1400               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1401               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1402               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1403               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1404               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1405               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1406               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1407               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1408               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1409               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1410               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1411               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1412               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1413               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1414               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1415               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1416               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1417               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1418               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1419               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1420               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1421               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1422               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1423               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1424               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1425               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1426               < $(srcdir)/wchar.in.h | \
1427           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1428               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1429               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1430               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1431               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1432               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1433               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1434               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1435               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1436               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1437               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1438               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1439               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1440               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1441               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1442               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1443               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1444               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1445               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1446               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1447               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1448               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1449               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1450               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1451               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1452               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1453               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1454               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1455               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1456               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1457               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1458               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1459               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1460               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1461               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1462               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1463               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1464               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1465               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1466               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1467           | \
1468           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1469               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1470               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1471               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1472               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1473               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1474               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1475               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1476               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1477               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1478               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1479               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1480               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1481               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1482               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1483               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1484         } > $@-t && \
1485         mv $@-t $@
1486 MOSTLYCLEANFILES += wchar.h wchar.h-t
1487
1488 EXTRA_DIST += wchar.in.h
1489
1490 ## end   gnulib module wchar
1491
1492 ## begin gnulib module write
1493
1494
1495 EXTRA_DIST += write.c
1496
1497 EXTRA_libgnu_la_SOURCES += write.c
1498
1499 ## end   gnulib module write
1500
1501 ## begin gnulib module xalloc
1502
1503 libgnu_la_SOURCES += xmalloc.c
1504
1505 EXTRA_DIST += xalloc.h
1506
1507 ## end   gnulib module xalloc
1508
1509 ## begin gnulib module xalloc-die
1510
1511 libgnu_la_SOURCES += xalloc-die.c
1512
1513 ## end   gnulib module xalloc-die
1514
1515 ## begin gnulib module xalloc-oversized
1516
1517
1518 EXTRA_DIST += xalloc-oversized.h
1519
1520 ## end   gnulib module xalloc-oversized
1521
1522 ## begin gnulib module xsize
1523
1524 libgnu_la_SOURCES += xsize.h
1525
1526 ## end   gnulib module xsize
1527
1528 ## begin gnulib module xstrndup
1529
1530 libgnu_la_SOURCES += xstrndup.h xstrndup.c
1531
1532 ## end   gnulib module xstrndup
1533
1534 ## begin gnulib module xvasprintf
1535
1536 libgnu_la_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
1537
1538 EXTRA_DIST += xalloc.h
1539
1540 ## end   gnulib module xvasprintf
1541
1542
1543 mostlyclean-local: mostlyclean-generic
1544         @for dir in '' $(MOSTLYCLEANDIRS); do \
1545           if test -n "$$dir" && test -d $$dir; then \
1546             echo "rmdir $$dir"; rmdir $$dir; \
1547           fi; \
1548         done; \
1549         :