1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2020 Free Software Foundation, Inc.
4#
5# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
9#
10# This file is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this file.  If not, see <https://www.gnu.org/licenses/>.
17#
18# As a special exception to the GNU General Public License,
19# this file may be distributed as part of a program that
20# contains a configuration script generated by Autoconf, under
21# the same distribution terms as the rest of that program.
22#
23# Generated by gnulib-tool.
24# Reproduce by:
25# gnulib-tool --import --local-dir=gl \
26#  --lib=libsed \
27#  --source-base=lib \
28#  --m4-base=m4 \
29#  --doc-base=doc \
30#  --tests-base=gnulib-tests \
31#  --aux-dir=build-aux \
32#  --with-tests \
33#  --makefile-name=gnulib.mk \
34#  --no-conditional-dependencies \
35#  --no-libtool \
36#  --macro-prefix=gl \
37#  --avoid=lock-tests \
38#  acl \
39#  alloca \
40#  binary-io \
41#  btowc \
42#  c-ctype \
43#  closeout \
44#  dfa \
45#  extensions \
46#  fdl \
47#  fwriting \
48#  getdelim \
49#  getopt \
50#  gettext-h \
51#  git-version-gen \
52#  gitlog-to-changelog \
53#  ignore-value \
54#  localcharset \
55#  manywarnings \
56#  mbrlen \
57#  mbrtowc \
58#  mbsinit \
59#  memchr \
60#  memrchr \
61#  mkostemp \
62#  non-recursive-gnulib-prefix-hack \
63#  obstack \
64#  perl \
65#  progname \
66#  readme-release \
67#  regex \
68#  rename \
69#  selinux-h \
70#  ssize_t \
71#  stat-macros \
72#  stdalign \
73#  stdbool \
74#  strerror \
75#  strverscmp \
76#  unlocked-io \
77#  update-copyright \
78#  verify \
79#  version-etc-fsf \
80#  wcrtomb \
81#  wctob \
82#  xalloc
83
84
85MOSTLYCLEANFILES += lib/core lib/*.stackdump
86# No GNU Make output.
87
88noinst_LIBRARIES += lib/libsed.a
89
90lib_libsed_a_SOURCES =
91lib_libsed_a_LIBADD = $(gl_LIBOBJS)
92lib_libsed_a_DEPENDENCIES = $(gl_LIBOBJS)
93EXTRA_lib_libsed_a_SOURCES =
94
95## begin gnulib module absolute-header
96
97# Use this preprocessor expression to decide whether #include_next works.
98# Do not rely on a 'configure'-time test for this, since the expression
99# might appear in an installed header, which is used by some other compiler.
100HAVE_INCLUDE_NEXT = (__GNUC__ || 60000000 <= __DECC_VER)
101
102## end   gnulib module absolute-header
103
104## begin gnulib module acl
105
106lib_libsed_a_SOURCES += lib/copy-acl.c lib/set-acl.c
107
108## end   gnulib module acl
109
110## begin gnulib module acl-permissions
111
112lib_libsed_a_SOURCES += lib/acl-errno-valid.c lib/acl-internal.c    lib/get-permissions.c lib/set-permissions.c
113
114EXTRA_DIST += lib/acl-internal.h lib/acl.h lib/acl_entries.c
115
116EXTRA_lib_libsed_a_SOURCES += lib/acl_entries.c
117
118## end   gnulib module acl-permissions
119
120## begin gnulib module alignof
121
122
123EXTRA_DIST += lib/alignof.h
124
125## end   gnulib module alignof
126
127## begin gnulib module alloca
128
129
130lib_libsed_a_LIBADD += @ALLOCA@
131lib_libsed_a_DEPENDENCIES += @ALLOCA@
132EXTRA_DIST += lib/alloca.c
133
134EXTRA_lib_libsed_a_SOURCES += lib/alloca.c
135
136## end   gnulib module alloca
137
138## begin gnulib module alloca-opt
139
140BUILT_SOURCES += $(ALLOCA_H)
141
142# We need the following in order to create <alloca.h> when the system
143# doesn't have one that works with the given compiler.
144if GL_GENERATE_ALLOCA_H
145lib/alloca.h: lib/alloca.in.h $(top_builddir)/config.status
146	$(AM_V_GEN)rm -f $@-t $@ && \
147	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
148	  sed -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' < $(top_srcdir)/lib/alloca.in.h; \
149	} > $@-t && \
150	mv -f $@-t $@
151else
152lib/alloca.h: $(top_builddir)/config.status
153	rm -f $@
154endif
155MOSTLYCLEANFILES += lib/alloca.h lib/alloca.h-t
156
157EXTRA_DIST += lib/alloca.in.h
158
159## end   gnulib module alloca-opt
160
161## begin gnulib module announce-gen
162
163
164EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
165
166## end   gnulib module announce-gen
167
168## begin gnulib module binary-io
169
170lib_libsed_a_SOURCES += lib/binary-io.h lib/binary-io.c
171
172## end   gnulib module binary-io
173
174## begin gnulib module btowc
175
176
177EXTRA_DIST += lib/btowc.c
178
179EXTRA_lib_libsed_a_SOURCES += lib/btowc.c
180
181## end   gnulib module btowc
182
183## begin gnulib module c-ctype
184
185lib_libsed_a_SOURCES += lib/c-ctype.h lib/c-ctype.c
186
187## end   gnulib module c-ctype
188
189## begin gnulib module c-strcase
190
191lib_libsed_a_SOURCES += lib/c-strcase.h lib/c-strcasecmp.c lib/c-strncasecmp.c
192
193## end   gnulib module c-strcase
194
195## begin gnulib module c-strcaseeq
196
197
198EXTRA_DIST += lib/c-strcaseeq.h
199
200## end   gnulib module c-strcaseeq
201
202## begin gnulib module canonicalize-lgpl
203
204
205EXTRA_DIST += lib/canonicalize-lgpl.c
206
207EXTRA_lib_libsed_a_SOURCES += lib/canonicalize-lgpl.c
208
209## end   gnulib module canonicalize-lgpl
210
211## begin gnulib module close-stream
212
213lib_libsed_a_SOURCES += lib/close-stream.c
214
215EXTRA_DIST += lib/close-stream.h
216
217## end   gnulib module close-stream
218
219## begin gnulib module closeout
220
221lib_libsed_a_SOURCES += lib/closeout.c
222
223EXTRA_DIST += lib/closeout.h
224
225## end   gnulib module closeout
226
227## begin gnulib module ctype
228
229BUILT_SOURCES += lib/ctype.h
230
231# We need the following in order to create <ctype.h> when the system
232# doesn't have one that works with the given compiler.
233lib/ctype.h: lib/ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
234	$(AM_V_GEN)rm -f $@-t $@ && \
235	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
236	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
237	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
238	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
239	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
240	      -e 's|@''NEXT_CTYPE_H''@|$(NEXT_CTYPE_H)|g' \
241	      -e 's/@''GNULIB_ISBLANK''@/$(GNULIB_ISBLANK)/g' \
242	      -e 's/@''HAVE_ISBLANK''@/$(HAVE_ISBLANK)/g' \
243	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
244	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
245	      < $(top_srcdir)/lib/ctype.in.h; \
246	} > $@-t && \
247	mv $@-t $@
248MOSTLYCLEANFILES += lib/ctype.h lib/ctype.h-t
249
250EXTRA_DIST += lib/ctype.in.h
251
252## end   gnulib module ctype
253
254## begin gnulib module dfa
255
256lib_libsed_a_SOURCES += lib/dfa.c lib/localeinfo.c
257
258EXTRA_DIST += lib/dfa.h lib/localeinfo.h
259
260## end   gnulib module dfa
261
262## begin gnulib module dirname-lgpl
263
264lib_libsed_a_SOURCES += lib/dirname-lgpl.c lib/basename-lgpl.c lib/stripslash.c
265
266EXTRA_DIST += lib/dirname.h
267
268## end   gnulib module dirname-lgpl
269
270## begin gnulib module do-release-commit-and-tag
271
272
273EXTRA_DIST += $(top_srcdir)/build-aux/do-release-commit-and-tag
274
275## end   gnulib module do-release-commit-and-tag
276
277## begin gnulib module dosname
278
279
280EXTRA_DIST += lib/dosname.h
281
282## end   gnulib module dosname
283
284## begin gnulib module errno
285
286BUILT_SOURCES += $(ERRNO_H)
287
288# We need the following in order to create <errno.h> when the system
289# doesn't have one that is POSIX compliant.
290if GL_GENERATE_ERRNO_H
291lib/errno.h: lib/errno.in.h $(top_builddir)/config.status
292	$(AM_V_GEN)rm -f $@-t $@ && \
293	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
294	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
295	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
296	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
297	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
298	      -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
299	      -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
300	      -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
301	      -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
302	      -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
303	      -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
304	      -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
305	      < $(top_srcdir)/lib/errno.in.h; \
306	} > $@-t && \
307	mv $@-t $@
308else
309lib/errno.h: $(top_builddir)/config.status
310	rm -f $@
311endif
312MOSTLYCLEANFILES += lib/errno.h lib/errno.h-t
313
314EXTRA_DIST += lib/errno.in.h
315
316## end   gnulib module errno
317
318## begin gnulib module error
319
320
321EXTRA_DIST += lib/error.c lib/error.h
322
323EXTRA_lib_libsed_a_SOURCES += lib/error.c
324
325## end   gnulib module error
326
327## begin gnulib module exitfail
328
329lib_libsed_a_SOURCES += lib/exitfail.c
330
331EXTRA_DIST += lib/exitfail.h
332
333## end   gnulib module exitfail
334
335## begin gnulib module fcntl-h
336
337BUILT_SOURCES += lib/fcntl.h
338
339# We need the following in order to create <fcntl.h> when the system
340# doesn't have one that works with the given compiler.
341lib/fcntl.h: lib/fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
342	$(AM_V_GEN)rm -f $@-t $@ && \
343	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
344	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
345	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
346	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
347	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
348	      -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
349	      -e 's/@''GNULIB_CREAT''@/$(GNULIB_CREAT)/g' \
350	      -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
351	      -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
352	      -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
353	      -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
354	      -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
355	      -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
356	      -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \
357	      -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
358	      -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
359	      -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
360	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
361	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
362	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
363	      < $(top_srcdir)/lib/fcntl.in.h; \
364	} > $@-t && \
365	mv $@-t $@
366MOSTLYCLEANFILES += lib/fcntl.h lib/fcntl.h-t
367
368EXTRA_DIST += lib/fcntl.in.h
369
370## end   gnulib module fcntl-h
371
372## begin gnulib module filename
373
374
375EXTRA_DIST += lib/filename.h
376
377## end   gnulib module filename
378
379## begin gnulib module flexmember
380
381
382EXTRA_DIST += lib/flexmember.h
383
384## end   gnulib module flexmember
385
386## begin gnulib module fpending
387
388
389EXTRA_DIST += lib/fpending.c lib/fpending.h lib/stdio-impl.h
390
391EXTRA_lib_libsed_a_SOURCES += lib/fpending.c
392
393## end   gnulib module fpending
394
395## begin gnulib module fstat
396
397
398EXTRA_DIST += lib/fstat.c lib/stat-w32.c lib/stat-w32.h
399
400EXTRA_lib_libsed_a_SOURCES += lib/fstat.c lib/stat-w32.c
401
402## end   gnulib module fstat
403
404## begin gnulib module fwriting
405
406
407EXTRA_DIST += lib/fwriting.c lib/fwriting.h lib/stdio-impl.h
408
409EXTRA_lib_libsed_a_SOURCES += lib/fwriting.c
410
411## end   gnulib module fwriting
412
413## begin gnulib module gendocs
414
415
416EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
417
418## end   gnulib module gendocs
419
420## begin gnulib module getdelim
421
422
423EXTRA_DIST += lib/getdelim.c
424
425EXTRA_lib_libsed_a_SOURCES += lib/getdelim.c
426
427## end   gnulib module getdelim
428
429## begin gnulib module getopt-posix
430
431BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
432
433# We need the following in order to create <getopt.h> when the system
434# doesn't have one that works with the given compiler.
435lib/getopt.h: lib/getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
436	$(AM_V_GEN)rm -f $@-t $@ && \
437	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
438	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
439	      -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
440	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
441	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
442	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
443	      -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
444	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
445	      < $(top_srcdir)/lib/getopt.in.h; \
446	} > $@-t && \
447	mv -f $@-t $@
448
449lib/getopt-cdefs.h: lib/getopt-cdefs.in.h $(top_builddir)/config.status
450	$(AM_V_GEN)rm -f $@-t $@ && \
451	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
452          sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
453	      < $(top_srcdir)/lib/getopt-cdefs.in.h; \
454	} > $@-t && \
455	mv -f $@-t $@
456
457MOSTLYCLEANFILES += lib/getopt.h lib/getopt.h-t lib/getopt-cdefs.h lib/getopt-cdefs.h-t
458
459EXTRA_DIST += lib/getopt-cdefs.in.h lib/getopt-core.h lib/getopt-ext.h lib/getopt-pfx-core.h lib/getopt-pfx-ext.h lib/getopt.c lib/getopt.in.h lib/getopt1.c lib/getopt_int.h
460
461EXTRA_lib_libsed_a_SOURCES += lib/getopt.c lib/getopt1.c
462
463## end   gnulib module getopt-posix
464
465## begin gnulib module getprogname
466
467lib_libsed_a_SOURCES += lib/getprogname.h lib/getprogname.c
468
469## end   gnulib module getprogname
470
471## begin gnulib module gettext-h
472
473lib_libsed_a_SOURCES += lib/gettext.h
474
475## end   gnulib module gettext-h
476
477## begin gnulib module gettimeofday
478
479
480EXTRA_DIST += lib/gettimeofday.c
481
482EXTRA_lib_libsed_a_SOURCES += lib/gettimeofday.c
483
484## end   gnulib module gettimeofday
485
486## begin gnulib module git-version-gen
487
488
489EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
490
491## end   gnulib module git-version-gen
492
493## begin gnulib module gitlog-to-changelog
494
495
496EXTRA_DIST += $(top_srcdir)/build-aux/gitlog-to-changelog
497
498## end   gnulib module gitlog-to-changelog
499
500## begin gnulib module gnu-web-doc-update
501
502
503EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
504
505## end   gnulib module gnu-web-doc-update
506
507## begin gnulib module gnumakefile
508
509EXTRA_DIST += $(top_srcdir)/GNUmakefile
510distclean-local: clean-GNUmakefile
511clean-GNUmakefile:
512	test '$(srcdir)' = . || rm -f $(top_builddir)/GNUmakefile
513
514## end   gnulib module gnumakefile
515
516## begin gnulib module gnupload
517
518
519EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
520
521## end   gnulib module gnupload
522
523## begin gnulib module hard-locale
524
525lib_libsed_a_SOURCES += lib/hard-locale.c
526
527EXTRA_DIST += lib/hard-locale.h
528
529## end   gnulib module hard-locale
530
531## begin gnulib module ignore-value
532
533
534EXTRA_DIST += lib/ignore-value.h
535
536## end   gnulib module ignore-value
537
538## begin gnulib module intprops
539
540
541EXTRA_DIST += lib/intprops.h
542
543## end   gnulib module intprops
544
545## begin gnulib module inttypes-incomplete
546
547BUILT_SOURCES += lib/inttypes.h
548
549# We need the following in order to create <inttypes.h> when the system
550# doesn't have one that works with the given compiler.
551lib/inttypes.h: lib/inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
552	$(AM_V_GEN)rm -f $@-t $@ && \
553	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
554	  sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_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_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
559	      -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
560	      -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
561	      -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
562	      -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \
563	      -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \
564	      -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \
565	      -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \
566	      -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
567	      -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
568	      -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
569	      -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
570	      -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
571	      -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
572	      -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
573	      -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
574	      -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
575	      -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
576	      -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
577	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
578	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
579	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
580	      < $(top_srcdir)/lib/inttypes.in.h; \
581	} > $@-t && \
582	mv $@-t $@
583MOSTLYCLEANFILES += lib/inttypes.h lib/inttypes.h-t
584
585EXTRA_DIST += lib/inttypes.in.h
586
587## end   gnulib module inttypes-incomplete
588
589## begin gnulib module isblank
590
591
592EXTRA_DIST += lib/isblank.c
593
594EXTRA_lib_libsed_a_SOURCES += lib/isblank.c
595
596## end   gnulib module isblank
597
598## begin gnulib module langinfo
599
600BUILT_SOURCES += lib/langinfo.h
601
602# We need the following in order to create an empty placeholder for
603# <langinfo.h> when the system doesn't have one.
604lib/langinfo.h: lib/langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
605	$(AM_V_GEN)rm -f $@-t $@ && \
606	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
607	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
608	      -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
609	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
610	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
611	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
612	      -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
613	      -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
614	      -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
615	      -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
616	      -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
617	      -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
618	      -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
619	      -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
620	      -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
621	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
622	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
623	      < $(top_srcdir)/lib/langinfo.in.h; \
624	} > $@-t && \
625	mv $@-t $@
626MOSTLYCLEANFILES += lib/langinfo.h lib/langinfo.h-t
627
628EXTRA_DIST += lib/langinfo.in.h
629
630## end   gnulib module langinfo
631
632## begin gnulib module libc-config
633
634
635EXTRA_DIST += lib/cdefs.h lib/libc-config.h
636
637## end   gnulib module libc-config
638
639## begin gnulib module limits-h
640
641BUILT_SOURCES += $(LIMITS_H)
642
643# We need the following in order to create <limits.h> when the system
644# doesn't have one that is compatible with GNU.
645if GL_GENERATE_LIMITS_H
646lib/limits.h: lib/limits.in.h $(top_builddir)/config.status
647	$(AM_V_GEN)rm -f $@-t $@ && \
648	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
649	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
650	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
651	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
652	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
653	      -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
654	      < $(top_srcdir)/lib/limits.in.h; \
655	} > $@-t && \
656	mv $@-t $@
657else
658lib/limits.h: $(top_builddir)/config.status
659	rm -f $@
660endif
661MOSTLYCLEANFILES += lib/limits.h lib/limits.h-t
662
663EXTRA_DIST += lib/limits.in.h
664
665## end   gnulib module limits-h
666
667## begin gnulib module localcharset
668
669lib_libsed_a_SOURCES += lib/localcharset.c
670
671EXTRA_DIST += lib/localcharset.h
672
673## end   gnulib module localcharset
674
675## begin gnulib module locale
676
677BUILT_SOURCES += lib/locale.h
678
679# We need the following in order to create <locale.h> when the system
680# doesn't have one that provides all definitions.
681lib/locale.h: lib/locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
682	$(AM_V_GEN)rm -f $@-t $@ && \
683	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
684	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
685	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
686	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
687	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
688	      -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
689	      -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \
690	      -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \
691	      -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GNULIB_SETLOCALE_NULL)/g' \
692	      -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \
693	      -e 's/@''GNULIB_LOCALENAME''@/$(GNULIB_LOCALENAME)/g' \
694	      -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
695	      -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
696	      -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
697	      -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
698	      -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
699	      -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
700	      -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
701	      -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
702	      -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
703	      -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
704	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
705	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
706	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
707	      < $(top_srcdir)/lib/locale.in.h; \
708	} > $@-t && \
709	mv $@-t $@
710MOSTLYCLEANFILES += lib/locale.h lib/locale.h-t
711
712EXTRA_DIST += lib/locale.in.h
713
714## end   gnulib module locale
715
716## begin gnulib module localeconv
717
718
719EXTRA_DIST += lib/localeconv.c
720
721EXTRA_lib_libsed_a_SOURCES += lib/localeconv.c
722
723## end   gnulib module localeconv
724
725## begin gnulib module localtime-buffer
726
727
728EXTRA_DIST += lib/localtime-buffer.c lib/localtime-buffer.h
729
730EXTRA_lib_libsed_a_SOURCES += lib/localtime-buffer.c
731
732## end   gnulib module localtime-buffer
733
734## begin gnulib module lock
735
736lib_libsed_a_SOURCES += lib/glthread/lock.h lib/glthread/lock.c
737
738## end   gnulib module lock
739
740## begin gnulib module lstat
741
742
743EXTRA_DIST += lib/lstat.c
744
745EXTRA_lib_libsed_a_SOURCES += lib/lstat.c
746
747## end   gnulib module lstat
748
749## begin gnulib module maintainer-makefile
750
751EXTRA_DIST += $(top_srcdir)/maint.mk
752
753## end   gnulib module maintainer-makefile
754
755## begin gnulib module malloc-posix
756
757
758EXTRA_DIST += lib/malloc.c
759
760EXTRA_lib_libsed_a_SOURCES += lib/malloc.c
761
762## end   gnulib module malloc-posix
763
764## begin gnulib module malloca
765
766lib_libsed_a_SOURCES += lib/malloca.c
767
768EXTRA_DIST += lib/malloca.h
769
770## end   gnulib module malloca
771
772## begin gnulib module mbrlen
773
774
775EXTRA_DIST += lib/mbrlen.c
776
777EXTRA_lib_libsed_a_SOURCES += lib/mbrlen.c
778
779## end   gnulib module mbrlen
780
781## begin gnulib module mbrtowc
782
783
784EXTRA_DIST += lib/lc-charset-dispatch.c lib/lc-charset-dispatch.h lib/mbrtowc-impl-utf8.h lib/mbrtowc-impl.h lib/mbrtowc.c lib/mbtowc-lock.c lib/mbtowc-lock.h lib/windows-initguard.h
785
786EXTRA_lib_libsed_a_SOURCES += lib/lc-charset-dispatch.c lib/mbrtowc.c lib/mbtowc-lock.c
787
788## end   gnulib module mbrtowc
789
790## begin gnulib module mbsinit
791
792
793EXTRA_DIST += lib/mbsinit.c
794
795EXTRA_lib_libsed_a_SOURCES += lib/mbsinit.c
796
797## end   gnulib module mbsinit
798
799## begin gnulib module mbtowc
800
801
802EXTRA_DIST += lib/mbtowc-impl.h lib/mbtowc.c
803
804EXTRA_lib_libsed_a_SOURCES += lib/mbtowc.c
805
806## end   gnulib module mbtowc
807
808## begin gnulib module memchr
809
810
811EXTRA_DIST += lib/memchr.c lib/memchr.valgrind
812
813EXTRA_lib_libsed_a_SOURCES += lib/memchr.c
814
815## end   gnulib module memchr
816
817## begin gnulib module memrchr
818
819
820EXTRA_DIST += lib/memrchr.c
821
822EXTRA_lib_libsed_a_SOURCES += lib/memrchr.c
823
824## end   gnulib module memrchr
825
826## begin gnulib module minmax
827
828lib_libsed_a_SOURCES += lib/minmax.h
829
830## end   gnulib module minmax
831
832## begin gnulib module mkdir
833
834
835EXTRA_DIST += lib/mkdir.c
836
837EXTRA_lib_libsed_a_SOURCES += lib/mkdir.c
838
839## end   gnulib module mkdir
840
841## begin gnulib module mkostemp
842
843
844EXTRA_DIST += lib/mkostemp.c
845
846EXTRA_lib_libsed_a_SOURCES += lib/mkostemp.c
847
848## end   gnulib module mkostemp
849
850## begin gnulib module msvc-inval
851
852
853EXTRA_DIST += lib/msvc-inval.c lib/msvc-inval.h
854
855EXTRA_lib_libsed_a_SOURCES += lib/msvc-inval.c
856
857## end   gnulib module msvc-inval
858
859## begin gnulib module msvc-nothrow
860
861
862EXTRA_DIST += lib/msvc-nothrow.c lib/msvc-nothrow.h
863
864EXTRA_lib_libsed_a_SOURCES += lib/msvc-nothrow.c
865
866## end   gnulib module msvc-nothrow
867
868## begin gnulib module nl_langinfo
869
870
871EXTRA_DIST += lib/nl_langinfo.c
872
873EXTRA_lib_libsed_a_SOURCES += lib/nl_langinfo.c
874
875## end   gnulib module nl_langinfo
876
877## begin gnulib module non-recursive-gnulib-prefix-hack
878
879
880EXTRA_DIST += $(top_srcdir)/build-aux/prefix-gnulib-mk
881
882## end   gnulib module non-recursive-gnulib-prefix-hack
883
884## begin gnulib module obstack
885
886
887EXTRA_DIST += lib/obstack.c lib/obstack.h
888
889EXTRA_lib_libsed_a_SOURCES += lib/obstack.c
890
891## end   gnulib module obstack
892
893## begin gnulib module pathmax
894
895
896EXTRA_DIST += lib/pathmax.h
897
898## end   gnulib module pathmax
899
900## begin gnulib module progname
901
902lib_libsed_a_SOURCES += lib/progname.h lib/progname.c
903
904## end   gnulib module progname
905
906## begin gnulib module qcopy-acl
907
908lib_libsed_a_SOURCES += lib/qcopy-acl.c
909
910## end   gnulib module qcopy-acl
911
912## begin gnulib module qset-acl
913
914lib_libsed_a_SOURCES += lib/qset-acl.c
915
916## end   gnulib module qset-acl
917
918## begin gnulib module quote
919
920
921EXTRA_DIST += lib/quote.h
922
923## end   gnulib module quote
924
925## begin gnulib module quotearg
926
927lib_libsed_a_SOURCES += lib/quotearg.c
928
929EXTRA_DIST += lib/quote.h lib/quotearg.h
930
931## end   gnulib module quotearg
932
933## begin gnulib module readlink
934
935
936EXTRA_DIST += lib/readlink.c
937
938EXTRA_lib_libsed_a_SOURCES += lib/readlink.c
939
940## end   gnulib module readlink
941
942## begin gnulib module regex
943
944
945EXTRA_DIST += lib/regcomp.c lib/regex.c lib/regex.h lib/regex_internal.c lib/regex_internal.h lib/regexec.c
946
947EXTRA_lib_libsed_a_SOURCES += lib/regcomp.c lib/regex.c lib/regex_internal.c lib/regexec.c
948
949## end   gnulib module regex
950
951## begin gnulib module rename
952
953
954EXTRA_DIST += lib/rename.c
955
956EXTRA_lib_libsed_a_SOURCES += lib/rename.c
957
958## end   gnulib module rename
959
960## begin gnulib module rmdir
961
962
963EXTRA_DIST += lib/rmdir.c
964
965EXTRA_lib_libsed_a_SOURCES += lib/rmdir.c
966
967## end   gnulib module rmdir
968
969## begin gnulib module same-inode
970
971
972EXTRA_DIST += lib/same-inode.h
973
974## end   gnulib module same-inode
975
976## begin gnulib module selinux-h
977
978lib_libsed_a_SOURCES += lib/se-context.in.h lib/se-selinux.in.h lib/se-context.c lib/se-selinux.c
979
980BUILT_SOURCES += lib/selinux/selinux.h
981lib/selinux/selinux.h: lib/se-selinux.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
982	$(AM_V_at)$(MKDIR_P) lib/selinux
983	$(AM_V_GEN)rm -f $@-t $@ && \
984	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
985	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
986	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
987	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
988	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
989	      -e 's|@''NEXT_SELINUX_SELINUX_H''@|$(NEXT_SELINUX_SELINUX_H)|g' \
990	      -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
991	      < $(top_srcdir)/lib/se-selinux.in.h; \
992	} > $@-t && \
993	chmod a-x $@-t && \
994	mv $@-t $@
995MOSTLYCLEANFILES += lib/selinux/selinux.h lib/selinux/selinux.h-t
996
997BUILT_SOURCES += $(SELINUX_CONTEXT_H)
998if GL_GENERATE_SELINUX_CONTEXT_H
999lib/selinux/context.h: lib/se-context.in.h $(top_builddir)/config.status $(UNUSED_PARAMETER_H)
1000	$(AM_V_at)$(MKDIR_P) lib/selinux
1001	$(AM_V_GEN)rm -f $@-t $@ && \
1002	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1003	  sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \
1004	      < $(top_srcdir)/lib/se-context.in.h; \
1005	} > $@-t && \
1006	chmod a-x $@-t && \
1007	mv $@-t $@
1008else
1009lib/selinux/context.h: $(top_builddir)/config.status
1010	rm -f $@
1011endif
1012MOSTLYCLEANFILES += lib/selinux/context.h lib/selinux/context.h-t
1013MOSTLYCLEANDIRS += lib/selinux
1014
1015EXTRA_DIST += lib/getfilecon.c
1016
1017EXTRA_lib_libsed_a_SOURCES += lib/getfilecon.c
1018
1019## end   gnulib module selinux-h
1020
1021## begin gnulib module setlocale-null
1022
1023lib_libsed_a_SOURCES += lib/setlocale_null.c
1024
1025EXTRA_DIST += lib/setlocale-lock.c lib/setlocale_null.h lib/windows-initguard.h
1026
1027EXTRA_lib_libsed_a_SOURCES += lib/setlocale-lock.c
1028
1029## end   gnulib module setlocale-null
1030
1031## begin gnulib module snippet/_Noreturn
1032
1033# Because this Makefile snippet defines a variable used by other
1034# gnulib Makefile snippets, it must be present in all makefiles that
1035# need it. This is ensured by the applicability 'all' defined above.
1036
1037_NORETURN_H=$(top_srcdir)/lib/_Noreturn.h
1038
1039EXTRA_DIST += lib/_Noreturn.h
1040
1041## end   gnulib module snippet/_Noreturn
1042
1043## begin gnulib module snippet/arg-nonnull
1044
1045# Because this Makefile snippet defines a variable used by other
1046# gnulib Makefile snippets, it must be present in all makefiles that
1047# need it. This is ensured by the applicability 'all' defined above.
1048
1049ARG_NONNULL_H=$(top_srcdir)/lib/arg-nonnull.h
1050
1051EXTRA_DIST += lib/arg-nonnull.h
1052
1053## end   gnulib module snippet/arg-nonnull
1054
1055## begin gnulib module snippet/c++defs
1056
1057# Because this Makefile snippet defines a variable used by other
1058# gnulib Makefile snippets, it must be present in all makefiles that
1059# need it. This is ensured by the applicability 'all' defined above.
1060
1061CXXDEFS_H=$(top_srcdir)/lib/c++defs.h
1062
1063EXTRA_DIST += lib/c++defs.h
1064
1065## end   gnulib module snippet/c++defs
1066
1067## begin gnulib module snippet/unused-parameter
1068
1069# Because this Makefile snippet defines a variable used by other
1070# gnulib Makefile snippets, it must be present in all makefiles that
1071# need it. This is ensured by the applicability 'all' defined above.
1072
1073UNUSED_PARAMETER_H=$(top_srcdir)/lib/unused-parameter.h
1074
1075EXTRA_DIST += lib/unused-parameter.h
1076
1077## end   gnulib module snippet/unused-parameter
1078
1079## begin gnulib module snippet/warn-on-use
1080
1081# Because this Makefile snippet defines a variable used by other
1082# gnulib Makefile snippets, it must be present in all makefiles that
1083# need it. This is ensured by the applicability 'all' defined above.
1084
1085WARN_ON_USE_H=$(top_srcdir)/lib/warn-on-use.h
1086
1087EXTRA_DIST += lib/warn-on-use.h
1088
1089## end   gnulib module snippet/warn-on-use
1090
1091## begin gnulib module stat
1092
1093
1094EXTRA_DIST += lib/stat-w32.c lib/stat-w32.h lib/stat.c
1095
1096EXTRA_lib_libsed_a_SOURCES += lib/stat-w32.c lib/stat.c
1097
1098## end   gnulib module stat
1099
1100## begin gnulib module stat-macros
1101
1102
1103EXTRA_DIST += lib/stat-macros.h
1104
1105## end   gnulib module stat-macros
1106
1107## begin gnulib module stat-time
1108
1109lib_libsed_a_SOURCES += lib/stat-time.c
1110
1111EXTRA_DIST += lib/stat-time.h
1112
1113## end   gnulib module stat-time
1114
1115## begin gnulib module stdalign
1116
1117BUILT_SOURCES += $(STDALIGN_H)
1118
1119# We need the following in order to create <stdalign.h> when the system
1120# doesn't have one that works.
1121if GL_GENERATE_STDALIGN_H
1122lib/stdalign.h: lib/stdalign.in.h $(top_builddir)/config.status
1123	$(AM_V_GEN)rm -f $@-t $@ && \
1124	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1125	  cat $(top_srcdir)/lib/stdalign.in.h; \
1126	} > $@-t && \
1127	mv $@-t $@
1128else
1129lib/stdalign.h: $(top_builddir)/config.status
1130	rm -f $@
1131endif
1132MOSTLYCLEANFILES += lib/stdalign.h lib/stdalign.h-t
1133
1134EXTRA_DIST += lib/stdalign.in.h
1135
1136## end   gnulib module stdalign
1137
1138## begin gnulib module stdarg
1139
1140BUILT_SOURCES += $(STDARG_H)
1141
1142# We need the following in order to create <stdarg.h> when the system
1143# doesn't have one that works with the given compiler.
1144if GL_GENERATE_STDARG_H
1145lib/stdarg.h: lib/stdarg.in.h $(top_builddir)/config.status
1146	$(AM_V_GEN)rm -f $@-t $@ && \
1147	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1148	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1149	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1150	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1151	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1152	      -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1153	      < $(top_srcdir)/lib/stdarg.in.h; \
1154	} > $@-t && \
1155	mv $@-t $@
1156else
1157lib/stdarg.h: $(top_builddir)/config.status
1158	rm -f $@
1159endif
1160MOSTLYCLEANFILES += lib/stdarg.h lib/stdarg.h-t
1161
1162EXTRA_DIST += lib/stdarg.in.h
1163
1164## end   gnulib module stdarg
1165
1166## begin gnulib module stdbool
1167
1168BUILT_SOURCES += $(STDBOOL_H)
1169
1170# We need the following in order to create <stdbool.h> when the system
1171# doesn't have one that works.
1172if GL_GENERATE_STDBOOL_H
1173lib/stdbool.h: lib/stdbool.in.h $(top_builddir)/config.status
1174	$(AM_V_GEN)rm -f $@-t $@ && \
1175	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1176	  sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(top_srcdir)/lib/stdbool.in.h; \
1177	} > $@-t && \
1178	mv $@-t $@
1179else
1180lib/stdbool.h: $(top_builddir)/config.status
1181	rm -f $@
1182endif
1183MOSTLYCLEANFILES += lib/stdbool.h lib/stdbool.h-t
1184
1185EXTRA_DIST += lib/stdbool.in.h
1186
1187## end   gnulib module stdbool
1188
1189## begin gnulib module stddef
1190
1191BUILT_SOURCES += $(STDDEF_H)
1192
1193# We need the following in order to create <stddef.h> when the system
1194# doesn't have one that works with the given compiler.
1195if GL_GENERATE_STDDEF_H
1196lib/stddef.h: lib/stddef.in.h $(top_builddir)/config.status
1197	$(AM_V_GEN)rm -f $@-t $@ && \
1198	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1199	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1200	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1201	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1202	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1203	      -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1204	      -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1205	      -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1206	      -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1207	      < $(top_srcdir)/lib/stddef.in.h; \
1208	} > $@-t && \
1209	mv $@-t $@
1210else
1211lib/stddef.h: $(top_builddir)/config.status
1212	rm -f $@
1213endif
1214MOSTLYCLEANFILES += lib/stddef.h lib/stddef.h-t
1215
1216EXTRA_DIST += lib/stddef.in.h
1217
1218## end   gnulib module stddef
1219
1220## begin gnulib module stdint
1221
1222BUILT_SOURCES += $(STDINT_H)
1223
1224# We need the following in order to create <stdint.h> when the system
1225# doesn't have one that works with the given compiler.
1226if GL_GENERATE_STDINT_H
1227lib/stdint.h: lib/stdint.in.h $(top_builddir)/config.status
1228	$(AM_V_GEN)rm -f $@-t $@ && \
1229	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1230	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1231	      -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1232	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1233	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1234	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1235	      -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1236	      -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
1237	      -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1238	      -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1239	      -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1240	      -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1241	      -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1242	      -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1243	      -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1244	      -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1245	      -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1246	      -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1247	      -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1248	      -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1249	      -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1250	      -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1251	      -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1252	      -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1253	      -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1254	      -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1255	      -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1256	      -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
1257	      < $(top_srcdir)/lib/stdint.in.h; \
1258	} > $@-t && \
1259	mv $@-t $@
1260else
1261lib/stdint.h: $(top_builddir)/config.status
1262	rm -f $@
1263endif
1264MOSTLYCLEANFILES += lib/stdint.h lib/stdint.h-t
1265
1266EXTRA_DIST += lib/stdint.in.h
1267
1268## end   gnulib module stdint
1269
1270## begin gnulib module stdio
1271
1272BUILT_SOURCES += lib/stdio.h
1273
1274# We need the following in order to create <stdio.h> when the system
1275# doesn't have one that works with the given compiler.
1276lib/stdio.h: lib/stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1277	$(AM_V_GEN)rm -f $@-t $@ && \
1278	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1279	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1280	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1281	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1282	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1283	      -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1284	      -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \
1285	      -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \
1286	      -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \
1287	      -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \
1288	      -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \
1289	      -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \
1290	      -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \
1291	      -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \
1292	      -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \
1293	      -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \
1294	      -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \
1295	      -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \
1296	      -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \
1297	      -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \
1298	      -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \
1299	      -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \
1300	      -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \
1301	      -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \
1302	      -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \
1303	      -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \
1304	      -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \
1305	      -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \
1306	      -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \
1307	      -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \
1308	      -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \
1309	      -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1310	      -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \
1311	      -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \
1312	      -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \
1313	      -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \
1314	      -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \
1315	      -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \
1316	      -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \
1317	      -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \
1318	      -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \
1319	      -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \
1320	      -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \
1321	      -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \
1322	      -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \
1323	      -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \
1324	      -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \
1325	      -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \
1326	      -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \
1327	      -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \
1328	      -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \
1329	      -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \
1330	      -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \
1331	      -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \
1332	      -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \
1333	      -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \
1334	      -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \
1335	      -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \
1336	      -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \
1337	      < $(top_srcdir)/lib/stdio.in.h | \
1338	  sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1339	      -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1340	      -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1341	      -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1342	      -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1343	      -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1344	      -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1345	      -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1346	      -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1347	      -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1348	      -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1349	      -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1350	      -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1351	      -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1352	      -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1353	      -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1354	      -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1355	      -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1356	      -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1357	      -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1358	      -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1359	      -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1360	      -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1361	      -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1362	      -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1363	      -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1364	      -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1365	      -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1366	      -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1367	      -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1368	      -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1369	      -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1370	      -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1371	      -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1372	      -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1373	      -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1374	      -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1375	      -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1376	      -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1377	      -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1378	      -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1379	      -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1380	      -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1381	      -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1382	      -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1383	      -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1384	      -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1385	      -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1386	      -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1387	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1388	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1389	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1390	} > $@-t && \
1391	mv $@-t $@
1392MOSTLYCLEANFILES += lib/stdio.h lib/stdio.h-t
1393
1394EXTRA_DIST += lib/stdio.in.h
1395
1396## end   gnulib module stdio
1397
1398## begin gnulib module stdlib
1399
1400BUILT_SOURCES += lib/stdlib.h
1401
1402# We need the following in order to create <stdlib.h> when the system
1403# doesn't have one that works with the given compiler.
1404lib/stdlib.h: lib/stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1405  $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1406	$(AM_V_GEN)rm -f $@-t $@ && \
1407	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1408	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1409	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1410	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1411	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1412	      -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1413	      -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
1414	      -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
1415	      -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
1416	      -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
1417	      -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
1418	      -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
1419	      -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
1420	      -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
1421	      -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
1422	      -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
1423	      -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
1424	      -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
1425	      -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
1426	      -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
1427	      -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
1428	      -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
1429	      -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
1430	      -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
1431	      -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
1432	      -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
1433	      -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
1434	      -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
1435	      -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \
1436	      -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
1437	      -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
1438	      -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
1439	      -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
1440	      -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
1441	      -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \
1442	      -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
1443	      -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
1444	      -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
1445	      -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
1446	      -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
1447	      -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
1448	      < $(top_srcdir)/lib/stdlib.in.h | \
1449	  sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1450	      -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1451	      -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1452	      -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1453	      -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1454	      -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1455	      -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
1456	      -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
1457	      -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
1458	      -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1459	      -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1460	      -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1461	      -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1462	      -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1463	      -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1464	      -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1465	      -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1466	      -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
1467	      -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1468	      -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1469	      -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1470	      -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
1471	      -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1472	      -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1473	      -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1474	      -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1475	      -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
1476	      -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
1477	      -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1478	      -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
1479	      -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1480	      -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1481	      -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1482	      -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1483	      -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1484	      -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1485	      -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1486	      -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1487	      -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
1488	      -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1489	      -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1490	      -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1491	      -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
1492	      -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
1493	      -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1494	      -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
1495	      -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
1496	      -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
1497	      -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1498	      -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1499	      -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1500	      -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
1501	      -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1502	      -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
1503	      -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1504	      -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1505	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1506	      -e '/definition of _Noreturn/r $(_NORETURN_H)' \
1507	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1508	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1509	} > $@-t && \
1510	mv $@-t $@
1511MOSTLYCLEANFILES += lib/stdlib.h lib/stdlib.h-t
1512
1513EXTRA_DIST += lib/stdlib.in.h
1514
1515## end   gnulib module stdlib
1516
1517## begin gnulib module streq
1518
1519
1520EXTRA_DIST += lib/streq.h
1521
1522## end   gnulib module streq
1523
1524## begin gnulib module strerror
1525
1526
1527EXTRA_DIST += lib/strerror.c
1528
1529EXTRA_lib_libsed_a_SOURCES += lib/strerror.c
1530
1531## end   gnulib module strerror
1532
1533## begin gnulib module strerror-override
1534
1535
1536EXTRA_DIST += lib/strerror-override.c lib/strerror-override.h
1537
1538EXTRA_lib_libsed_a_SOURCES += lib/strerror-override.c
1539
1540## end   gnulib module strerror-override
1541
1542## begin gnulib module string
1543
1544BUILT_SOURCES += lib/string.h
1545
1546# We need the following in order to create <string.h> when the system
1547# doesn't have one that works with the given compiler.
1548lib/string.h: lib/string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1549	$(AM_V_GEN)rm -f $@-t $@ && \
1550	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1551	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1552	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1553	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1554	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1555	      -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1556	      -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \
1557	      -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
1558	      -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
1559	      -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
1560	      -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
1561	      -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
1562	      -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
1563	      -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
1564	      -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
1565	      -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
1566	      -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
1567	      -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
1568	      -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
1569	      -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
1570	      -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
1571	      -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
1572	      -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
1573	      -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
1574	      -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
1575	      -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
1576	      -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
1577	      -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
1578	      -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
1579	      -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
1580	      -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
1581	      -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
1582	      -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
1583	      -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
1584	      -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
1585	      -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
1586	      -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
1587	      -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
1588	      -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
1589	      -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
1590	      -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
1591	      -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
1592	      -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
1593	      -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
1594	      < $(top_srcdir)/lib/string.in.h | \
1595	  sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
1596	      -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
1597	      -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
1598	      -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1599	      -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1600	      -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1601	      -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1602	      -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1603	      -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1604	      -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1605	      -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1606	      -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1607	      -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1608	      -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1609	      -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1610	      -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1611	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1612	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1613	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1614	      -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1615	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1616	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1617	      -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1618	      -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1619	      -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1620	      -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
1621	      -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1622	      -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1623	      -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1624	      -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1625	      -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1626	      -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1627	      -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1628	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1629	      -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1630	      -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1631	      -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1632	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1633	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1634	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1635	      < $(top_srcdir)/lib/string.in.h; \
1636	} > $@-t && \
1637	mv $@-t $@
1638MOSTLYCLEANFILES += lib/string.h lib/string.h-t
1639
1640EXTRA_DIST += lib/string.in.h
1641
1642## end   gnulib module string
1643
1644## begin gnulib module strverscmp
1645
1646
1647EXTRA_DIST += lib/strverscmp.c
1648
1649EXTRA_lib_libsed_a_SOURCES += lib/strverscmp.c
1650
1651## end   gnulib module strverscmp
1652
1653## begin gnulib module sys_stat
1654
1655BUILT_SOURCES += lib/sys/stat.h
1656
1657# We need the following in order to create <sys/stat.h> when the system
1658# has one that is incomplete.
1659lib/sys/stat.h: lib/sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1660	$(AM_V_at)$(MKDIR_P) lib/sys
1661	$(AM_V_GEN)rm -f $@-t $@ && \
1662	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1663	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1664	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1665	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1666	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1667	      -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1668	      -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
1669	      -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
1670	      -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
1671	      -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
1672	      -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
1673	      -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
1674	      -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
1675	      -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
1676	      -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
1677	      -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
1678	      -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
1679	      -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
1680	      -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
1681	      -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
1682	      -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
1683	      -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \
1684	      -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1685	      -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1686	      -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1687	      -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1688	      -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1689	      -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1690	      -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1691	      -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1692	      -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1693	      -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1694	      -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1695	      -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1696	      -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1697	      -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1698	      -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1699	      -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1700	      -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1701	      -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1702	      -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1703	      -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1704	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1705	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1706	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1707	      < $(top_srcdir)/lib/sys_stat.in.h; \
1708	} > $@-t && \
1709	mv $@-t $@
1710MOSTLYCLEANFILES += lib/sys/stat.h lib/sys/stat.h-t
1711MOSTLYCLEANDIRS += lib/sys
1712
1713EXTRA_DIST += lib/sys_stat.in.h
1714
1715## end   gnulib module sys_stat
1716
1717## begin gnulib module sys_time
1718
1719BUILT_SOURCES += lib/sys/time.h
1720
1721# We need the following in order to create <sys/time.h> when the system
1722# doesn't have one that works with the given compiler.
1723lib/sys/time.h: lib/sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1724	$(AM_V_at)$(MKDIR_P) lib/sys
1725	$(AM_V_GEN)rm -f $@-t $@ && \
1726	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1727	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1728	      -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1729	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1730	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1731	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1732	      -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1733	      -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1734	      -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1735	      -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1736	      -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1737	      -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1738	      -e 's/@''REPLACE_STRUCT_TIMEVAL''@/$(REPLACE_STRUCT_TIMEVAL)/g' \
1739	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1740	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1741	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1742	      < $(top_srcdir)/lib/sys_time.in.h; \
1743	} > $@-t && \
1744	mv $@-t $@
1745MOSTLYCLEANFILES += lib/sys/time.h lib/sys/time.h-t
1746
1747EXTRA_DIST += lib/sys_time.in.h
1748
1749## end   gnulib module sys_time
1750
1751## begin gnulib module sys_types
1752
1753BUILT_SOURCES += lib/sys/types.h
1754
1755# We need the following in order to create <sys/types.h> when the system
1756# doesn't have one that works with the given compiler.
1757lib/sys/types.h: lib/sys_types.in.h $(top_builddir)/config.status
1758	$(AM_V_at)$(MKDIR_P) lib/sys
1759	$(AM_V_GEN)rm -f $@-t $@ && \
1760	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1761	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1762	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1763	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1764	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1765	      -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
1766	      -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1767	      -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
1768	      < $(top_srcdir)/lib/sys_types.in.h; \
1769	} > $@-t && \
1770	mv $@-t $@
1771MOSTLYCLEANFILES += lib/sys/types.h lib/sys/types.h-t
1772
1773EXTRA_DIST += lib/sys_types.in.h
1774
1775## end   gnulib module sys_types
1776
1777## begin gnulib module tempname
1778
1779lib_libsed_a_SOURCES += lib/tempname.c
1780
1781EXTRA_DIST += lib/tempname.h
1782
1783## end   gnulib module tempname
1784
1785## begin gnulib module threadlib
1786
1787lib_libsed_a_SOURCES += lib/glthread/threadlib.c
1788
1789## end   gnulib module threadlib
1790
1791## begin gnulib module time
1792
1793BUILT_SOURCES += lib/time.h
1794
1795# We need the following in order to create <time.h> when the system
1796# doesn't have one that works with the given compiler.
1797lib/time.h: lib/time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1798	$(AM_V_GEN)rm -f $@-t $@ && \
1799	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1800	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1801	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1802	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1803	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1804	      -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1805	      -e 's/@''GNULIB_CTIME''@/$(GNULIB_CTIME)/g' \
1806	      -e 's/@''GNULIB_LOCALTIME''@/$(GNULIB_LOCALTIME)/g' \
1807	      -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \
1808	      -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \
1809	      -e 's/@''GNULIB_STRFTIME''@/$(GNULIB_STRFTIME)/g' \
1810	      -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \
1811	      -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \
1812	      -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \
1813	      -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \
1814	      -e 's/@''GNULIB_TZSET''@/$(GNULIB_TZSET)/g' \
1815	      -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
1816	      -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1817	      -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1818	      -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1819	      -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
1820	      -e 's|@''HAVE_TZSET''@|$(HAVE_TZSET)|g' \
1821	      -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \
1822	      -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
1823	      -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
1824	      -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1825	      -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1826	      -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1827	      -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \
1828	      -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1829	      -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \
1830	      -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1831	      -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1832	      -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1833	      -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1834	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1835	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1836	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1837	      < $(top_srcdir)/lib/time.in.h; \
1838	} > $@-t && \
1839	mv $@-t $@
1840MOSTLYCLEANFILES += lib/time.h lib/time.h-t
1841
1842EXTRA_DIST += lib/time.in.h
1843
1844## end   gnulib module time
1845
1846## begin gnulib module unistd
1847
1848BUILT_SOURCES += lib/unistd.h
1849lib_libsed_a_SOURCES += lib/unistd.c
1850
1851# We need the following in order to create an empty placeholder for
1852# <unistd.h> when the system doesn't have one.
1853lib/unistd.h: lib/unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1854	$(AM_V_GEN)rm -f $@-t $@ && \
1855	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1856	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
1857	      -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1858	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1859	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1860	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1861	      -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1862	      -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
1863	      -e 's/@''GNULIB_ACCESS''@/$(GNULIB_ACCESS)/g' \
1864	      -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
1865	      -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
1866	      -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
1867	      -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \
1868	      -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
1869	      -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
1870	      -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
1871	      -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
1872	      -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
1873	      -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
1874	      -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
1875	      -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
1876	      -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
1877	      -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
1878	      -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
1879	      -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
1880	      -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
1881	      -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
1882	      -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
1883	      -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
1884	      -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
1885	      -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
1886	      -e 's/@''GNULIB_GETOPT_POSIX''@/$(GNULIB_GETOPT_POSIX)/g' \
1887	      -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
1888	      -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \
1889	      -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
1890	      -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
1891	      -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
1892	      -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
1893	      -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
1894	      -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
1895	      -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
1896	      -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
1897	      -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
1898	      -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
1899	      -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
1900	      -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
1901	      -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
1902	      -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
1903	      -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
1904	      -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
1905	      -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
1906	      -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
1907	      -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
1908	      -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \
1909	      -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
1910	      -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
1911	      -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
1912	      -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
1913	      -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
1914	      -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
1915	      -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
1916	      -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
1917	      < $(top_srcdir)/lib/unistd.in.h | \
1918	  sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1919	      -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
1920	      -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1921	      -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1922	      -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1923	      -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1924	      -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1925	      -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1926	      -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
1927	      -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1928	      -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1929	      -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1930	      -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1931	      -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1932	      -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1933	      -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
1934	      -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
1935	      -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1936	      -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1937	      -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1938	      -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
1939	      -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1940	      -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1941	      -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1942	      -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1943	      -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1944	      -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
1945	      -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1946	      -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1947	      -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1948	      -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1949	      -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1950	      -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1951	      -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
1952	      -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
1953	      -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
1954	      -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
1955	      -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1956	      -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1957	      -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1958	      -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
1959	      -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
1960	      -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
1961	      -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1962	      -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1963	  | \
1964	  sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
1965	      -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1966	      -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1967	      -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1968	      -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1969	      -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
1970	      -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1971	      -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
1972	      -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1973	      -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
1974	      -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
1975	      -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
1976	      -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1977	      -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1978	      -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
1979	      -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
1980	      -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1981	      -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1982	      -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1983	      -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1984	      -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1985	      -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1986	      -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
1987	      -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1988	      -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
1989	      -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1990	      -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1991	      -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1992	      -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
1993	      -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
1994	      -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1995	      -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1996	      -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1997	      -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1998	      -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1999	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2000	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2001	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2002	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2003	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2004	} > $@-t && \
2005	mv $@-t $@
2006MOSTLYCLEANFILES += lib/unistd.h lib/unistd.h-t
2007
2008EXTRA_DIST += lib/unistd.in.h
2009
2010## end   gnulib module unistd
2011
2012## begin gnulib module unlocked-io
2013
2014
2015EXTRA_DIST += lib/unlocked-io.h
2016
2017## end   gnulib module unlocked-io
2018
2019## begin gnulib module update-copyright
2020
2021
2022EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
2023
2024## end   gnulib module update-copyright
2025
2026## begin gnulib module useless-if-before-free
2027
2028
2029EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2030
2031## end   gnulib module useless-if-before-free
2032
2033## begin gnulib module vc-list-files
2034
2035
2036EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2037
2038## end   gnulib module vc-list-files
2039
2040## begin gnulib module verify
2041
2042
2043EXTRA_DIST += lib/verify.h
2044
2045## end   gnulib module verify
2046
2047## begin gnulib module version-etc
2048
2049lib_libsed_a_SOURCES += lib/version-etc.h lib/version-etc.c
2050
2051## end   gnulib module version-etc
2052
2053## begin gnulib module version-etc-fsf
2054
2055lib_libsed_a_SOURCES += lib/version-etc-fsf.c
2056
2057## end   gnulib module version-etc-fsf
2058
2059## begin gnulib module wchar
2060
2061BUILT_SOURCES += lib/wchar.h
2062
2063# We need the following in order to create <wchar.h> when the system
2064# version does not work standalone.
2065lib/wchar.h: lib/wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2066	$(AM_V_GEN)rm -f $@-t $@ && \
2067	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2068	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2069	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2070	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2071	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2072	      -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2073	      -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2074	      -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2075	      -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
2076	      -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
2077	      -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \
2078	      -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \
2079	      -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \
2080	      -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \
2081	      -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \
2082	      -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \
2083	      -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \
2084	      -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \
2085	      -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \
2086	      -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \
2087	      -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \
2088	      -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \
2089	      -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \
2090	      -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \
2091	      -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \
2092	      -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \
2093	      -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \
2094	      -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \
2095	      -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \
2096	      -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \
2097	      -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \
2098	      -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \
2099	      -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \
2100	      -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \
2101	      -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \
2102	      -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \
2103	      -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \
2104	      -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \
2105	      -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \
2106	      -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \
2107	      -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \
2108	      -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \
2109	      -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \
2110	      -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \
2111	      -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \
2112	      -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \
2113	      -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \
2114	      -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \
2115	      -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \
2116	      -e 's/@''GNULIB_WCSFTIME''@/$(GNULIB_WCSFTIME)/g' \
2117	      < $(top_srcdir)/lib/wchar.in.h | \
2118	  sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2119	      -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2120	      -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2121	      -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2122	      -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2123	      -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2124	      -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2125	      -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2126	      -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2127	      -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2128	      -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2129	      -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2130	      -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2131	      -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2132	      -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2133	      -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2134	      -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2135	      -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2136	      -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2137	      -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2138	      -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2139	      -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2140	      -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2141	      -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2142	      -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2143	      -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2144	      -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2145	      -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2146	      -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2147	      -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2148	      -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2149	      -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2150	      -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2151	      -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2152	      -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2153	      -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2154	      -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2155	      -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2156	      -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \
2157	      -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2158	      -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2159	  | \
2160	  sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2161	      -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2162	      -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2163	      -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2164	      -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2165	      -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2166	      -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2167	      -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2168	      -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2169	      -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2170	      -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2171	      -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2172	      -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2173	      -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \
2174	      -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
2175	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2176	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2177	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2178	} > $@-t && \
2179	mv $@-t $@
2180MOSTLYCLEANFILES += lib/wchar.h lib/wchar.h-t
2181
2182EXTRA_DIST += lib/wchar.in.h
2183
2184## end   gnulib module wchar
2185
2186## begin gnulib module wcrtomb
2187
2188
2189EXTRA_DIST += lib/wcrtomb.c
2190
2191EXTRA_lib_libsed_a_SOURCES += lib/wcrtomb.c
2192
2193## end   gnulib module wcrtomb
2194
2195## begin gnulib module wctob
2196
2197
2198EXTRA_DIST += lib/wctob.c
2199
2200EXTRA_lib_libsed_a_SOURCES += lib/wctob.c
2201
2202## end   gnulib module wctob
2203
2204## begin gnulib module wctomb
2205
2206
2207EXTRA_DIST += lib/wctomb-impl.h lib/wctomb.c
2208
2209EXTRA_lib_libsed_a_SOURCES += lib/wctomb.c
2210
2211## end   gnulib module wctomb
2212
2213## begin gnulib module wctype-h
2214
2215BUILT_SOURCES += lib/wctype.h
2216lib_libsed_a_SOURCES += lib/wctype-h.c
2217
2218# We need the following in order to create <wctype.h> when the system
2219# doesn't have one that works with the given compiler.
2220lib/wctype.h: lib/wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2221	$(AM_V_GEN)rm -f $@-t $@ && \
2222	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2223	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
2224	      -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2225	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2226	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2227	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2228	      -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2229	      -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
2230	      -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
2231	      -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2232	      -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2233	      -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2234	      -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2235	      -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2236	      -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2237	      -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2238	      -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2239	      -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2240	      -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2241	      -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2242	      -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2243	      -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2244	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2245	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2246	      < $(top_srcdir)/lib/wctype.in.h; \
2247	} > $@-t && \
2248	mv $@-t $@
2249MOSTLYCLEANFILES += lib/wctype.h lib/wctype.h-t
2250
2251EXTRA_DIST += lib/wctype.in.h
2252
2253## end   gnulib module wctype-h
2254
2255## begin gnulib module windows-mutex
2256
2257
2258EXTRA_DIST += lib/windows-initguard.h lib/windows-mutex.c lib/windows-mutex.h
2259
2260EXTRA_lib_libsed_a_SOURCES += lib/windows-mutex.c
2261
2262## end   gnulib module windows-mutex
2263
2264## begin gnulib module windows-once
2265
2266
2267EXTRA_DIST += lib/windows-once.c lib/windows-once.h
2268
2269EXTRA_lib_libsed_a_SOURCES += lib/windows-once.c
2270
2271## end   gnulib module windows-once
2272
2273## begin gnulib module windows-recmutex
2274
2275
2276EXTRA_DIST += lib/windows-initguard.h lib/windows-recmutex.c lib/windows-recmutex.h
2277
2278EXTRA_lib_libsed_a_SOURCES += lib/windows-recmutex.c
2279
2280## end   gnulib module windows-recmutex
2281
2282## begin gnulib module windows-rwlock
2283
2284
2285EXTRA_DIST += lib/windows-initguard.h lib/windows-rwlock.c lib/windows-rwlock.h
2286
2287EXTRA_lib_libsed_a_SOURCES += lib/windows-rwlock.c
2288
2289## end   gnulib module windows-rwlock
2290
2291## begin gnulib module xalloc
2292
2293lib_libsed_a_SOURCES += lib/xmalloc.c
2294
2295EXTRA_DIST += lib/xalloc.h
2296
2297## end   gnulib module xalloc
2298
2299## begin gnulib module xalloc-die
2300
2301lib_libsed_a_SOURCES += lib/xalloc-die.c
2302
2303## end   gnulib module xalloc-die
2304
2305## begin gnulib module xalloc-oversized
2306
2307
2308EXTRA_DIST += lib/xalloc-oversized.h
2309
2310## end   gnulib module xalloc-oversized
2311
2312
2313mostlyclean-local: mostlyclean-generic
2314	@for dir in '' $(MOSTLYCLEANDIRS); do \
2315	  if test -n "$$dir" && test -d $$dir; then \
2316	    echo "rmdir $$dir"; rmdir $$dir; \
2317	  fi; \
2318	done; \
2319	:
2320