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-mod/bootstrap --local-dir=gl \
26#  --lib=libgnu \
27#  --source-base=lib \
28#  --m4-base=m4 \
29#  --doc-base=doc \
30#  --tests-base=tests \
31#  --aux-dir=build-aux \
32#  --lgpl \
33#  --makefile-name=Makefile.gnulib \
34#  --no-conditional-dependencies \
35#  --libtool \
36#  --macro-prefix=gl \
37#  bootstrap \
38#  c99 \
39#  configmake \
40#  flock \
41#  getopt-posix \
42#  gnu-make \
43#  manywarnings \
44#  relocatable-lib-lgpl \
45#  snippet/unused-parameter \
46#  ssize_t \
47#  strchrnul \
48#  strdup-posix
49
50
51MOSTLYCLEANFILES += core *.stackdump
52# No GNU Make output.
53
54noinst_LTLIBRARIES += libgnu.la
55
56libgnu_la_SOURCES =
57libgnu_la_LIBADD = $(gl_LTLIBOBJS)
58libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
59EXTRA_libgnu_la_SOURCES =
60libgnu_la_LDFLAGS = $(AM_LDFLAGS)
61libgnu_la_LDFLAGS += -no-undefined
62libgnu_la_LDFLAGS += $(LTLIBINTL)
63
64## begin gnulib module absolute-header
65
66# Use this preprocessor expression to decide whether #include_next works.
67# Do not rely on a 'configure'-time test for this, since the expression
68# might appear in an installed header, which is used by some other compiler.
69HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
70
71## end   gnulib module absolute-header
72
73## begin gnulib module bootstrap
74
75
76EXTRA_DIST += $(top_srcdir)/build-aux/bootstrap.in
77
78## end   gnulib module bootstrap
79
80## begin gnulib module configmake
81
82# Listed in the same order as the GNU makefile conventions, and
83# provided by autoconf 2.59c+ or 2.70.
84# The Automake-defined pkg* macros are appended, in the order
85# listed in the Automake 1.10a+ documentation.
86configmake.h: Makefile
87	$(AM_V_GEN)rm -f $@-t && \
88	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
89	  echo '#if HAVE_WINSOCK2_H'; \
90	  echo '# include <winsock2.h> /* avoid mingw pollution on DATADIR */'; \
91	  echo '#endif'; \
92	  echo '#define PREFIX "$(prefix)"'; \
93	  echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
94	  echo '#define BINDIR "$(bindir)"'; \
95	  echo '#define SBINDIR "$(sbindir)"'; \
96	  echo '#define LIBEXECDIR "$(libexecdir)"'; \
97	  echo '#define DATAROOTDIR "$(datarootdir)"'; \
98	  echo '#define DATADIR "$(datadir)"'; \
99	  echo '#define SYSCONFDIR "$(sysconfdir)"'; \
100	  echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
101	  echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
102	  echo '#define RUNSTATEDIR "$(runstatedir)"'; \
103	  echo '#define INCLUDEDIR "$(includedir)"'; \
104	  echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
105	  echo '#define DOCDIR "$(docdir)"'; \
106	  echo '#define INFODIR "$(infodir)"'; \
107	  echo '#define HTMLDIR "$(htmldir)"'; \
108	  echo '#define DVIDIR "$(dvidir)"'; \
109	  echo '#define PDFDIR "$(pdfdir)"'; \
110	  echo '#define PSDIR "$(psdir)"'; \
111	  echo '#define LIBDIR "$(libdir)"'; \
112	  echo '#define LISPDIR "$(lispdir)"'; \
113	  echo '#define LOCALEDIR "$(localedir)"'; \
114	  echo '#define MANDIR "$(mandir)"'; \
115	  echo '#define MANEXT "$(manext)"'; \
116	  echo '#define PKGDATADIR "$(pkgdatadir)"'; \
117	  echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
118	  echo '#define PKGLIBDIR "$(pkglibdir)"'; \
119	  echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
120	} | sed '/""/d' > $@-t && \
121	mv -f $@-t $@
122
123BUILT_SOURCES += configmake.h
124CLEANFILES += configmake.h configmake.h-t
125
126## end   gnulib module configmake
127
128## begin gnulib module extract-trace
129
130
131EXTRA_DIST += $(top_srcdir)/build-aux/extract-trace
132
133## end   gnulib module extract-trace
134
135## begin gnulib module flock
136
137
138EXTRA_DIST += flock.c
139
140EXTRA_libgnu_la_SOURCES += flock.c
141
142## end   gnulib module flock
143
144## begin gnulib module funclib.sh
145
146
147EXTRA_DIST += $(top_srcdir)/build-aux/funclib.sh
148
149## end   gnulib module funclib.sh
150
151## begin gnulib module getopt-posix
152
153BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
154
155# We need the following in order to create <getopt.h> when the system
156# doesn't have one that works with the given compiler.
157getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
158	$(AM_V_GEN)rm -f $@-t $@ && \
159	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
160	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
161	      -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
162	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
163	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
164	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
165	      -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
166	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
167	      < $(srcdir)/getopt.in.h; \
168	} > $@-t && \
169	mv -f $@-t $@
170
171getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status
172	$(AM_V_GEN)rm -f $@-t $@ && \
173	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
174          sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
175	      < $(srcdir)/getopt-cdefs.in.h; \
176	} > $@-t && \
177	mv -f $@-t $@
178
179MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t
180
181EXTRA_DIST += getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h getopt-pfx-ext.h getopt.c getopt.in.h getopt1.c getopt_int.h
182
183EXTRA_libgnu_la_SOURCES += getopt.c getopt1.c
184
185## end   gnulib module getopt-posix
186
187## begin gnulib module gettext-h
188
189libgnu_la_SOURCES += gettext.h
190
191## end   gnulib module gettext-h
192
193## begin gnulib module gnu-make
194
195##Sample usage of gnu-make module:
196#if GNU_MAKE
197#	[nicer features that work only with GNU Make]
198#else
199#	[fallback features that work in any 'make' implementation; see
200#	https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
201#	for the POSIX specification]
202#endif
203
204## end   gnulib module gnu-make
205
206## begin gnulib module inline-source
207
208
209EXTRA_DIST += $(top_srcdir)/build-aux/inline-source
210
211## end   gnulib module inline-source
212
213## begin gnulib module malloc-posix
214
215
216EXTRA_DIST += malloc.c
217
218EXTRA_libgnu_la_SOURCES += malloc.c
219
220## end   gnulib module malloc-posix
221
222## begin gnulib module msvc-inval
223
224
225EXTRA_DIST += msvc-inval.c msvc-inval.h
226
227EXTRA_libgnu_la_SOURCES += msvc-inval.c
228
229## end   gnulib module msvc-inval
230
231## begin gnulib module msvc-nothrow
232
233
234EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h
235
236EXTRA_libgnu_la_SOURCES += msvc-nothrow.c
237
238## end   gnulib module msvc-nothrow
239
240## begin gnulib module options-parser
241
242
243EXTRA_DIST += $(top_srcdir)/build-aux/options-parser
244
245## end   gnulib module options-parser
246
247## begin gnulib module rawmemchr
248
249
250EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
251
252EXTRA_libgnu_la_SOURCES += rawmemchr.c
253
254## end   gnulib module rawmemchr
255
256## begin gnulib module relocatable-lib-lgpl
257
258DEFS += -DNO_XMALLOC
259
260EXTRA_DIST += relocatable.c relocatable.h relocatable.valgrind
261
262EXTRA_libgnu_la_SOURCES += relocatable.c
263
264## end   gnulib module relocatable-lib-lgpl
265
266## begin gnulib module snippet/_Noreturn
267
268# Because this Makefile snippet defines a variable used by other
269# gnulib Makefile snippets, it must be present in all makefiles that
270# need it. This is ensured by the applicability 'all' defined above.
271
272_NORETURN_H=$(srcdir)/_Noreturn.h
273
274EXTRA_DIST += _Noreturn.h
275
276## end   gnulib module snippet/_Noreturn
277
278## begin gnulib module snippet/arg-nonnull
279
280# Because this Makefile snippet defines a variable used by other
281# gnulib Makefile snippets, it must be present in all makefiles that
282# need it. This is ensured by the applicability 'all' defined above.
283
284ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
285
286EXTRA_DIST += arg-nonnull.h
287
288## end   gnulib module snippet/arg-nonnull
289
290## begin gnulib module snippet/c++defs
291
292# Because this Makefile snippet defines a variable used by other
293# gnulib Makefile snippets, it must be present in all makefiles that
294# need it. This is ensured by the applicability 'all' defined above.
295
296CXXDEFS_H=$(srcdir)/c++defs.h
297
298EXTRA_DIST += c++defs.h
299
300## end   gnulib module snippet/c++defs
301
302## begin gnulib module snippet/unused-parameter
303
304# Because this Makefile snippet defines a variable used by other
305# gnulib Makefile snippets, it must be present in all makefiles that
306# need it. This is ensured by the applicability 'all' defined above.
307
308UNUSED_PARAMETER_H=$(srcdir)/unused-parameter.h
309
310EXTRA_DIST += unused-parameter.h
311
312## end   gnulib module snippet/unused-parameter
313
314## begin gnulib module snippet/warn-on-use
315
316# Because this Makefile snippet defines a variable used by other
317# gnulib Makefile snippets, it must be present in all makefiles that
318# need it. This is ensured by the applicability 'all' defined above.
319
320WARN_ON_USE_H=$(srcdir)/warn-on-use.h
321
322EXTRA_DIST += warn-on-use.h
323
324## end   gnulib module snippet/warn-on-use
325
326## begin gnulib module stddef
327
328BUILT_SOURCES += $(STDDEF_H)
329
330# We need the following in order to create <stddef.h> when the system
331# doesn't have one that works with the given compiler.
332if GL_GENERATE_STDDEF_H
333stddef.h: stddef.in.h $(top_builddir)/config.status
334	$(AM_V_GEN)rm -f $@-t $@ && \
335	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
336	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
337	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
338	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
339	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
340	      -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
341	      -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
342	      -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
343	      -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
344	      < $(srcdir)/stddef.in.h; \
345	} > $@-t && \
346	mv $@-t $@
347else
348stddef.h: $(top_builddir)/config.status
349	rm -f $@
350endif
351MOSTLYCLEANFILES += stddef.h stddef.h-t
352
353EXTRA_DIST += stddef.in.h
354
355## end   gnulib module stddef
356
357## begin gnulib module stdlib
358
359BUILT_SOURCES += stdlib.h
360
361# We need the following in order to create <stdlib.h> when the system
362# doesn't have one that works with the given compiler.
363stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
364  $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
365	$(AM_V_GEN)rm -f $@-t $@ && \
366	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
367	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
368	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
369	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
370	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
371	      -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
372	      -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
373	      -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
374	      -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
375	      -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
376	      -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
377	      -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
378	      -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
379	      -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
380	      -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
381	      -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
382	      -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
383	      -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
384	      -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
385	      -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
386	      -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
387	      -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
388	      -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
389	      -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
390	      -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
391	      -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
392	      -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
393	      -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
394	      -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \
395	      -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
396	      -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
397	      -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
398	      -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
399	      -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
400	      -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \
401	      -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
402	      -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
403	      -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
404	      -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
405	      -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
406	      -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
407	      < $(srcdir)/stdlib.in.h | \
408	  sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
409	      -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
410	      -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
411	      -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
412	      -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
413	      -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
414	      -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
415	      -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
416	      -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
417	      -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
418	      -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
419	      -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
420	      -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
421	      -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
422	      -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
423	      -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
424	      -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
425	      -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
426	      -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
427	      -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
428	      -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
429	      -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
430	      -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
431	      -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
432	      -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
433	      -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
434	      -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
435	      -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
436	      -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
437	      -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
438	      -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
439	      -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
440	      -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
441	      -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
442	      -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
443	      -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
444	      -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
445	      -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
446	      -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
447	      -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
448	      -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
449	      -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
450	      -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
451	      -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
452	      -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
453	      -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
454	      -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
455	      -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
456	      -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
457	      -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
458	      -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
459	      -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
460	      -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
461	      -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
462	      -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
463	      -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
464	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
465	      -e '/definition of _Noreturn/r $(_NORETURN_H)' \
466	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
467	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
468	} > $@-t && \
469	mv $@-t $@
470MOSTLYCLEANFILES += stdlib.h stdlib.h-t
471
472EXTRA_DIST += stdlib.in.h
473
474## end   gnulib module stdlib
475
476## begin gnulib module strchrnul
477
478
479EXTRA_DIST += strchrnul.c strchrnul.valgrind
480
481EXTRA_libgnu_la_SOURCES += strchrnul.c
482
483## end   gnulib module strchrnul
484
485## begin gnulib module strdup-posix
486
487
488EXTRA_DIST += strdup.c
489
490EXTRA_libgnu_la_SOURCES += strdup.c
491
492## end   gnulib module strdup-posix
493
494## begin gnulib module string
495
496BUILT_SOURCES += string.h
497
498# We need the following in order to create <string.h> when the system
499# doesn't have one that works with the given compiler.
500string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
501	$(AM_V_GEN)rm -f $@-t $@ && \
502	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
503	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
504	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
505	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
506	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
507	      -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
508	      -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \
509	      -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \
510	      -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \
511	      -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \
512	      -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \
513	      -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \
514	      -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \
515	      -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \
516	      -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \
517	      -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \
518	      -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \
519	      -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \
520	      -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \
521	      -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \
522	      -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \
523	      -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \
524	      -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \
525	      -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \
526	      -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \
527	      -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \
528	      -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \
529	      -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \
530	      -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \
531	      -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \
532	      -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \
533	      -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \
534	      -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \
535	      -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \
536	      -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \
537	      -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \
538	      -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \
539	      -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \
540	      -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \
541	      -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \
542	      -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \
543	      -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \
544	      -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GNULIB_STRERRORNAME_NP)/g' \
545	      -e 's/@''GNULIB_SIGABBREV_NP''@/$(GNULIB_SIGABBREV_NP)/g' \
546	      -e 's/@''GNULIB_SIGDESCR_NP''@/$(GNULIB_SIGDESCR_NP)/g' \
547	      -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \
548	      -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \
549	      < $(srcdir)/string.in.h | \
550	  sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
551	      -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
552	      -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
553	      -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
554	      -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
555	      -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
556	      -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
557	      -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
558	      -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
559	      -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
560	      -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
561	      -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
562	      -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
563	      -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
564	      -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
565	      -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
566	      -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
567	      -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
568	      -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
569	      -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \
570	      -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \
571	      -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
572	      -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
573	      -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
574	      -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
575	      -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
576	      -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
577	      -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
578	      -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
579	      -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
580	      -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
581	      -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
582	      -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
583	      -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
584	      -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
585	      -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
586	      -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
587	      -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \
588	      -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
589	      -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
590	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
591	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
592	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
593	      < $(srcdir)/string.in.h; \
594	} > $@-t && \
595	mv $@-t $@
596MOSTLYCLEANFILES += string.h string.h-t
597
598EXTRA_DIST += string.in.h
599
600## end   gnulib module string
601
602## begin gnulib module sys_file
603
604BUILT_SOURCES += sys/file.h
605
606# We need the following in order to create <sys/file.h> when the system
607# has one that is incomplete.
608sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H)
609	$(AM_V_at)$(MKDIR_P) sys
610	$(AM_V_GEN)rm -f $@-t $@ && \
611	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
612	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
613	      -e 's/@''HAVE_SYS_FILE_H''@/$(HAVE_SYS_FILE_H)/g' \
614	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
615	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
616	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
617	      -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \
618	      -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \
619	      -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \
620	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
621	      < $(srcdir)/sys_file.in.h; \
622	} > $@-t && \
623	mv $@-t $@
624MOSTLYCLEANFILES += sys/file.h sys/file.h-t
625MOSTLYCLEANDIRS += sys
626
627EXTRA_DIST += sys_file.in.h
628
629## end   gnulib module sys_file
630
631## begin gnulib module sys_types
632
633BUILT_SOURCES += sys/types.h
634
635# We need the following in order to create <sys/types.h> when the system
636# doesn't have one that works with the given compiler.
637sys/types.h: sys_types.in.h $(top_builddir)/config.status
638	$(AM_V_at)$(MKDIR_P) sys
639	$(AM_V_GEN)rm -f $@-t $@ && \
640	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
641	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
642	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
643	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
644	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
645	      -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
646	      -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
647	      -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
648	      < $(srcdir)/sys_types.in.h; \
649	} > $@-t && \
650	mv $@-t $@
651MOSTLYCLEANFILES += sys/types.h sys/types.h-t
652
653EXTRA_DIST += sys_types.in.h
654
655## end   gnulib module sys_types
656
657## begin gnulib module unistd
658
659BUILT_SOURCES += unistd.h
660libgnu_la_SOURCES += unistd.c
661
662# We need the following in order to create an empty placeholder for
663# <unistd.h> when the system doesn't have one.
664unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
665	$(AM_V_GEN)rm -f $@-t $@ && \
666	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
667	  sed -e 's|@''GUARD_PREFIX''@|GL|g' \
668	      -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
669	      -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
670	      -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
671	      -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
672	      -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
673	      -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
674	      -e 's/@''GNULIB_ACCESS''@/$(GNULIB_ACCESS)/g' \
675	      -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \
676	      -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \
677	      -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \
678	      -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \
679	      -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \
680	      -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \
681	      -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \
682	      -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \
683	      -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \
684	      -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \
685	      -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \
686	      -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \
687	      -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \
688	      -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \
689	      -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \
690	      -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \
691	      -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \
692	      -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \
693	      -e 's/@''GNULIB_GETENTROPY''@/$(GNULIB_GETENTROPY)/g' \
694	      -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \
695	      -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \
696	      -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \
697	      -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \
698	      -e 's/@''GNULIB_GETOPT_POSIX''@/$(GNULIB_GETOPT_POSIX)/g' \
699	      -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \
700	      -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \
701	      -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \
702	      -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \
703	      -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \
704	      -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \
705	      -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \
706	      -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \
707	      -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \
708	      -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \
709	      -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \
710	      -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \
711	      -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \
712	      -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \
713	      -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \
714	      -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \
715	      -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \
716	      -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \
717	      -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \
718	      -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \
719	      -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \
720	      -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \
721	      -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \
722	      -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \
723	      -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \
724	      -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \
725	      -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \
726	      -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \
727	      -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \
728	      -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \
729	      < $(srcdir)/unistd.in.h | \
730	  sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
731	      -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
732	      -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
733	      -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
734	      -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
735	      -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
736	      -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
737	      -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
738	      -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
739	      -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
740	      -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
741	      -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \
742	      -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
743	      -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
744	      -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
745	      -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
746	      -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
747	      -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
748	      -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
749	      -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
750	      -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
751	      -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
752	      -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
753	      -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
754	      -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
755	      -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
756	      -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
757	      -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
758	      -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
759	      -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
760	      -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
761	      -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
762	      -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
763	      -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
764	      -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
765	      -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
766	      -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
767	      -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
768	      -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
769	      -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
770	      -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
771	      -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
772	      -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
773	      -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
774	      -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
775	  | \
776	  sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
777	      -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
778	      -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
779	      -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
780	      -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
781	      -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
782	      -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
783	      -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
784	      -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
785	      -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
786	      -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
787	      -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
788	      -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
789	      -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
790	      -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
791	      -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
792	      -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
793	      -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
794	      -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
795	      -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
796	      -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
797	      -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
798	      -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
799	      -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
800	      -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
801	      -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
802	      -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
803	      -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
804	      -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
805	      -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
806	      -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
807	      -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
808	      -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
809	      -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
810	      -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
811	      -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \
812	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
813	      -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
814	      -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
815	      -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
816	      -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
817	} > $@-t && \
818	mv $@-t $@
819MOSTLYCLEANFILES += unistd.h unistd.h-t
820
821EXTRA_DIST += unistd.in.h
822
823## end   gnulib module unistd
824
825
826mostlyclean-local: mostlyclean-generic
827	@for dir in '' $(MOSTLYCLEANDIRS); do \
828	  if test -n "$$dir" && test -d $$dir; then \
829	    echo "rmdir $$dir"; rmdir $$dir; \
830	  fi; \
831	done; \
832	:
833