Update gnulib files.
[gnutls.git] / lib / gl / Makefile.am
blob090f7247748f2eff33be2702b1271147642bad05
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2009 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 byteswap
69 BUILT_SOURCES += $(BYTESWAP_H)
71 # We need the following in order to create <byteswap.h> when the system
72 # doesn't have one.
73 byteswap.h: byteswap.in.h
74         $(AM_V_GEN)rm -f $@-t $@ && \
75         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
76           cat $(srcdir)/byteswap.in.h; \
77         } > $@-t && \
78         mv -f $@-t $@
79 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
81 EXTRA_DIST += byteswap.in.h
83 ## end   gnulib module byteswap
85 ## begin gnulib module c-ctype
87 liblgnu_la_SOURCES += c-ctype.h c-ctype.c
89 ## end   gnulib module c-ctype
91 ## begin gnulib module close-hook
93 liblgnu_la_SOURCES += close-hook.c
95 EXTRA_DIST += close-hook.h
97 ## end   gnulib module close-hook
99 ## begin gnulib module errno
101 BUILT_SOURCES += $(ERRNO_H)
103 # We need the following in order to create <errno.h> when the system
104 # doesn't have one that is POSIX compliant.
105 errno.h: errno.in.h
106         $(AM_V_GEN)rm -f $@-t $@ && \
107         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
108           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
109               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
110               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
111               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
112               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
113               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
114               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
115               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
116               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
117               < $(srcdir)/errno.in.h; \
118         } > $@-t && \
119         mv $@-t $@
120 MOSTLYCLEANFILES += errno.h errno.h-t
122 EXTRA_DIST += errno.in.h
124 ## end   gnulib module errno
126 ## begin gnulib module float
128 BUILT_SOURCES += $(FLOAT_H)
130 # We need the following in order to create <float.h> when the system
131 # doesn't have one that works with the given compiler.
132 float.h: float.in.h
133         $(AM_V_GEN)rm -f $@-t $@ && \
134         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
135           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
136               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
137               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
138               < $(srcdir)/float.in.h; \
139         } > $@-t && \
140         mv $@-t $@
141 MOSTLYCLEANFILES += float.h float.h-t
143 EXTRA_DIST += float.in.h
145 ## end   gnulib module float
147 ## begin gnulib module fseeko
150 EXTRA_DIST += fseeko.c stdio-impl.h
152 EXTRA_liblgnu_la_SOURCES += fseeko.c
154 ## end   gnulib module fseeko
156 ## begin gnulib module gettext
158 # This is for those projects which use "gettextize --intl" to put a source-code
159 # copy of libintl into their package. In such projects, every Makefile.am needs
160 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
161 # For the Makefile.ams in other directories it is the maintainer's
162 # responsibility; for the one from gnulib we do it here.
163 # This option has no effect when the user disables NLS (because then the intl
164 # directory contains no libintl.h file) or when the project does not use
165 # "gettextize --intl".
166 AM_CPPFLAGS += -I$(top_builddir)/intl
168 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
170 ## end   gnulib module gettext
172 ## begin gnulib module gettext-h
174 liblgnu_la_SOURCES += gettext.h
176 ## end   gnulib module gettext-h
178 ## begin gnulib module havelib
181 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
183 ## end   gnulib module havelib
185 ## begin gnulib module link-warning
187 LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
189 EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h
191 ## end   gnulib module link-warning
193 ## begin gnulib module lseek
196 EXTRA_DIST += lseek.c
198 EXTRA_liblgnu_la_SOURCES += lseek.c
200 ## end   gnulib module lseek
202 ## begin gnulib module memchr
205 EXTRA_DIST += memchr.c memchr.valgrind
207 EXTRA_liblgnu_la_SOURCES += memchr.c
209 ## end   gnulib module memchr
211 ## begin gnulib module memmem-simple
214 EXTRA_DIST += memmem.c str-two-way.h
216 EXTRA_liblgnu_la_SOURCES += memmem.c
218 ## end   gnulib module memmem-simple
220 ## begin gnulib module minmax
222 liblgnu_la_SOURCES += minmax.h
224 ## end   gnulib module minmax
226 ## begin gnulib module netdb
228 BUILT_SOURCES += $(NETDB_H)
230 # We need the following in order to create <netdb.h> when the system
231 # doesn't have one that works with the given compiler.
232 netdb.h: netdb.in.h
233         $(AM_V_GEN)rm -f $@-t $@ && \
234         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
235           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
236               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
237               -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
238               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
239               -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
240               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
241               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
242               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
243               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
244               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
245               < $(srcdir)/netdb.in.h; \
246         } > $@-t && \
247         mv $@-t $@
248 MOSTLYCLEANFILES += netdb.h netdb.h-t
250 EXTRA_DIST += netdb.in.h
252 ## end   gnulib module netdb
254 ## begin gnulib module read-file
257 EXTRA_DIST += read-file.c read-file.h
259 EXTRA_liblgnu_la_SOURCES += read-file.c
261 ## end   gnulib module read-file
263 ## begin gnulib module realloc-posix
266 EXTRA_DIST += realloc.c
268 EXTRA_liblgnu_la_SOURCES += realloc.c
270 ## end   gnulib module realloc-posix
272 ## begin gnulib module size_max
274 liblgnu_la_SOURCES += size_max.h
276 ## end   gnulib module size_max
278 ## begin gnulib module snprintf
281 EXTRA_DIST += snprintf.c
283 EXTRA_liblgnu_la_SOURCES += snprintf.c
285 ## end   gnulib module snprintf
287 ## begin gnulib module sockets
289 liblgnu_la_SOURCES += sockets.h sockets.c
291 EXTRA_DIST += w32sock.h
293 ## end   gnulib module sockets
295 ## begin gnulib module stdbool
297 BUILT_SOURCES += $(STDBOOL_H)
299 # We need the following in order to create <stdbool.h> when the system
300 # doesn't have one that works.
301 stdbool.h: stdbool.in.h
302         $(AM_V_GEN)rm -f $@-t $@ && \
303         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
304           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
305         } > $@-t && \
306         mv $@-t $@
307 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
309 EXTRA_DIST += stdbool.in.h
311 ## end   gnulib module stdbool
313 ## begin gnulib module stddef
315 BUILT_SOURCES += $(STDDEF_H)
317 # We need the following in order to create <stddef.h> when the system
318 # doesn't have one that works with the given compiler.
319 stddef.h: stddef.in.h
320         $(AM_V_GEN)rm -f $@-t $@ && \
321         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
322           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
323               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
324               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
325               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
326               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
327               < $(srcdir)/stddef.in.h; \
328         } > $@-t && \
329         mv $@-t $@
330 MOSTLYCLEANFILES += stddef.h stddef.h-t
332 EXTRA_DIST += stddef.in.h
334 ## end   gnulib module stddef
336 ## begin gnulib module stdint
338 BUILT_SOURCES += $(STDINT_H)
340 # We need the following in order to create <stdint.h> when the system
341 # doesn't have one that works with the given compiler.
342 stdint.h: stdint.in.h
343         $(AM_V_GEN)rm -f $@-t $@ && \
344         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
345           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
346               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
347               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
348               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
349               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
350               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
351               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
352               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
353               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
354               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
355               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
356               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
357               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
358               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
359               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
360               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
361               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
362               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
363               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
364               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
365               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
366               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
367               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
368               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
369               < $(srcdir)/stdint.in.h; \
370         } > $@-t && \
371         mv $@-t $@
372 MOSTLYCLEANFILES += stdint.h stdint.h-t
374 EXTRA_DIST += stdint.in.h
376 ## end   gnulib module stdint
378 ## begin gnulib module stdio
380 BUILT_SOURCES += stdio.h
382 # We need the following in order to create <stdio.h> when the system
383 # doesn't have one that works with the given compiler.
384 stdio.h: stdio.in.h
385         $(AM_V_GEN)rm -f $@-t $@ && \
386         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
387           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
388               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
389               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
390               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
391               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
392               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
393               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
394               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
395               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
396               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
397               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
398               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
399               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
400               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
401               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
402               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
403               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
404               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
405               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
406               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
407               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
408               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
409               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
410               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
411               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
412               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
413               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
414               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
415               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
416               -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
417               -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
418               -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
419               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
420               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
421               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
422               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
423               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
424               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
425               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
426               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
427               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
428               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
429               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
430               -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
431               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
432               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
433               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
434               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
435               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
436               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
437               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
438               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
439               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
440               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
441               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
442               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
443               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
444               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
445               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
446               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
447               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
448               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
449               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
450               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
451               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
452               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
453               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
454               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
455               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
456               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
457               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
458               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
459               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
460               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
461               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
462               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
463               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
464               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
465               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
466               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
467               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
468               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
469               < $(srcdir)/stdio.in.h; \
470         } > $@-t && \
471         mv $@-t $@
472 MOSTLYCLEANFILES += stdio.h stdio.h-t
474 EXTRA_DIST += stdio-write.c stdio.in.h
476 EXTRA_liblgnu_la_SOURCES += stdio-write.c
478 ## end   gnulib module stdio
480 ## begin gnulib module stdlib
482 BUILT_SOURCES += stdlib.h
484 # We need the following in order to create <stdlib.h> when the system
485 # doesn't have one that works with the given compiler.
486 stdlib.h: stdlib.in.h
487         $(AM_V_GEN)rm -f $@-t $@ && \
488         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
489           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
490               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
491               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
492               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
493               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
494               -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
495               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
496               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
497               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
498               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
499               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
500               -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
501               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
502               -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
503               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
504               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
505               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
506               -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
507               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
508               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
509               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
510               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
511               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
512               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
513               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
514               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
515               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
516               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
517               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
518               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
519               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
520               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
521               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
522               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
523               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
524               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
525               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
526               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
527               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
528               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
529               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
530               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
531               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
532               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
533               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
534               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
535               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
536               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
537               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
538               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
539               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
540               -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \
541               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
542               < $(srcdir)/stdlib.in.h; \
543         } > $@-t && \
544         mv $@-t $@
545 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
547 EXTRA_DIST += stdlib.in.h
549 ## end   gnulib module stdlib
551 ## begin gnulib module strcase
554 EXTRA_DIST += strcasecmp.c strncasecmp.c
556 EXTRA_liblgnu_la_SOURCES += strcasecmp.c strncasecmp.c
558 ## end   gnulib module strcase
560 ## begin gnulib module string
562 BUILT_SOURCES += string.h
564 # We need the following in order to create <string.h> when the system
565 # doesn't have one that works with the given compiler.
566 string.h: string.in.h
567         $(AM_V_GEN)rm -f $@-t $@ && \
568         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
569           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
570               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
571               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
572               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
573               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
574               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
575               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
576               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
577               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
578               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
579               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
580               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
581               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
582               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
583               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
584               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
585               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
586               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
587               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
588               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
589               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
590               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
591               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
592               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
593               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
594               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
595               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
596               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
597               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
598               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
599               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
600               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
601               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
602               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
603               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
604               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
605               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
606               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
607               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
608               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
609               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
610               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
611               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
612               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
613               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
614               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
615               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
616               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
617               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
618               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
619               -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
620               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
621               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
622               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
623               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
624               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
625               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
626               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
627               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
628               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
629               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
630               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
631               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
632               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
633               < $(srcdir)/string.in.h; \
634         } > $@-t && \
635         mv $@-t $@
636 MOSTLYCLEANFILES += string.h string.h-t
638 EXTRA_DIST += string.in.h
640 ## end   gnulib module string
642 ## begin gnulib module strings
644 BUILT_SOURCES += strings.h
646 # We need the following in order to create <strings.h> when the system
647 # doesn't have one that works with the given compiler.
648 strings.h: strings.in.h
649         $(AM_V_GEN)rm -f $@-t $@ && \
650         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
651           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
652               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
653               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
654               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
655               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
656               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
657               < $(srcdir)/strings.in.h; \
658         } > $@-t && \
659         mv $@-t $@
660 MOSTLYCLEANFILES += strings.h strings.h-t
662 EXTRA_DIST += strings.in.h
664 ## end   gnulib module strings
666 ## begin gnulib module strverscmp
669 EXTRA_DIST += strverscmp.c
671 EXTRA_liblgnu_la_SOURCES += strverscmp.c
673 ## end   gnulib module strverscmp
675 ## begin gnulib module sys_socket
677 BUILT_SOURCES += $(SYS_SOCKET_H)
679 # We need the following in order to create <sys/socket.h> when the system
680 # doesn't have one that works with the given compiler.
681 sys/socket.h: sys_socket.in.h
682         $(AM_V_at)$(MKDIR_P) sys
683         $(AM_V_GEN)rm -f $@-t $@ && \
684         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
685           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
686               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
687               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
688               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
689               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
690               -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
691               -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
692               -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
693               -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
694               -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
695               -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
696               -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
697               -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
698               -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
699               -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
700               -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
701               -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
702               -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
703               -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
704               -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
705               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
706               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
707               -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
708               -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
709               -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
710               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
711               < $(srcdir)/sys_socket.in.h; \
712         } > $@-t && \
713         mv -f $@-t $@
714 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
715 MOSTLYCLEANDIRS += sys
717 EXTRA_DIST += sys_socket.in.h
719 ## end   gnulib module sys_socket
721 ## begin gnulib module sys_stat
723 BUILT_SOURCES += sys/stat.h
725 # We need the following in order to create <sys/stat.h> when the system
726 # has one that is incomplete.
727 sys/stat.h: sys_stat.in.h
728         $(AM_V_at)$(MKDIR_P) sys
729         $(AM_V_GEN)rm -f $@-t $@ && \
730         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
731           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
732               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
733               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
734               -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
735               -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
736               -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
737               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
738               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
739               -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
740               -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
741               -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
742               -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
743               -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
744               -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
745               -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
746               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
747               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
748               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
749               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
750               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
751               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
752               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
753               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
754               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
755               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
756               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
757               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
758               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
759               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
760               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
761               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
762               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
763               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
764               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
765               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
766               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
767               < $(srcdir)/sys_stat.in.h; \
768         } > $@-t && \
769         mv $@-t $@
770 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
771 MOSTLYCLEANDIRS += sys
773 EXTRA_DIST += sys_stat.in.h
775 ## end   gnulib module sys_stat
777 ## begin gnulib module time
779 BUILT_SOURCES += time.h
781 # We need the following in order to create <time.h> when the system
782 # doesn't have one that works with the given compiler.
783 time.h: time.in.h
784         $(AM_V_GEN)rm -f $@-t $@ && \
785         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
786           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
787               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
788               -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
789               -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
790               -e 's|@REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
791               -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
792               -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \
793               -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
794               -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
795               -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
796               < $(srcdir)/time.in.h; \
797         } > $@-t && \
798         mv $@-t $@
799 MOSTLYCLEANFILES += time.h time.h-t
801 EXTRA_DIST += time.in.h
803 ## end   gnulib module time
805 ## begin gnulib module time_r
808 EXTRA_DIST += time_r.c
810 EXTRA_liblgnu_la_SOURCES += time_r.c
812 ## end   gnulib module time_r
814 ## begin gnulib module unistd
816 BUILT_SOURCES += unistd.h
818 # We need the following in order to create an empty placeholder for
819 # <unistd.h> when the system doesn't have one.
820 unistd.h: unistd.in.h
821         $(AM_V_GEN)rm -f $@-t $@ && \
822         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
823           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
824               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
825               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
826               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
827               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
828               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
829               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
830               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
831               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
832               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
833               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
834               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
835               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
836               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
837               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
838               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
839               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
840               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
841               -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
842               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
843               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
844               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
845               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
846               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
847               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
848               -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
849               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
850               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
851               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
852               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
853               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
854               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
855               -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
856               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
857               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
858               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
859               -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
860               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
861               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
862               -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
863               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
864               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
865               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
866               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
867               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
868               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
869               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
870               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
871               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
872               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
873               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
874               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
875               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
876               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
877               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
878               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
879               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
880               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
881               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
882               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
883               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
884               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
885               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
886               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
887               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
888               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
889               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
890               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
891               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
892               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
893               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
894               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
895               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
896               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
897               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
898               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
899               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
900               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
901               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
902               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
903               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
904               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
905               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
906               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
907               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
908               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
909               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
910               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
911               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
912               < $(srcdir)/unistd.in.h; \
913         } > $@-t && \
914         mv $@-t $@
915 MOSTLYCLEANFILES += unistd.h unistd.h-t
917 EXTRA_DIST += unistd.in.h
919 ## end   gnulib module unistd
921 ## begin gnulib module vasnprintf
924 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
926 EXTRA_liblgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
928 ## end   gnulib module vasnprintf
930 ## begin gnulib module vasprintf
933 EXTRA_DIST += asprintf.c vasprintf.c
935 EXTRA_liblgnu_la_SOURCES += asprintf.c vasprintf.c
937 ## end   gnulib module vasprintf
939 ## begin gnulib module vsnprintf
942 EXTRA_DIST += vsnprintf.c
944 EXTRA_liblgnu_la_SOURCES += vsnprintf.c
946 ## end   gnulib module vsnprintf
948 ## begin gnulib module wchar
950 BUILT_SOURCES += $(WCHAR_H)
952 # We need the following in order to create <wchar.h> when the system
953 # version does not work standalone.
954 wchar.h: wchar.in.h
955         $(AM_V_GEN)rm -f $@-t $@ && \
956         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
957           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
958               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
959               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
960               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
961               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
962               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
963               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
964               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
965               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
966               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
967               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
968               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
969               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
970               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
971               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
972               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
973               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
974               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
975               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
976               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
977               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
978               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
979               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
980               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
981               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
982               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
983               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
984               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
985               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
986               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
987               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
988               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
989               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
990               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
991               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
992               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
993               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
994               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
995               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
996               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
997             < $(srcdir)/wchar.in.h; \
998         } > $@-t && \
999         mv $@-t $@
1000 MOSTLYCLEANFILES += wchar.h wchar.h-t
1002 EXTRA_DIST += wchar.in.h
1004 ## end   gnulib module wchar
1006 ## begin gnulib module xsize
1008 liblgnu_la_SOURCES += xsize.h
1010 ## end   gnulib module xsize
1013 mostlyclean-local: mostlyclean-generic
1014         @for dir in '' $(MOSTLYCLEANDIRS); do \
1015           if test -n "$$dir" && test -d $$dir; then \
1016             echo "rmdir $$dir"; rmdir $$dir; \
1017           fi; \
1018         done; \
1019         :