OSDN Git Service

parted: Add gnulib
[android-x86/external-parted.git] / lib / gnulib.mk
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=. --local-dir=gl --lib=libgnulib --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=dummy --makefile-name=gnulib.mk --no-conditional-dependencies --libtool --macro-prefix=gl alloca announce-gen argmatch assert c-ctype c-strcase calloc-gnu canonicalize-lgpl close closeout config-h configmake dirname do-release-commit-and-tag fdl fsync gettext-h git-version-gen gitlog-to-changelog gnu-web-doc-update gnumakefile gnupload inttypes lib-ignore long-options lseek maintainer-makefile malloc-gnu manywarnings mkstemp mktempd progname realloc-gnu rpmatch safe-read stdbool strdup-posix unlink update-copyright useless-if-before-free usleep vc-list-files version-etc-fsf warnings xstrtol xstrtoll
25
26
27 MOSTLYCLEANFILES += core *.stackdump
28
29 noinst_LTLIBRARIES += libgnulib.la
30
31 libgnulib_la_SOURCES =
32 libgnulib_la_LIBADD = $(gl_LTLIBOBJS)
33 libgnulib_la_DEPENDENCIES = $(gl_LTLIBOBJS)
34 EXTRA_libgnulib_la_SOURCES =
35 libgnulib_la_LDFLAGS = $(AM_LDFLAGS)
36 libgnulib_la_LDFLAGS += -no-undefined
37 libgnulib_la_LDFLAGS += $(LTLIBINTL)
38
39 ## begin gnulib module alloca
40
41
42 libgnulib_la_LIBADD += @LTALLOCA@
43 libgnulib_la_DEPENDENCIES += @LTALLOCA@
44 EXTRA_DIST += alloca.c
45
46 EXTRA_libgnulib_la_SOURCES += alloca.c
47
48 ## end   gnulib module alloca
49
50 ## begin gnulib module alloca-opt
51
52 BUILT_SOURCES += $(ALLOCA_H)
53
54 # We need the following in order to create <alloca.h> when the system
55 # doesn't have one that works with the given compiler.
56 if GL_GENERATE_ALLOCA_H
57 alloca.h: alloca.in.h $(top_builddir)/config.status
58         $(AM_V_GEN)rm -f $@-t $@ && \
59         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
60           cat $(srcdir)/alloca.in.h; \
61         } > $@-t && \
62         mv -f $@-t $@
63 else
64 alloca.h: $(top_builddir)/config.status
65         rm -f $@
66 endif
67 MOSTLYCLEANFILES += alloca.h alloca.h-t
68
69 EXTRA_DIST += alloca.in.h
70
71 ## end   gnulib module alloca-opt
72
73 ## begin gnulib module announce-gen
74
75
76 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
77
78 ## end   gnulib module announce-gen
79
80 ## begin gnulib module argmatch
81
82 libgnulib_la_SOURCES += argmatch.c
83
84 EXTRA_DIST += argmatch.h
85
86 ## end   gnulib module argmatch
87
88 ## begin gnulib module btowc
89
90
91 EXTRA_DIST += btowc.c
92
93 EXTRA_libgnulib_la_SOURCES += btowc.c
94
95 ## end   gnulib module btowc
96
97 ## begin gnulib module c-ctype
98
99 libgnulib_la_SOURCES += c-ctype.h c-ctype.c
100
101 ## end   gnulib module c-ctype
102
103 ## begin gnulib module c-strcase
104
105 libgnulib_la_SOURCES += c-strcase.h c-strcasecmp.c c-strncasecmp.c
106
107 ## end   gnulib module c-strcase
108
109 ## begin gnulib module c-strcaseeq
110
111
112 EXTRA_DIST += c-strcaseeq.h
113
114 ## end   gnulib module c-strcaseeq
115
116 ## begin gnulib module calloc-gnu
117
118
119 EXTRA_DIST += calloc.c
120
121 EXTRA_libgnulib_la_SOURCES += calloc.c
122
123 ## end   gnulib module calloc-gnu
124
125 ## begin gnulib module calloc-posix
126
127
128 EXTRA_DIST += calloc.c
129
130 EXTRA_libgnulib_la_SOURCES += calloc.c
131
132 ## end   gnulib module calloc-posix
133
134 ## begin gnulib module canonicalize-lgpl
135
136
137 EXTRA_DIST += canonicalize-lgpl.c
138
139 EXTRA_libgnulib_la_SOURCES += canonicalize-lgpl.c
140
141 ## end   gnulib module canonicalize-lgpl
142
143 ## begin gnulib module close
144
145
146 EXTRA_DIST += close.c
147
148 EXTRA_libgnulib_la_SOURCES += close.c
149
150 ## end   gnulib module close
151
152 ## begin gnulib module close-stream
153
154 libgnulib_la_SOURCES += close-stream.c
155
156 EXTRA_DIST += close-stream.h
157
158 ## end   gnulib module close-stream
159
160 ## begin gnulib module closeout
161
162 libgnulib_la_SOURCES += closeout.c
163
164 EXTRA_DIST += closeout.h
165
166 ## end   gnulib module closeout
167
168 ## begin gnulib module configmake
169
170 # Listed in the same order as the GNU makefile conventions, and
171 # provided by autoconf 2.59c+.
172 # The Automake-defined pkg* macros are appended, in the order
173 # listed in the Automake 1.10a+ documentation.
174 configmake.h: Makefile
175         $(AM_V_GEN)rm -f $@-t && \
176         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
177           echo '#define PREFIX "$(prefix)"'; \
178           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
179           echo '#define BINDIR "$(bindir)"'; \
180           echo '#define SBINDIR "$(sbindir)"'; \
181           echo '#define LIBEXECDIR "$(libexecdir)"'; \
182           echo '#define DATAROOTDIR "$(datarootdir)"'; \
183           echo '#define DATADIR "$(datadir)"'; \
184           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
185           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
186           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
187           echo '#define INCLUDEDIR "$(includedir)"'; \
188           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
189           echo '#define DOCDIR "$(docdir)"'; \
190           echo '#define INFODIR "$(infodir)"'; \
191           echo '#define HTMLDIR "$(htmldir)"'; \
192           echo '#define DVIDIR "$(dvidir)"'; \
193           echo '#define PDFDIR "$(pdfdir)"'; \
194           echo '#define PSDIR "$(psdir)"'; \
195           echo '#define LIBDIR "$(libdir)"'; \
196           echo '#define LISPDIR "$(lispdir)"'; \
197           echo '#define LOCALEDIR "$(localedir)"'; \
198           echo '#define MANDIR "$(mandir)"'; \
199           echo '#define MANEXT "$(manext)"'; \
200           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
201           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
202           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
203           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
204         } | sed '/""/d' > $@-t
205         mv -f $@-t $@
206
207 BUILT_SOURCES += configmake.h
208 CLEANFILES += configmake.h configmake.h-t
209
210 ## end   gnulib module configmake
211
212 ## begin gnulib module dirname
213
214 libgnulib_la_SOURCES += dirname.c basename.c
215
216 EXTRA_DIST += stripslash.c
217
218 EXTRA_libgnulib_la_SOURCES += stripslash.c
219
220 ## end   gnulib module dirname
221
222 ## begin gnulib module dirname-lgpl
223
224 libgnulib_la_SOURCES += dirname-lgpl.c basename-lgpl.c stripslash.c
225
226 EXTRA_DIST += dirname.h
227
228 ## end   gnulib module dirname-lgpl
229
230 ## begin gnulib module do-release-commit-and-tag
231
232
233 EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
234
235 ## end   gnulib module do-release-commit-and-tag
236
237 ## begin gnulib module dosname
238
239
240 EXTRA_DIST += dosname.h
241
242 ## end   gnulib module dosname
243
244 ## begin gnulib module errno
245
246 BUILT_SOURCES += $(ERRNO_H)
247
248 # We need the following in order to create <errno.h> when the system
249 # doesn't have one that is POSIX compliant.
250 if GL_GENERATE_ERRNO_H
251 errno.h: errno.in.h $(top_builddir)/config.status
252         $(AM_V_GEN)rm -f $@-t $@ && \
253         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
254           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
255               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
256               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
257               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
258               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
259               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
260               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
261               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
262               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
263               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
264               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
265               < $(srcdir)/errno.in.h; \
266         } > $@-t && \
267         mv $@-t $@
268 else
269 errno.h: $(top_builddir)/config.status
270         rm -f $@
271 endif
272 MOSTLYCLEANFILES += errno.h errno.h-t
273
274 EXTRA_DIST += errno.in.h
275
276 ## end   gnulib module errno
277
278 ## begin gnulib module error
279
280
281 EXTRA_DIST += error.c error.h
282
283 EXTRA_libgnulib_la_SOURCES += error.c
284
285 ## end   gnulib module error
286
287 ## begin gnulib module exitfail
288
289 libgnulib_la_SOURCES += exitfail.c
290
291 EXTRA_DIST += exitfail.h
292
293 ## end   gnulib module exitfail
294
295 ## begin gnulib module fcntl-h
296
297 BUILT_SOURCES += fcntl.h
298
299 # We need the following in order to create <fcntl.h> when the system
300 # doesn't have one that works with the given compiler.
301 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
302         $(AM_V_GEN)rm -f $@-t $@ && \
303         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
304           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
305               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
306               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
307               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
308               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
309               -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
310               -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
311               -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
312               -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
313               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
314               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
315               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
316               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
317               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
318               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
319               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
320               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
321               < $(srcdir)/fcntl.in.h; \
322         } > $@-t && \
323         mv $@-t $@
324 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
325
326 EXTRA_DIST += fcntl.in.h
327
328 ## end   gnulib module fcntl-h
329
330 ## begin gnulib module fd-hook
331
332 libgnulib_la_SOURCES += fd-hook.c
333
334 EXTRA_DIST += fd-hook.h
335
336 ## end   gnulib module fd-hook
337
338 ## begin gnulib module fpending
339
340
341 EXTRA_DIST += fpending.c fpending.h
342
343 EXTRA_libgnulib_la_SOURCES += fpending.c
344
345 ## end   gnulib module fpending
346
347 ## begin gnulib module fstat
348
349
350 EXTRA_DIST += fstat.c
351
352 EXTRA_libgnulib_la_SOURCES += fstat.c
353
354 ## end   gnulib module fstat
355
356 ## begin gnulib module fsync
357
358
359 EXTRA_DIST += fsync.c
360
361 EXTRA_libgnulib_la_SOURCES += fsync.c
362
363 ## end   gnulib module fsync
364
365 ## begin gnulib module gendocs
366
367
368 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
369
370 ## end   gnulib module gendocs
371
372 ## begin gnulib module getopt-posix
373
374 BUILT_SOURCES += $(GETOPT_H)
375
376 # We need the following in order to create <getopt.h> when the system
377 # doesn't have one that works with the given compiler.
378 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
379         $(AM_V_GEN)rm -f $@-t $@ && \
380         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
381           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
382               -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
383               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
384               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
385               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
386               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
387               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
388               < $(srcdir)/getopt.in.h; \
389         } > $@-t && \
390         mv -f $@-t $@
391 MOSTLYCLEANFILES += getopt.h getopt.h-t
392
393 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
394
395 EXTRA_libgnulib_la_SOURCES += getopt.c getopt1.c
396
397 ## end   gnulib module getopt-posix
398
399 ## begin gnulib module gettext-h
400
401 libgnulib_la_SOURCES += gettext.h
402
403 ## end   gnulib module gettext-h
404
405 ## begin gnulib module gettimeofday
406
407
408 EXTRA_DIST += gettimeofday.c
409
410 EXTRA_libgnulib_la_SOURCES += gettimeofday.c
411
412 ## end   gnulib module gettimeofday
413
414 ## begin gnulib module git-version-gen
415
416
417 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
418
419 ## end   gnulib module git-version-gen
420
421 ## begin gnulib module gitlog-to-changelog
422
423
424 EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
425
426 ## end   gnulib module gitlog-to-changelog
427
428 ## begin gnulib module gnu-web-doc-update
429
430
431 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
432
433 ## end   gnulib module gnu-web-doc-update
434
435 ## begin gnulib module gnumakefile
436
437 distclean-local: clean-GNUmakefile
438 clean-GNUmakefile:
439         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
440
441 EXTRA_DIST += $(top_srcdir)/GNUmakefile
442
443 ## end   gnulib module gnumakefile
444
445 ## begin gnulib module gnupload
446
447
448 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
449
450 ## end   gnulib module gnupload
451
452 ## begin gnulib module intprops
453
454
455 EXTRA_DIST += intprops.h
456
457 ## end   gnulib module intprops
458
459 ## begin gnulib module inttypes-incomplete
460
461 BUILT_SOURCES += inttypes.h
462
463 # We need the following in order to create <inttypes.h> when the system
464 # doesn't have one that works with the given compiler.
465 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
466         $(AM_V_GEN)rm -f $@-t $@ && \
467         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
468           sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
469               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
470               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
471               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
472               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
473               -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
474               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
475               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
476               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
477               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
478               -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
479               -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
480               -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
481               -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
482               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
483               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
484               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
485               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
486               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
487               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
488               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
489               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
490               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
491               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
492               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
493               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
494               < $(srcdir)/inttypes.in.h; \
495         } > $@-t && \
496         mv $@-t $@
497 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
498
499 EXTRA_DIST += inttypes.in.h
500
501 ## end   gnulib module inttypes-incomplete
502
503 ## begin gnulib module langinfo
504
505 BUILT_SOURCES += langinfo.h
506
507 # We need the following in order to create an empty placeholder for
508 # <langinfo.h> when the system doesn't have one.
509 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
510         $(AM_V_GEN)rm -f $@-t $@ && \
511         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
512           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
513               -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
514               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
515               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
516               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
517               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
518               -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
519               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
520               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
521               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
522               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
523               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
524               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
525               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
526               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
527               < $(srcdir)/langinfo.in.h; \
528         } > $@-t && \
529         mv $@-t $@
530 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
531
532 EXTRA_DIST += langinfo.in.h
533
534 ## end   gnulib module langinfo
535
536 ## begin gnulib module localcharset
537
538 libgnulib_la_SOURCES += localcharset.h localcharset.c
539
540 # We need the following in order to install a simple file in $(libdir)
541 # which is shared with other installed packages. We use a list of referencing
542 # packages so that "make uninstall" will remove the file if and only if it
543 # is not used by another installed package.
544 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
545 # avoid installing it.
546
547 all-local: charset.alias ref-add.sed ref-del.sed
548
549 charset_alias = $(DESTDIR)$(libdir)/charset.alias
550 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
551 install-exec-local: install-exec-localcharset
552 install-exec-localcharset: all-local
553         if test $(GLIBC21) = no; then \
554           case '$(host_os)' in \
555             darwin[56]*) \
556               need_charset_alias=true ;; \
557             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
558               need_charset_alias=false ;; \
559             *) \
560               need_charset_alias=true ;; \
561           esac ; \
562         else \
563           need_charset_alias=false ; \
564         fi ; \
565         if $$need_charset_alias; then \
566           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
567         fi ; \
568         if test -f $(charset_alias); then \
569           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
570           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
571           rm -f $(charset_tmp) ; \
572         else \
573           if $$need_charset_alias; then \
574             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
575             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
576             rm -f $(charset_tmp) ; \
577           fi ; \
578         fi
579
580 uninstall-local: uninstall-localcharset
581 uninstall-localcharset: all-local
582         if test -f $(charset_alias); then \
583           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
584           if grep '^# Packages using this file: $$' $(charset_tmp) \
585               > /dev/null; then \
586             rm -f $(charset_alias); \
587           else \
588             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
589           fi; \
590           rm -f $(charset_tmp); \
591         fi
592
593 charset.alias: config.charset
594         $(AM_V_GEN)rm -f t-$@ $@ && \
595         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
596         mv t-$@ $@
597
598 SUFFIXES += .sed .sin
599 .sin.sed:
600         $(AM_V_GEN)rm -f t-$@ $@ && \
601         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
602         mv t-$@ $@
603
604 CLEANFILES += charset.alias ref-add.sed ref-del.sed
605
606 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
607
608 ## end   gnulib module localcharset
609
610 ## begin gnulib module long-options
611
612 libgnulib_la_SOURCES += long-options.c
613
614 EXTRA_DIST += long-options.h
615
616 ## end   gnulib module long-options
617
618 ## begin gnulib module lseek
619
620
621 EXTRA_DIST += lseek.c
622
623 EXTRA_libgnulib_la_SOURCES += lseek.c
624
625 ## end   gnulib module lseek
626
627 ## begin gnulib module lstat
628
629
630 EXTRA_DIST += lstat.c
631
632 EXTRA_libgnulib_la_SOURCES += lstat.c
633
634 ## end   gnulib module lstat
635
636 ## begin gnulib module maintainer-makefile
637
638 EXTRA_DIST += $(top_srcdir)/maint.mk
639
640 ## end   gnulib module maintainer-makefile
641
642 ## begin gnulib module malloc-gnu
643
644
645 EXTRA_DIST += malloc.c
646
647 EXTRA_libgnulib_la_SOURCES += malloc.c
648
649 ## end   gnulib module malloc-gnu
650
651 ## begin gnulib module malloc-posix
652
653
654 EXTRA_DIST += malloc.c
655
656 EXTRA_libgnulib_la_SOURCES += malloc.c
657
658 ## end   gnulib module malloc-posix
659
660 ## begin gnulib module malloca
661
662 libgnulib_la_SOURCES += malloca.c
663
664 EXTRA_DIST += malloca.h malloca.valgrind
665
666 ## end   gnulib module malloca
667
668 ## begin gnulib module mbrtowc
669
670
671 EXTRA_DIST += mbrtowc.c
672
673 EXTRA_libgnulib_la_SOURCES += mbrtowc.c
674
675 ## end   gnulib module mbrtowc
676
677 ## begin gnulib module mbsinit
678
679
680 EXTRA_DIST += mbsinit.c
681
682 EXTRA_libgnulib_la_SOURCES += mbsinit.c
683
684 ## end   gnulib module mbsinit
685
686 ## begin gnulib module mbtowc
687
688
689 EXTRA_DIST += mbtowc-impl.h mbtowc.c
690
691 EXTRA_libgnulib_la_SOURCES += mbtowc.c
692
693 ## end   gnulib module mbtowc
694
695 ## begin gnulib module mkstemp
696
697
698 EXTRA_DIST += mkstemp.c
699
700 EXTRA_libgnulib_la_SOURCES += mkstemp.c
701
702 ## end   gnulib module mkstemp
703
704 ## begin gnulib module mktempd
705
706
707 EXTRA_DIST += $(top_srcdir)/build-aux/mktempd
708
709 ## end   gnulib module mktempd
710
711 ## begin gnulib module msvc-inval
712
713
714 EXTRA_DIST += msvc-inval.c msvc-inval.h
715
716 EXTRA_libgnulib_la_SOURCES += msvc-inval.c
717
718 ## end   gnulib module msvc-inval
719
720 ## begin gnulib module msvc-nothrow
721
722
723 EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
724
725 EXTRA_libgnulib_la_SOURCES += msvc-nothrow.c
726
727 ## end   gnulib module msvc-nothrow
728
729 ## begin gnulib module nl_langinfo
730
731
732 EXTRA_DIST += nl_langinfo.c
733
734 EXTRA_libgnulib_la_SOURCES += nl_langinfo.c
735
736 ## end   gnulib module nl_langinfo
737
738 ## begin gnulib module pathmax
739
740
741 EXTRA_DIST += pathmax.h
742
743 ## end   gnulib module pathmax
744
745 ## begin gnulib module progname
746
747 libgnulib_la_SOURCES += progname.h progname.c
748
749 ## end   gnulib module progname
750
751 ## begin gnulib module quote
752
753 libgnulib_la_SOURCES += quote.c
754
755 EXTRA_DIST += quote.h
756
757 ## end   gnulib module quote
758
759 ## begin gnulib module quotearg
760
761 libgnulib_la_SOURCES += quotearg.c
762
763 EXTRA_DIST += quotearg.h
764
765 ## end   gnulib module quotearg
766
767 ## begin gnulib module read
768
769
770 EXTRA_DIST += read.c
771
772 EXTRA_libgnulib_la_SOURCES += read.c
773
774 ## end   gnulib module read
775
776 ## begin gnulib module readlink
777
778
779 EXTRA_DIST += readlink.c
780
781 EXTRA_libgnulib_la_SOURCES += readlink.c
782
783 ## end   gnulib module readlink
784
785 ## begin gnulib module realloc-gnu
786
787
788 EXTRA_DIST += realloc.c
789
790 EXTRA_libgnulib_la_SOURCES += realloc.c
791
792 ## end   gnulib module realloc-gnu
793
794 ## begin gnulib module realloc-posix
795
796
797 EXTRA_DIST += realloc.c
798
799 EXTRA_libgnulib_la_SOURCES += realloc.c
800
801 ## end   gnulib module realloc-posix
802
803 ## begin gnulib module regex
804
805
806 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
807
808 EXTRA_libgnulib_la_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
809
810 ## end   gnulib module regex
811
812 ## begin gnulib module rpmatch
813
814
815 EXTRA_DIST += rpmatch.c
816
817 EXTRA_libgnulib_la_SOURCES += rpmatch.c
818
819 ## end   gnulib module rpmatch
820
821 ## begin gnulib module safe-read
822
823 libgnulib_la_SOURCES += safe-read.c
824
825 EXTRA_DIST += safe-read.h
826
827 ## end   gnulib module safe-read
828
829 ## begin gnulib module sleep
830
831
832 EXTRA_DIST += sleep.c
833
834 EXTRA_libgnulib_la_SOURCES += sleep.c
835
836 ## end   gnulib module sleep
837
838 ## begin gnulib module snippet/_Noreturn
839
840 # Because this Makefile snippet defines a variable used by other
841 # gnulib Makefile snippets, it must be present in all Makefile.am that
842 # need it. This is ensured by the applicability 'all' defined above.
843
844 _NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h
845
846 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h
847
848 ## end   gnulib module snippet/_Noreturn
849
850 ## begin gnulib module snippet/arg-nonnull
851
852 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
853 # statements but through direct file reference. Therefore this snippet must be
854 # present in all Makefile.am that need it. This is ensured by the applicability
855 # 'all' defined above.
856
857 BUILT_SOURCES += arg-nonnull.h
858 # The arg-nonnull.h that gets inserted into generated .h files is the same as
859 # build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut
860 # off.
861 arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h
862         $(AM_V_GEN)rm -f $@-t $@ && \
863         sed -n -e '/GL_ARG_NONNULL/,$$p' \
864           < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \
865           > $@-t && \
866         mv $@-t $@
867 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
868
869 ARG_NONNULL_H=arg-nonnull.h
870
871 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h
872
873 ## end   gnulib module snippet/arg-nonnull
874
875 ## begin gnulib module snippet/c++defs
876
877 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
878 # statements but through direct file reference. Therefore this snippet must be
879 # present in all Makefile.am that need it. This is ensured by the applicability
880 # 'all' defined above.
881
882 BUILT_SOURCES += c++defs.h
883 # The c++defs.h that gets inserted into generated .h files is the same as
884 # build-aux/snippet/c++defs.h, except that it has the copyright header cut off.
885 c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h
886         $(AM_V_GEN)rm -f $@-t $@ && \
887         sed -n -e '/_GL_CXXDEFS/,$$p' \
888           < $(top_srcdir)/build-aux/snippet/c++defs.h \
889           > $@-t && \
890         mv $@-t $@
891 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
892
893 CXXDEFS_H=c++defs.h
894
895 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h
896
897 ## end   gnulib module snippet/c++defs
898
899 ## begin gnulib module snippet/warn-on-use
900
901 BUILT_SOURCES += warn-on-use.h
902 # The warn-on-use.h that gets inserted into generated .h files is the same as
903 # build-aux/snippet/warn-on-use.h, except that it has the copyright header cut
904 # off.
905 warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h
906         $(AM_V_GEN)rm -f $@-t $@ && \
907         sed -n -e '/^.ifndef/,$$p' \
908           < $(top_srcdir)/build-aux/snippet/warn-on-use.h \
909           > $@-t && \
910         mv $@-t $@
911 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
912
913 WARN_ON_USE_H=warn-on-use.h
914
915 EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h
916
917 ## end   gnulib module snippet/warn-on-use
918
919 ## begin gnulib module stat
920
921
922 EXTRA_DIST += stat.c
923
924 EXTRA_libgnulib_la_SOURCES += stat.c
925
926 ## end   gnulib module stat
927
928 ## begin gnulib module stdarg
929
930 BUILT_SOURCES += $(STDARG_H)
931
932 # We need the following in order to create <stdarg.h> when the system
933 # doesn't have one that works with the given compiler.
934 if GL_GENERATE_STDARG_H
935 stdarg.h: stdarg.in.h $(top_builddir)/config.status
936         $(AM_V_GEN)rm -f $@-t $@ && \
937         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
938           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
939               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
940               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
941               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
942               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
943               < $(srcdir)/stdarg.in.h; \
944         } > $@-t && \
945         mv $@-t $@
946 else
947 stdarg.h: $(top_builddir)/config.status
948         rm -f $@
949 endif
950 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
951
952 EXTRA_DIST += stdarg.in.h
953
954 ## end   gnulib module stdarg
955
956 ## begin gnulib module stdbool
957
958 BUILT_SOURCES += $(STDBOOL_H)
959
960 # We need the following in order to create <stdbool.h> when the system
961 # doesn't have one that works.
962 if GL_GENERATE_STDBOOL_H
963 stdbool.h: stdbool.in.h $(top_builddir)/config.status
964         $(AM_V_GEN)rm -f $@-t $@ && \
965         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
966           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
967         } > $@-t && \
968         mv $@-t $@
969 else
970 stdbool.h: $(top_builddir)/config.status
971         rm -f $@
972 endif
973 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
974
975 EXTRA_DIST += stdbool.in.h
976
977 ## end   gnulib module stdbool
978
979 ## begin gnulib module stddef
980
981 BUILT_SOURCES += $(STDDEF_H)
982
983 # We need the following in order to create <stddef.h> when the system
984 # doesn't have one that works with the given compiler.
985 if GL_GENERATE_STDDEF_H
986 stddef.h: stddef.in.h $(top_builddir)/config.status
987         $(AM_V_GEN)rm -f $@-t $@ && \
988         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
989           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
990               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
991               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
992               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
993               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
994               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
995               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
996               < $(srcdir)/stddef.in.h; \
997         } > $@-t && \
998         mv $@-t $@
999 else
1000 stddef.h: $(top_builddir)/config.status
1001         rm -f $@
1002 endif
1003 MOSTLYCLEANFILES += stddef.h stddef.h-t
1004
1005 EXTRA_DIST += stddef.in.h
1006
1007 ## end   gnulib module stddef
1008
1009 ## begin gnulib module stdint
1010
1011 BUILT_SOURCES += $(STDINT_H)
1012
1013 # We need the following in order to create <stdint.h> when the system
1014 # doesn't have one that works with the given compiler.
1015 if GL_GENERATE_STDINT_H
1016 stdint.h: stdint.in.h $(top_builddir)/config.status
1017         $(AM_V_GEN)rm -f $@-t $@ && \
1018         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1019           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1020               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1021               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1022               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1023               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1024               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1025               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1026               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1027               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1028               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1029               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1030               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1031               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1032               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1033               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1034               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1035               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1036               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1037               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1038               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1039               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1040               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1041               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1042               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1043               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1044               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1045               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1046               < $(srcdir)/stdint.in.h; \
1047         } > $@-t && \
1048         mv $@-t $@
1049 else
1050 stdint.h: $(top_builddir)/config.status
1051         rm -f $@
1052 endif
1053 MOSTLYCLEANFILES += stdint.h stdint.h-t
1054
1055 EXTRA_DIST += stdint.in.h
1056
1057 ## end   gnulib module stdint
1058
1059 ## begin gnulib module stdlib
1060
1061 BUILT_SOURCES += stdlib.h
1062
1063 # We need the following in order to create <stdlib.h> when the system
1064 # doesn't have one that works with the given compiler.
1065 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1066   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1067         $(AM_V_GEN)rm -f $@-t $@ && \
1068         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1069           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1070               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1071               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1072               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1073               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1074               -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1075               -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1076               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1077               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1078               -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1079               -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1080               -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1081               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1082               -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1083               -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1084               -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1085               -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1086               -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1087               -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1088               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1089               -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1090               -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1091               -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1092               -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1093               -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1094               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1095               -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1096               -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1097               -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1098               -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1099               -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1100               -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1101               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1102               -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1103               -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1104               -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1105               < $(srcdir)/stdlib.in.h | \
1106           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1107               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1108               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1109               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1110               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1111               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1112               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1113               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1114               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1115               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1116               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1117               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1118               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1119               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1120               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1121               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1122               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1123               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1124               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1125               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1126               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1127               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1128               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1129               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1130               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1131               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1132               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1133               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1134               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1135               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1136               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1137               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1138               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1139               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1140               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1141               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1142               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1143               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1144               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1145               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1146               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1147               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1148               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1149               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1150               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1151         } > $@-t && \
1152         mv $@-t $@
1153 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1154
1155 EXTRA_DIST += stdlib.in.h
1156
1157 ## end   gnulib module stdlib
1158
1159 ## begin gnulib module strcase
1160
1161
1162 EXTRA_DIST += strcasecmp.c strncasecmp.c
1163
1164 EXTRA_libgnulib_la_SOURCES += strcasecmp.c strncasecmp.c
1165
1166 ## end   gnulib module strcase
1167
1168 ## begin gnulib module strdup-posix
1169
1170
1171 EXTRA_DIST += strdup.c
1172
1173 EXTRA_libgnulib_la_SOURCES += strdup.c
1174
1175 ## end   gnulib module strdup-posix
1176
1177 ## begin gnulib module streq
1178
1179
1180 EXTRA_DIST += streq.h
1181
1182 ## end   gnulib module streq
1183
1184 ## begin gnulib module strerror
1185
1186
1187 EXTRA_DIST += strerror.c
1188
1189 EXTRA_libgnulib_la_SOURCES += strerror.c
1190
1191 ## end   gnulib module strerror
1192
1193 ## begin gnulib module strerror-override
1194
1195
1196 EXTRA_DIST += strerror-override.c strerror-override.h
1197
1198 EXTRA_libgnulib_la_SOURCES += strerror-override.c
1199
1200 ## end   gnulib module strerror-override
1201
1202 ## begin gnulib module string
1203
1204 BUILT_SOURCES += string.h
1205
1206 # We need the following in order to create <string.h> when the system
1207 # doesn't have one that works with the given compiler.
1208 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1209         $(AM_V_GEN)rm -f $@-t $@ && \
1210         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1211           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1212               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1213               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1214               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1215               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1216               -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1217               -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1218               -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1219               -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1220               -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1221               -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1222               -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1223               -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1224               -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1225               -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1226               -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1227               -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1228               -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1229               -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1230               -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1231               -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1232               -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1233               -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1234               -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1235               -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1236               -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1237               -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1238               -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1239               -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1240               -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1241               -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1242               -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1243               -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1244               -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1245               -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1246               -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1247               -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1248               -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1249               -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1250               -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1251               -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1252               -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1253               < $(srcdir)/string.in.h | \
1254           sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1255               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1256               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1257               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1258               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1259               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1260               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1261               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1262               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1263               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1264               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1265               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1266               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1267               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1268               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1269               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1270               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1271               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1272               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1273               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1274               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1275               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1276               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1277               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1278               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1279               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1280               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1281               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1282               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1283               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1284               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1285               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1286               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1287               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1288               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1289               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1290               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1291               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1292               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1293               < $(srcdir)/string.in.h; \
1294         } > $@-t && \
1295         mv $@-t $@
1296 MOSTLYCLEANFILES += string.h string.h-t
1297
1298 EXTRA_DIST += string.in.h
1299
1300 ## end   gnulib module string
1301
1302 ## begin gnulib module strings
1303
1304 BUILT_SOURCES += strings.h
1305
1306 # We need the following in order to create <strings.h> when the system
1307 # doesn't have one that works with the given compiler.
1308 strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1309         $(AM_V_GEN)rm -f $@-t $@ && \
1310         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1311           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1312               -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
1313               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1314               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1315               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1316               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
1317               -e 's|@''GNULIB_FFS''@|$(GNULIB_FFS)|g' \
1318               -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
1319               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
1320               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
1321               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1322               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1323               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1324               < $(srcdir)/strings.in.h; \
1325         } > $@-t && \
1326         mv $@-t $@
1327 MOSTLYCLEANFILES += strings.h strings.h-t
1328
1329 EXTRA_DIST += strings.in.h
1330
1331 ## end   gnulib module strings
1332
1333 ## begin gnulib module strndup
1334
1335
1336 EXTRA_DIST += strndup.c
1337
1338 EXTRA_libgnulib_la_SOURCES += strndup.c
1339
1340 ## end   gnulib module strndup
1341
1342 ## begin gnulib module strnlen
1343
1344
1345 EXTRA_DIST += strnlen.c
1346
1347 EXTRA_libgnulib_la_SOURCES += strnlen.c
1348
1349 ## end   gnulib module strnlen
1350
1351 ## begin gnulib module strtoll
1352
1353
1354 EXTRA_DIST += strtol.c strtoll.c
1355
1356 EXTRA_libgnulib_la_SOURCES += strtol.c strtoll.c
1357
1358 ## end   gnulib module strtoll
1359
1360 ## begin gnulib module strtoull
1361
1362
1363 EXTRA_DIST += strtol.c strtoul.c strtoull.c
1364
1365 EXTRA_libgnulib_la_SOURCES += strtol.c strtoul.c strtoull.c
1366
1367 ## end   gnulib module strtoull
1368
1369 ## begin gnulib module sys_stat
1370
1371 BUILT_SOURCES += sys/stat.h
1372
1373 # We need the following in order to create <sys/stat.h> when the system
1374 # has one that is incomplete.
1375 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1376         $(AM_V_at)$(MKDIR_P) sys
1377         $(AM_V_GEN)rm -f $@-t $@ && \
1378         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1379           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1380               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1381               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1382               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1383               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1384               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1385               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1386               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1387               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1388               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1389               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1390               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1391               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1392               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1393               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1394               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1395               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1396               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1397               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1398               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1399               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1400               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1401               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1402               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1403               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1404               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1405               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1406               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1407               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1408               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1409               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1410               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1411               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1412               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1413               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1414               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1415               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1416               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1417               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1418               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1419               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1420               < $(srcdir)/sys_stat.in.h; \
1421         } > $@-t && \
1422         mv $@-t $@
1423 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1424 MOSTLYCLEANDIRS += sys
1425
1426 EXTRA_DIST += sys_stat.in.h
1427
1428 ## end   gnulib module sys_stat
1429
1430 ## begin gnulib module sys_time
1431
1432 BUILT_SOURCES += sys/time.h
1433
1434 # We need the following in order to create <sys/time.h> when the system
1435 # doesn't have one that works with the given compiler.
1436 sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1437         $(AM_V_at)$(MKDIR_P) sys
1438         $(AM_V_GEN)rm -f $@-t $@ && \
1439         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1440           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1441               -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1442               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1443               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1444               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1445               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1446               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1447               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1448               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1449               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1450               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1451               -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1452               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1453               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1454               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1455               < $(srcdir)/sys_time.in.h; \
1456         } > $@-t && \
1457         mv $@-t $@
1458 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1459
1460 EXTRA_DIST += sys_time.in.h
1461
1462 ## end   gnulib module sys_time
1463
1464 ## begin gnulib module sys_types
1465
1466 BUILT_SOURCES += sys/types.h
1467
1468 # We need the following in order to create <sys/types.h> when the system
1469 # doesn't have one that works with the given compiler.
1470 sys/types.h: sys_types.in.h $(top_builddir)/config.status
1471         $(AM_V_at)$(MKDIR_P) sys
1472         $(AM_V_GEN)rm -f $@-t $@ && \
1473         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1474           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1475               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1476               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1477               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1478               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1479               < $(srcdir)/sys_types.in.h; \
1480         } > $@-t && \
1481         mv $@-t $@
1482 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
1483
1484 EXTRA_DIST += sys_types.in.h
1485
1486 ## end   gnulib module sys_types
1487
1488 ## begin gnulib module tempname
1489
1490 libgnulib_la_SOURCES += tempname.c
1491
1492 EXTRA_DIST += tempname.h
1493
1494 ## end   gnulib module tempname
1495
1496 ## begin gnulib module time
1497
1498 BUILT_SOURCES += time.h
1499
1500 # We need the following in order to create <time.h> when the system
1501 # doesn't have one that works with the given compiler.
1502 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1503         $(AM_V_GEN)rm -f $@-t $@ && \
1504         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1505           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1506               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1507               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1508               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1509               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1510               -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1511               -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1512               -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1513               -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1514               -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1515               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1516               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1517               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1518               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1519               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1520               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1521               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1522               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1523               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1524               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1525               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1526               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1527               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1528               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1529               < $(srcdir)/time.in.h; \
1530         } > $@-t && \
1531         mv $@-t $@
1532 MOSTLYCLEANFILES += time.h time.h-t
1533
1534 EXTRA_DIST += time.in.h
1535
1536 ## end   gnulib module time
1537
1538 ## begin gnulib module unistd
1539
1540 BUILT_SOURCES += unistd.h
1541
1542 # We need the following in order to create an empty placeholder for
1543 # <unistd.h> when the system doesn't have one.
1544 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1545         $(AM_V_GEN)rm -f $@-t $@ && \
1546         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1547           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1548               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1549               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1550               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1551               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1552               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1553               -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1554               -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1555               -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1556               -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1557               -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1558               -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1559               -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1560               -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1561               -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1562               -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1563               -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1564               -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1565               -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1566               -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1567               -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1568               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1569               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1570               -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1571               -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1572               -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1573               -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1574               -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1575               -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1576               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1577               -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1578               -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1579               -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1580               -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1581               -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1582               -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1583               -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1584               -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1585               -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1586               -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1587               -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1588               -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1589               -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1590               -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1591               -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1592               -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1593               -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1594               -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1595               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1596               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1597               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1598               -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1599               -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1600               -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1601               -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1602               < $(srcdir)/unistd.in.h | \
1603           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1604               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1605               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1606               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1607               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1608               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1609               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1610               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1611               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1612               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1613               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1614               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1615               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1616               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1617               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1618               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1619               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1620               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1621               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1622               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1623               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1624               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1625               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1626               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1627               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1628               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1629               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1630               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1631               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1632               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1633               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1634               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1635               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1636               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1637               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1638               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1639               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1640               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1641               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1642               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1643               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1644               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1645           | \
1646           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1647               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1648               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1649               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1650               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1651               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1652               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1653               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1654               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1655               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1656               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1657               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1658               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1659               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1660               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1661               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1662               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1663               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1664               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1665               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1666               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1667               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1668               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1669               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1670               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1671               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1672               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1673               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1674               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1675               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1676               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1677               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1678         } > $@-t && \
1679         mv $@-t $@
1680 MOSTLYCLEANFILES += unistd.h unistd.h-t
1681
1682 EXTRA_DIST += unistd.in.h
1683
1684 ## end   gnulib module unistd
1685
1686 ## begin gnulib module unlink
1687
1688
1689 EXTRA_DIST += unlink.c
1690
1691 EXTRA_libgnulib_la_SOURCES += unlink.c
1692
1693 ## end   gnulib module unlink
1694
1695 ## begin gnulib module update-copyright
1696
1697
1698 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1699
1700 ## end   gnulib module update-copyright
1701
1702 ## begin gnulib module useless-if-before-free
1703
1704
1705 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1706
1707 ## end   gnulib module useless-if-before-free
1708
1709 ## begin gnulib module usleep
1710
1711
1712 EXTRA_DIST += usleep.c
1713
1714 EXTRA_libgnulib_la_SOURCES += usleep.c
1715
1716 ## end   gnulib module usleep
1717
1718 ## begin gnulib module vc-list-files
1719
1720
1721 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1722
1723 ## end   gnulib module vc-list-files
1724
1725 ## begin gnulib module verify
1726
1727
1728 EXTRA_DIST += verify.h
1729
1730 ## end   gnulib module verify
1731
1732 ## begin gnulib module version-etc
1733
1734 libgnulib_la_SOURCES += version-etc.h version-etc.c
1735
1736 ## end   gnulib module version-etc
1737
1738 ## begin gnulib module version-etc-fsf
1739
1740 libgnulib_la_SOURCES += version-etc-fsf.c
1741
1742 ## end   gnulib module version-etc-fsf
1743
1744 ## begin gnulib module wchar
1745
1746 BUILT_SOURCES += wchar.h
1747
1748 # We need the following in order to create <wchar.h> when the system
1749 # version does not work standalone.
1750 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1751         $(AM_V_GEN)rm -f $@-t $@ && \
1752         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1753           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1754               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1755               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1756               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1757               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
1758               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1759               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1760               -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
1761               -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
1762               -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
1763               -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
1764               -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
1765               -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
1766               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
1767               -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
1768               -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
1769               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
1770               -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
1771               -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
1772               -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
1773               -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
1774               -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
1775               -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
1776               -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
1777               -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
1778               -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
1779               -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
1780               -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
1781               -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
1782               -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
1783               -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
1784               -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
1785               -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
1786               -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
1787               -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
1788               -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
1789               -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
1790               -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
1791               -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
1792               -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
1793               -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
1794               -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
1795               -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
1796               -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
1797               -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
1798               -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
1799               < $(srcdir)/wchar.in.h | \
1800           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1801               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1802               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1803               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1804               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1805               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1806               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1807               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1808               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1809               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1810               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
1811               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
1812               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
1813               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
1814               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
1815               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
1816               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
1817               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
1818               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
1819               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
1820               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
1821               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
1822               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
1823               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
1824               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
1825               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
1826               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
1827               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
1828               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
1829               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
1830               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
1831               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
1832               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
1833               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
1834               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
1835               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
1836               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
1837               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
1838               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1839               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1840           | \
1841           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1842               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1843               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1844               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1845               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1846               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1847               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1848               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1849               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1850               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1851               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1852               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1853               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
1854               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1855               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1856               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1857         } > $@-t && \
1858         mv $@-t $@
1859 MOSTLYCLEANFILES += wchar.h wchar.h-t
1860
1861 EXTRA_DIST += wchar.in.h
1862
1863 ## end   gnulib module wchar
1864
1865 ## begin gnulib module wcrtomb
1866
1867
1868 EXTRA_DIST += wcrtomb.c
1869
1870 EXTRA_libgnulib_la_SOURCES += wcrtomb.c
1871
1872 ## end   gnulib module wcrtomb
1873
1874 ## begin gnulib module wctype-h
1875
1876 BUILT_SOURCES += wctype.h
1877
1878 # We need the following in order to create <wctype.h> when the system
1879 # doesn't have one that works with the given compiler.
1880 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
1881         $(AM_V_GEN)rm -f $@-t $@ && \
1882         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1883           sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1884               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1885               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1886               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1887               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1888               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1889               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
1890               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
1891               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
1892               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
1893               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
1894               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1895               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1896               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
1897               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
1898               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1899               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
1900               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1901               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
1902               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1903               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1904               < $(srcdir)/wctype.in.h; \
1905         } > $@-t && \
1906         mv $@-t $@
1907 MOSTLYCLEANFILES += wctype.h wctype.h-t
1908
1909 EXTRA_DIST += wctype.in.h
1910
1911 ## end   gnulib module wctype-h
1912
1913 ## begin gnulib module xalloc
1914
1915 libgnulib_la_SOURCES += xmalloc.c
1916
1917 EXTRA_DIST += xalloc.h
1918
1919 ## end   gnulib module xalloc
1920
1921 ## begin gnulib module xalloc-die
1922
1923 libgnulib_la_SOURCES += xalloc-die.c
1924
1925 ## end   gnulib module xalloc-die
1926
1927 ## begin gnulib module xalloc-oversized
1928
1929
1930 EXTRA_DIST += xalloc-oversized.h
1931
1932 ## end   gnulib module xalloc-oversized
1933
1934 ## begin gnulib module xstrndup
1935
1936 libgnulib_la_SOURCES += xstrndup.h xstrndup.c
1937
1938 ## end   gnulib module xstrndup
1939
1940 ## begin gnulib module xstrtol
1941
1942 libgnulib_la_SOURCES += xstrtol.c xstrtoul.c xstrtol-error.c
1943
1944 EXTRA_DIST += xstrtol.h
1945
1946 ## end   gnulib module xstrtol
1947
1948 ## begin gnulib module xstrtoll
1949
1950
1951 EXTRA_DIST += xstrtoll.c xstrtoull.c
1952
1953 EXTRA_libgnulib_la_SOURCES += xstrtoll.c xstrtoull.c
1954
1955 ## end   gnulib module xstrtoll
1956
1957
1958 mostlyclean-local: mostlyclean-generic
1959         @for dir in '' $(MOSTLYCLEANDIRS); do \
1960           if test -n "$$dir" && test -d $$dir; then \
1961             echo "rmdir $$dir"; rmdir $$dir; \
1962           fi; \
1963         done; \
1964         :