Update gnulib files.
[gnutls.git] / lib / gl / Makefile.am
blobe0ba4ebe1f9c774a01830daa7f9255d77a371dfa
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2010 Free Software Foundation, Inc.
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl/override --lib=liblgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gl/tests --aux-dir=build-aux --with-tests --avoid=alignof-tests --avoid=lseek-tests --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files byteswap c-ctype fseeko func gettext lib-msvc-compat lib-symbol-versions memmem-simple minmax netdb read-file snprintf sockets socklen stdint strcase strverscmp sys_socket sys_stat time_r unistd vasprintf vsnprintf
14 AUTOMAKE_OPTIONS = 1.5 gnits
16 SUBDIRS =
17 noinst_HEADERS =
18 noinst_LIBRARIES =
19 noinst_LTLIBRARIES =
20 EXTRA_DIST =
21 BUILT_SOURCES =
22 SUFFIXES =
23 MOSTLYCLEANFILES = core *.stackdump
24 MOSTLYCLEANDIRS =
25 CLEANFILES =
26 DISTCLEANFILES =
27 MAINTAINERCLEANFILES =
28 SUBDIRS += tests
29 EXTRA_DIST += m4/gnulib-cache.m4
31 AM_CPPFLAGS =
32 AM_CFLAGS =
34 noinst_LTLIBRARIES += liblgnu.la
36 liblgnu_la_SOURCES =
37 liblgnu_la_LIBADD = $(lgl_LTLIBOBJS)
38 liblgnu_la_DEPENDENCIES = $(lgl_LTLIBOBJS)
39 EXTRA_liblgnu_la_SOURCES =
40 liblgnu_la_LDFLAGS = $(AM_LDFLAGS)
42 ## begin gnulib module alignof
45 EXTRA_DIST += alignof.h
47 ## end   gnulib module alignof
49 ## begin gnulib module alloca-opt
51 BUILT_SOURCES += $(ALLOCA_H)
53 # We need the following in order to create <alloca.h> when the system
54 # doesn't have one that works with the given compiler.
55 alloca.h: alloca.in.h
56         $(AM_V_GEN)rm -f $@-t $@ && \
57         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
58           cat $(srcdir)/alloca.in.h; \
59         } > $@-t && \
60         mv -f $@-t $@
61 MOSTLYCLEANFILES += alloca.h alloca.h-t
63 EXTRA_DIST += alloca.in.h
65 ## end   gnulib module alloca-opt
67 ## begin gnulib module arg-nonnull
69 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
70 # statements but through direct file reference. Therefore this snippet must be
71 # present in all Makefile.am that need it. This is ensured by the applicability
72 # 'all' defined above.
74 BUILT_SOURCES += arg-nonnull.h
75 # The arg-nonnull.h that gets inserted into generated .h files is the same as
76 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
77 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
78         $(AM_V_GEN)rm -f $@-t $@ && \
79         sed -n -e '/GL_ARG_NONNULL/,$$p' \
80           < $(top_srcdir)/build-aux/arg-nonnull.h \
81           > $@-t && \
82         mv $@-t $@
83 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
85 ARG_NONNULL_H=arg-nonnull.h
87 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
89 ## end   gnulib module arg-nonnull
91 ## begin gnulib module byteswap
93 BUILT_SOURCES += $(BYTESWAP_H)
95 # We need the following in order to create <byteswap.h> when the system
96 # doesn't have one.
97 byteswap.h: byteswap.in.h
98         $(AM_V_GEN)rm -f $@-t $@ && \
99         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
100           cat $(srcdir)/byteswap.in.h; \
101         } > $@-t && \
102         mv -f $@-t $@
103 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
105 EXTRA_DIST += byteswap.in.h
107 ## end   gnulib module byteswap
109 ## begin gnulib module c++defs
111 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
112 # statements but through direct file reference. Therefore this snippet must be
113 # present in all Makefile.am that need it. This is ensured by the applicability
114 # 'all' defined above.
116 BUILT_SOURCES += c++defs.h
117 # The c++defs.h that gets inserted into generated .h files is the same as
118 # build-aux/c++defs.h, except that it has the copyright header cut off.
119 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
120         $(AM_V_GEN)rm -f $@-t $@ && \
121         sed -n -e '/_GL_CXXDEFS/,$$p' \
122           < $(top_srcdir)/build-aux/c++defs.h \
123           > $@-t && \
124         mv $@-t $@
125 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
127 CXXDEFS_H=c++defs.h
129 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
131 ## end   gnulib module c++defs
133 ## begin gnulib module c-ctype
135 liblgnu_la_SOURCES += c-ctype.h c-ctype.c
137 ## end   gnulib module c-ctype
139 ## begin gnulib module close-hook
141 liblgnu_la_SOURCES += close-hook.c
143 EXTRA_DIST += close-hook.h
145 ## end   gnulib module close-hook
147 ## begin gnulib module errno
149 BUILT_SOURCES += $(ERRNO_H)
151 # We need the following in order to create <errno.h> when the system
152 # doesn't have one that is POSIX compliant.
153 errno.h: errno.in.h
154         $(AM_V_GEN)rm -f $@-t $@ && \
155         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
156           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
157               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
158               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
159               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
160               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
161               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
162               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
163               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
164               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
165               < $(srcdir)/errno.in.h; \
166         } > $@-t && \
167         mv $@-t $@
168 MOSTLYCLEANFILES += errno.h errno.h-t
170 EXTRA_DIST += errno.in.h
172 ## end   gnulib module errno
174 ## begin gnulib module float
176 BUILT_SOURCES += $(FLOAT_H)
178 # We need the following in order to create <float.h> when the system
179 # doesn't have one that works with the given compiler.
180 float.h: float.in.h
181         $(AM_V_GEN)rm -f $@-t $@ && \
182         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
183           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
184               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
185               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
186               < $(srcdir)/float.in.h; \
187         } > $@-t && \
188         mv $@-t $@
189 MOSTLYCLEANFILES += float.h float.h-t
191 EXTRA_DIST += float.in.h
193 ## end   gnulib module float
195 ## begin gnulib module fseeko
198 EXTRA_DIST += fseeko.c stdio-impl.h
200 EXTRA_liblgnu_la_SOURCES += fseeko.c
202 ## end   gnulib module fseeko
204 ## begin gnulib module gettext
206 # This is for those projects which use "gettextize --intl" to put a source-code
207 # copy of libintl into their package. In such projects, every Makefile.am needs
208 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
209 # For the Makefile.ams in other directories it is the maintainer's
210 # responsibility; for the one from gnulib we do it here.
211 # This option has no effect when the user disables NLS (because then the intl
212 # directory contains no libintl.h file) or when the project does not use
213 # "gettextize --intl".
214 AM_CPPFLAGS += -I$(top_builddir)/intl
216 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
218 ## end   gnulib module gettext
220 ## begin gnulib module gettext-h
222 liblgnu_la_SOURCES += gettext.h
224 ## end   gnulib module gettext-h
226 ## begin gnulib module havelib
229 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
231 ## end   gnulib module havelib
233 ## begin gnulib module lseek
236 EXTRA_DIST += lseek.c
238 EXTRA_liblgnu_la_SOURCES += lseek.c
240 ## end   gnulib module lseek
242 ## begin gnulib module memchr
245 EXTRA_DIST += memchr.c memchr.valgrind
247 EXTRA_liblgnu_la_SOURCES += memchr.c
249 ## end   gnulib module memchr
251 ## begin gnulib module memmem-simple
254 EXTRA_DIST += memmem.c str-two-way.h
256 EXTRA_liblgnu_la_SOURCES += memmem.c
258 ## end   gnulib module memmem-simple
260 ## begin gnulib module minmax
262 liblgnu_la_SOURCES += minmax.h
264 ## end   gnulib module minmax
266 ## begin gnulib module netdb
268 BUILT_SOURCES += netdb.h
270 # We need the following in order to create <netdb.h> when the system
271 # doesn't have one that works with the given compiler.
272 netdb.h: netdb.in.h $(ARG_NONNULL_H)
273         $(AM_V_GEN)rm -f $@-t $@ && \
274         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
275           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
276               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
277               -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
278               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
279               -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
280               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
281               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
282               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
283               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
284               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
285               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
286               < $(srcdir)/netdb.in.h; \
287         } > $@-t && \
288         mv $@-t $@
289 MOSTLYCLEANFILES += netdb.h netdb.h-t
291 EXTRA_DIST += netdb.in.h
293 ## end   gnulib module netdb
295 ## begin gnulib module read-file
298 EXTRA_DIST += read-file.c read-file.h
300 EXTRA_liblgnu_la_SOURCES += read-file.c
302 ## end   gnulib module read-file
304 ## begin gnulib module realloc-posix
307 EXTRA_DIST += realloc.c
309 EXTRA_liblgnu_la_SOURCES += realloc.c
311 ## end   gnulib module realloc-posix
313 ## begin gnulib module size_max
315 liblgnu_la_SOURCES += size_max.h
317 ## end   gnulib module size_max
319 ## begin gnulib module snprintf
322 EXTRA_DIST += snprintf.c
324 EXTRA_liblgnu_la_SOURCES += snprintf.c
326 ## end   gnulib module snprintf
328 ## begin gnulib module sockets
330 liblgnu_la_SOURCES += sockets.h sockets.c
332 EXTRA_DIST += w32sock.h
334 ## end   gnulib module sockets
336 ## begin gnulib module stdbool
338 BUILT_SOURCES += $(STDBOOL_H)
340 # We need the following in order to create <stdbool.h> when the system
341 # doesn't have one that works.
342 stdbool.h: stdbool.in.h
343         $(AM_V_GEN)rm -f $@-t $@ && \
344         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
345           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
346         } > $@-t && \
347         mv $@-t $@
348 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
350 EXTRA_DIST += stdbool.in.h
352 ## end   gnulib module stdbool
354 ## begin gnulib module stddef
356 BUILT_SOURCES += $(STDDEF_H)
358 # We need the following in order to create <stddef.h> when the system
359 # doesn't have one that works with the given compiler.
360 stddef.h: stddef.in.h
361         $(AM_V_GEN)rm -f $@-t $@ && \
362         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
363           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
364               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
365               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
366               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
367               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
368               < $(srcdir)/stddef.in.h; \
369         } > $@-t && \
370         mv $@-t $@
371 MOSTLYCLEANFILES += stddef.h stddef.h-t
373 EXTRA_DIST += stddef.in.h
375 ## end   gnulib module stddef
377 ## begin gnulib module stdint
379 BUILT_SOURCES += $(STDINT_H)
381 # We need the following in order to create <stdint.h> when the system
382 # doesn't have one that works with the given compiler.
383 stdint.h: stdint.in.h
384         $(AM_V_GEN)rm -f $@-t $@ && \
385         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
386           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
387               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
388               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
389               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
390               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
391               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
392               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
393               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
394               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
395               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
396               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
397               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
398               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
399               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
400               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
401               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
402               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
403               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
404               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
405               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
406               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
407               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
408               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
409               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
410               < $(srcdir)/stdint.in.h; \
411         } > $@-t && \
412         mv $@-t $@
413 MOSTLYCLEANFILES += stdint.h stdint.h-t
415 EXTRA_DIST += stdint.in.h
417 ## end   gnulib module stdint
419 ## begin gnulib module stdio
421 BUILT_SOURCES += stdio.h
423 # We need the following in order to create <stdio.h> when the system
424 # doesn't have one that works with the given compiler.
425 stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
426         $(AM_V_GEN)rm -f $@-t $@ && \
427         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
428           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
429               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
430               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
431               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
432               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
433               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
434               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
435               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
436               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
437               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
438               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
439               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
440               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
441               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
442               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
443               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
444               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
445               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
446               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
447               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
448               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
449               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
450               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
451               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
452               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
453               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
454               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
455               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
456               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
457               -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
458               -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
459               -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
460               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
461               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
462               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
463               -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
464               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
465               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
466               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
467               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
468               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
469               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
470               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
471               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
472               < $(srcdir)/stdio.in.h | \
473           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
474               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
475               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
476               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
477               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
478               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
479               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
480               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
481               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
482               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
483               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
484               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
485               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
486               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
487               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
488               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
489               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
490               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
491               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
492               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
493               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
494               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
495               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
496               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
497               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
498               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
499               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
500               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
501               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
502               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
503               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
504               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
505               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
506               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
507               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
508               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
509               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
510               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
511               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
512               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
513               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
514               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
515               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
516               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
517               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
518         } > $@-t && \
519         mv $@-t $@
520 MOSTLYCLEANFILES += stdio.h stdio.h-t
522 EXTRA_DIST += stdio-write.c stdio.in.h
524 EXTRA_liblgnu_la_SOURCES += stdio-write.c
526 ## end   gnulib module stdio
528 ## begin gnulib module stdlib
530 BUILT_SOURCES += stdlib.h
532 # We need the following in order to create <stdlib.h> when the system
533 # doesn't have one that works with the given compiler.
534 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
535         $(AM_V_GEN)rm -f $@-t $@ && \
536         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
537           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
538               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
539               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
540               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
541               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
542               -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
543               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
544               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
545               -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
546               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
547               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
548               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
549               -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
550               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
551               -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
552               -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
553               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
554               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
555               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
556               -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
557               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
558               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
559               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
560               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
561               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
562               -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
563               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
564               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
565               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
566               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
567               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
568               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
569               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
570               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
571               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
572               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
573               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
574               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
575               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
576               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
577               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
578               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
579               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
580               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
581               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
582               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
583               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
584               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
585               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
586               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
587               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
588               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
589               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
590               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
591               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
592               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
593               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
594               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
595               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
596               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
597               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
598               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
599               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
600               < $(srcdir)/stdlib.in.h; \
601         } > $@-t && \
602         mv $@-t $@
603 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
605 EXTRA_DIST += stdlib.in.h
607 ## end   gnulib module stdlib
609 ## begin gnulib module strcase
612 EXTRA_DIST += strcasecmp.c strncasecmp.c
614 EXTRA_liblgnu_la_SOURCES += strcasecmp.c strncasecmp.c
616 ## end   gnulib module strcase
618 ## begin gnulib module string
620 BUILT_SOURCES += string.h
622 # We need the following in order to create <string.h> when the system
623 # doesn't have one that works with the given compiler.
624 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
625         $(AM_V_GEN)rm -f $@-t $@ && \
626         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
627           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
628               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
629               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
630               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
631               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
632               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
633               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
634               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
635               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
636               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
637               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
638               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
639               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
640               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
641               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
642               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
643               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
644               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
645               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
646               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
647               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
648               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
649               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
650               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
651               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
652               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
653               -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
654               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
655               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
656               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
657               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
658               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
659               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
660               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
661               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
662               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
663               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
664               < $(srcdir)/string.in.h | \
665           sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
666               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
667               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
668               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
669               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
670               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
671               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
672               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
673               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
674               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
675               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
676               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
677               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
678               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
679               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
680               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
681               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
682               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
683               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
684               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
685               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
686               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
687               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
688               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
689               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
690               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
691               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
692               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
693               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
694               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
695               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
696               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
697               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
698               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
699               < $(srcdir)/string.in.h; \
700         } > $@-t && \
701         mv $@-t $@
702 MOSTLYCLEANFILES += string.h string.h-t
704 EXTRA_DIST += string.in.h
706 ## end   gnulib module string
708 ## begin gnulib module strings
710 BUILT_SOURCES += strings.h
712 # We need the following in order to create <strings.h> when the system
713 # doesn't have one that works with the given compiler.
714 strings.h: strings.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
715         $(AM_V_GEN)rm -f $@-t $@ && \
716         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
717           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
718               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
719               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
720               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
721               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
722               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
723               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
724               < $(srcdir)/strings.in.h; \
725         } > $@-t && \
726         mv $@-t $@
727 MOSTLYCLEANFILES += strings.h strings.h-t
729 EXTRA_DIST += strings.in.h
731 ## end   gnulib module strings
733 ## begin gnulib module strverscmp
736 EXTRA_DIST += strverscmp.c
738 EXTRA_liblgnu_la_SOURCES += strverscmp.c
740 ## end   gnulib module strverscmp
742 ## begin gnulib module sys_socket
744 BUILT_SOURCES += sys/socket.h
746 # We need the following in order to create <sys/socket.h> when the system
747 # doesn't have one that works with the given compiler.
748 sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
749         $(AM_V_at)$(MKDIR_P) sys
750         $(AM_V_GEN)rm -f $@-t $@ && \
751         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
752           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
753               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
754               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
755               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
756               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
757               -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
758               -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
759               -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
760               -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
761               -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
762               -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
763               -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
764               -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
765               -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
766               -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
767               -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
768               -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
769               -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
770               -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
771               -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
772               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
773               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
774               -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
775               -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
776               -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
777               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
778               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
779               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
780               < $(srcdir)/sys_socket.in.h; \
781         } > $@-t && \
782         mv -f $@-t $@
783 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
784 MOSTLYCLEANDIRS += sys
786 EXTRA_DIST += sys_socket.in.h
788 ## end   gnulib module sys_socket
790 ## begin gnulib module sys_stat
792 BUILT_SOURCES += sys/stat.h
794 # We need the following in order to create <sys/stat.h> when the system
795 # has one that is incomplete.
796 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
797         $(AM_V_at)$(MKDIR_P) sys
798         $(AM_V_GEN)rm -f $@-t $@ && \
799         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
800           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
801               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
802               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
803               -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
804               -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
805               -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
806               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
807               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
808               -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
809               -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
810               -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
811               -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
812               -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
813               -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
814               -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
815               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
816               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
817               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
818               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
819               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
820               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
821               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
822               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
823               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
824               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
825               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
826               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
827               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
828               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
829               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
830               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
831               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
832               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
833               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
834               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
835               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
836               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
837               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
838               < $(srcdir)/sys_stat.in.h; \
839         } > $@-t && \
840         mv $@-t $@
841 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
842 MOSTLYCLEANDIRS += sys
844 EXTRA_DIST += sys_stat.in.h
846 ## end   gnulib module sys_stat
848 ## begin gnulib module time
850 BUILT_SOURCES += time.h
852 # We need the following in order to create <time.h> when the system
853 # doesn't have one that works with the given compiler.
854 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
855         $(AM_V_GEN)rm -f $@-t $@ && \
856         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
857           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
858               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
859               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
860               -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
861               -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
862               -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
863               -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
864               -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
865               -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
866               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
867               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
868               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
869               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
870               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
871               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
872               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
873               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
874               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
875               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
876               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
877               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
878               < $(srcdir)/time.in.h; \
879         } > $@-t && \
880         mv $@-t $@
881 MOSTLYCLEANFILES += time.h time.h-t
883 EXTRA_DIST += time.in.h
885 ## end   gnulib module time
887 ## begin gnulib module time_r
890 EXTRA_DIST += time_r.c
892 EXTRA_liblgnu_la_SOURCES += time_r.c
894 ## end   gnulib module time_r
896 ## begin gnulib module unistd
898 BUILT_SOURCES += unistd.h
900 # We need the following in order to create an empty placeholder for
901 # <unistd.h> when the system doesn't have one.
902 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
903         $(AM_V_GEN)rm -f $@-t $@ && \
904         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
905           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
906               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
907               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
908               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
909               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
910               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
911               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
912               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
913               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
914               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
915               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
916               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
917               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
918               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
919               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
920               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
921               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
922               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
923               -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
924               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
925               -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
926               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
927               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
928               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
929               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
930               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
931               -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
932               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
933               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
934               -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
935               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
936               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
937               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
938               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
939               -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
940               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
941               -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
942               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
943               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
944               -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
945               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
946               -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
947               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
948               < $(srcdir)/unistd.in.h | \
949           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
950               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
951               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
952               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
953               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
954               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
955               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
956               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
957               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
958               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
959               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
960               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
961               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
962               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
963               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
964               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
965               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
966               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
967               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
968               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
969               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
970               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
971               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
972               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
973               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
974               -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
975               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
976               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
977               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
978               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
979               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
980               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
981               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
982               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
983               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
984               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
985               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
986               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
987               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
988               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
989               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
990               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
991               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
992               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
993               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
994               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
995               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
996               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
997               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
998               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
999               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1000               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1001               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1002               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1003               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1004               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1005               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1006               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1007               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1008               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1009         } > $@-t && \
1010         mv $@-t $@
1011 MOSTLYCLEANFILES += unistd.h unistd.h-t
1013 EXTRA_DIST += unistd.in.h
1015 ## end   gnulib module unistd
1017 ## begin gnulib module vasnprintf
1020 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1022 EXTRA_liblgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1024 ## end   gnulib module vasnprintf
1026 ## begin gnulib module vasprintf
1029 EXTRA_DIST += asprintf.c vasprintf.c
1031 EXTRA_liblgnu_la_SOURCES += asprintf.c vasprintf.c
1033 ## end   gnulib module vasprintf
1035 ## begin gnulib module vsnprintf
1038 EXTRA_DIST += vsnprintf.c
1040 EXTRA_liblgnu_la_SOURCES += vsnprintf.c
1042 ## end   gnulib module vsnprintf
1044 ## begin gnulib module warn-on-use
1046 BUILT_SOURCES += warn-on-use.h
1047 # The warn-on-use.h that gets inserted into generated .h files is the same as
1048 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1049 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1050         $(AM_V_GEN)rm -f $@-t $@ && \
1051         sed -n -e '/^.ifndef/,$$p' \
1052           < $(top_srcdir)/build-aux/warn-on-use.h \
1053           > $@-t && \
1054         mv $@-t $@
1055 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1057 WARN_ON_USE_H=warn-on-use.h
1059 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1061 ## end   gnulib module warn-on-use
1063 ## begin gnulib module wchar
1065 BUILT_SOURCES += wchar.h
1067 # We need the following in order to create <wchar.h> when the system
1068 # version does not work standalone.
1069 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1070         $(AM_V_GEN)rm -f $@-t $@ && \
1071         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1072           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1073               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1074               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1075               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1076               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1077               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1078               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1079               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1080               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1081               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1082               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1083               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1084               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1085               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1086               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1087               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1088               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1089               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1090               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1091               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1092               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1093               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1094               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1095               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1096               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1097               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1098               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1099               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1100               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1101               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1102               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1103               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1104               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1105               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1106               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1107               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1108               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1109               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1110               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1111               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1112               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1113               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1114             < $(srcdir)/wchar.in.h; \
1115         } > $@-t && \
1116         mv $@-t $@
1117 MOSTLYCLEANFILES += wchar.h wchar.h-t
1119 EXTRA_DIST += wchar.in.h
1121 ## end   gnulib module wchar
1123 ## begin gnulib module xsize
1125 liblgnu_la_SOURCES += xsize.h
1127 ## end   gnulib module xsize
1130 mostlyclean-local: mostlyclean-generic
1131         @for dir in '' $(MOSTLYCLEANDIRS); do \
1132           if test -n "$$dir" && test -d $$dir; then \
1133             echo "rmdir $$dir"; rmdir $$dir; \
1134           fi; \
1135         done; \
1136         :