Update gnulib files.
[gnutls.git] / gl / Makefile.am
blobb43e6bb96d39135261d83d74609e16667ea648a4
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=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=gl/tests --aux-dir=build-aux --with-tests --libtool --macro-prefix=gl --no-vc-files accept arpa_inet autobuild bind close connect error fdl-1.3 gendocs getaddrinfo getline getpass-gnu gettime gnupload gpl-3.0 inet_ntop inet_pton lgpl-2.1 listen maintainer-makefile manywarnings minmax perror pmccabe2html progname read-file readline recv select send setsockopt shutdown socket sockets sys_stat update-copyright version-etc-fsf warnings
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 += libgnu.la
36 libgnu_la_SOURCES =
37 libgnu_la_LIBADD = $(gl_LTLIBOBJS)
38 libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS)
39 EXTRA_libgnu_la_SOURCES =
40 libgnu_la_LDFLAGS = $(AM_LDFLAGS)
42 ## begin gnulib module accept
45 EXTRA_DIST += accept.c w32sock.h
47 EXTRA_libgnu_la_SOURCES += accept.c
49 ## end   gnulib module accept
51 ## begin gnulib module alignof
54 EXTRA_DIST += alignof.h
56 ## end   gnulib module alignof
58 ## begin gnulib module alloca
61 EXTRA_DIST += alloca.c
63 EXTRA_libgnu_la_SOURCES += alloca.c
65 libgnu_la_LIBADD += @LTALLOCA@
66 libgnu_la_DEPENDENCIES += @LTALLOCA@
67 ## end   gnulib module alloca
69 ## begin gnulib module alloca-opt
71 BUILT_SOURCES += $(ALLOCA_H)
73 # We need the following in order to create <alloca.h> when the system
74 # doesn't have one that works with the given compiler.
75 alloca.h: alloca.in.h
76         $(AM_V_GEN)rm -f $@-t $@ && \
77         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
78           cat $(srcdir)/alloca.in.h; \
79         } > $@-t && \
80         mv -f $@-t $@
81 MOSTLYCLEANFILES += alloca.h alloca.h-t
83 EXTRA_DIST += alloca.in.h
85 ## end   gnulib module alloca-opt
87 ## begin gnulib module arg-nonnull
89 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
90 # statements but through direct file reference. Therefore this snippet must be
91 # present in all Makefile.am that need it. This is ensured by the applicability
92 # 'all' defined above.
94 BUILT_SOURCES += arg-nonnull.h
95 # The arg-nonnull.h that gets inserted into generated .h files is the same as
96 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
97 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
98         $(AM_V_GEN)rm -f $@-t $@ && \
99         sed -n -e '/GL_ARG_NONNULL/,$$p' \
100           < $(top_srcdir)/build-aux/arg-nonnull.h \
101           > $@-t && \
102         mv $@-t $@
103 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
105 ARG_NONNULL_H=arg-nonnull.h
107 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
109 ## end   gnulib module arg-nonnull
111 ## begin gnulib module arpa_inet
113 BUILT_SOURCES += arpa/inet.h
115 # We need the following in order to create <arpa/inet.h> when the system
116 # doesn't have one.
117 arpa/inet.h: arpa_inet.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
118         $(AM_V_at)$(MKDIR_P) arpa
119         $(AM_V_GEN)rm -f $@-t $@ && \
120         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
121           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
122               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
123               -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
124               -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
125               -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
126               -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
127               -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
128               -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
129               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
130               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
131               < $(srcdir)/arpa_inet.in.h; \
132         } > $@-t && \
133         mv $@-t $@
134 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
135 MOSTLYCLEANDIRS += arpa
137 EXTRA_DIST += arpa_inet.in.h
139 ## end   gnulib module arpa_inet
141 ## begin gnulib module bind
144 EXTRA_DIST += bind.c w32sock.h
146 EXTRA_libgnu_la_SOURCES += bind.c
148 ## end   gnulib module bind
150 ## begin gnulib module c++defs
152 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
153 # statements but through direct file reference. Therefore this snippet must be
154 # present in all Makefile.am that need it. This is ensured by the applicability
155 # 'all' defined above.
157 BUILT_SOURCES += c++defs.h
158 # The c++defs.h that gets inserted into generated .h files is the same as
159 # build-aux/c++defs.h, except that it has the copyright header cut off.
160 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
161         $(AM_V_GEN)rm -f $@-t $@ && \
162         sed -n -e '/_GL_CXXDEFS/,$$p' \
163           < $(top_srcdir)/build-aux/c++defs.h \
164           > $@-t && \
165         mv $@-t $@
166 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
168 CXXDEFS_H=c++defs.h
170 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
172 ## end   gnulib module c++defs
174 ## begin gnulib module c-ctype
176 libgnu_la_SOURCES += c-ctype.h c-ctype.c
178 ## end   gnulib module c-ctype
180 ## begin gnulib module close
183 EXTRA_DIST += close.c
185 EXTRA_libgnu_la_SOURCES += close.c
187 ## end   gnulib module close
189 ## begin gnulib module close-hook
191 libgnu_la_SOURCES += close-hook.c
193 EXTRA_DIST += close-hook.h
195 ## end   gnulib module close-hook
197 ## begin gnulib module connect
200 EXTRA_DIST += connect.c w32sock.h
202 EXTRA_libgnu_la_SOURCES += connect.c
204 ## end   gnulib module connect
206 ## begin gnulib module errno
208 BUILT_SOURCES += $(ERRNO_H)
210 # We need the following in order to create <errno.h> when the system
211 # doesn't have one that is POSIX compliant.
212 errno.h: errno.in.h
213         $(AM_V_GEN)rm -f $@-t $@ && \
214         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
215           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
216               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
217               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
218               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
219               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
220               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
221               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
222               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
223               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
224               < $(srcdir)/errno.in.h; \
225         } > $@-t && \
226         mv $@-t $@
227 MOSTLYCLEANFILES += errno.h errno.h-t
229 EXTRA_DIST += errno.in.h
231 ## end   gnulib module errno
233 ## begin gnulib module error
236 EXTRA_DIST += error.c error.h
238 EXTRA_libgnu_la_SOURCES += error.c
240 ## end   gnulib module error
242 ## begin gnulib module fclose
245 EXTRA_DIST += fclose.c
247 EXTRA_libgnu_la_SOURCES += fclose.c
249 ## end   gnulib module fclose
251 ## begin gnulib module float
253 BUILT_SOURCES += $(FLOAT_H)
255 # We need the following in order to create <float.h> when the system
256 # doesn't have one that works with the given compiler.
257 float.h: float.in.h
258         $(AM_V_GEN)rm -f $@-t $@ && \
259         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
260           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
261               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
262               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
263               < $(srcdir)/float.in.h; \
264         } > $@-t && \
265         mv $@-t $@
266 MOSTLYCLEANFILES += float.h float.h-t
268 EXTRA_DIST += float.in.h
270 ## end   gnulib module float
272 ## begin gnulib module fseeko
275 EXTRA_DIST += fseeko.c stdio-impl.h
277 EXTRA_libgnu_la_SOURCES += fseeko.c
279 ## end   gnulib module fseeko
281 ## begin gnulib module gendocs
284 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
286 ## end   gnulib module gendocs
288 ## begin gnulib module getaddrinfo
291 EXTRA_DIST += gai_strerror.c getaddrinfo.c
293 EXTRA_libgnu_la_SOURCES += gai_strerror.c getaddrinfo.c
295 ## end   gnulib module getaddrinfo
297 ## begin gnulib module getdelim
300 EXTRA_DIST += getdelim.c
302 EXTRA_libgnu_la_SOURCES += getdelim.c
304 ## end   gnulib module getdelim
306 ## begin gnulib module getline
309 EXTRA_DIST += getline.c
311 EXTRA_libgnu_la_SOURCES += getline.c
313 ## end   gnulib module getline
315 ## begin gnulib module getpass-gnu
318 EXTRA_DIST += getpass.c getpass.h
320 EXTRA_libgnu_la_SOURCES += getpass.c
322 ## end   gnulib module getpass-gnu
324 ## begin gnulib module gettext-h
326 libgnu_la_SOURCES += gettext.h
328 ## end   gnulib module gettext-h
330 ## begin gnulib module gettime
333 EXTRA_DIST += gettime.c
335 EXTRA_libgnu_la_SOURCES += gettime.c
337 ## end   gnulib module gettime
339 ## begin gnulib module gettimeofday
342 EXTRA_DIST += gettimeofday.c
344 EXTRA_libgnu_la_SOURCES += gettimeofday.c
346 ## end   gnulib module gettimeofday
348 ## begin gnulib module gnumakefile
350 distclean-local: clean-GNUmakefile
351 clean-GNUmakefile:
352         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
354 EXTRA_DIST += $(top_srcdir)/GNUmakefile
356 ## end   gnulib module gnumakefile
358 ## begin gnulib module gnupload
361 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
363 ## end   gnulib module gnupload
365 ## begin gnulib module havelib
368 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
370 ## end   gnulib module havelib
372 ## begin gnulib module inet_ntop
375 EXTRA_DIST += inet_ntop.c
377 EXTRA_libgnu_la_SOURCES += inet_ntop.c
379 ## end   gnulib module inet_ntop
381 ## begin gnulib module inet_pton
384 EXTRA_DIST += inet_pton.c
386 EXTRA_libgnu_la_SOURCES += inet_pton.c
388 ## end   gnulib module inet_pton
390 ## begin gnulib module intprops
393 EXTRA_DIST += intprops.h
395 ## end   gnulib module intprops
397 ## begin gnulib module listen
400 EXTRA_DIST += listen.c w32sock.h
402 EXTRA_libgnu_la_SOURCES += listen.c
404 ## end   gnulib module listen
406 ## begin gnulib module lseek
409 EXTRA_DIST += lseek.c
411 EXTRA_libgnu_la_SOURCES += lseek.c
413 ## end   gnulib module lseek
415 ## begin gnulib module maintainer-makefile
417 EXTRA_DIST += $(top_srcdir)/maint.mk
419 ## end   gnulib module maintainer-makefile
421 ## begin gnulib module memchr
424 EXTRA_DIST += memchr.c memchr.valgrind
426 EXTRA_libgnu_la_SOURCES += memchr.c
428 ## end   gnulib module memchr
430 ## begin gnulib module minmax
432 libgnu_la_SOURCES += minmax.h
434 ## end   gnulib module minmax
436 ## begin gnulib module netdb
438 BUILT_SOURCES += netdb.h
440 # We need the following in order to create <netdb.h> when the system
441 # doesn't have one that works with the given compiler.
442 netdb.h: netdb.in.h $(ARG_NONNULL_H)
443         $(AM_V_GEN)rm -f $@-t $@ && \
444         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
445           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
446               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
447               -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
448               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
449               -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
450               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
451               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
452               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
453               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
454               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
455               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
456               < $(srcdir)/netdb.in.h; \
457         } > $@-t && \
458         mv $@-t $@
459 MOSTLYCLEANFILES += netdb.h netdb.h-t
461 EXTRA_DIST += netdb.in.h
463 ## end   gnulib module netdb
465 ## begin gnulib module netinet_in
467 BUILT_SOURCES += $(NETINET_IN_H)
469 # We need the following in order to create <netinet/in.h> when the system
470 # doesn't have one.
471 netinet/in.h: netinet_in.in.h
472         $(AM_V_at)$(MKDIR_P) netinet
473         $(AM_V_GEN)rm -f $@-t $@ && \
474         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
475           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
476               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
477               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
478               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
479               < $(srcdir)/netinet_in.in.h; \
480         } > $@-t && \
481         mv $@-t $@
482 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
483 MOSTLYCLEANDIRS += netinet
485 EXTRA_DIST += netinet_in.in.h
487 ## end   gnulib module netinet_in
489 ## begin gnulib module perror
492 EXTRA_DIST += perror.c
494 EXTRA_libgnu_la_SOURCES += perror.c
496 ## end   gnulib module perror
498 ## begin gnulib module pmccabe2html
501 EXTRA_DIST += $(top_srcdir)/build-aux/pmccabe2html $(top_srcdir)/build-aux/pmccabe.css
503 ## end   gnulib module pmccabe2html
505 ## begin gnulib module progname
507 libgnu_la_SOURCES += progname.h progname.c
509 ## end   gnulib module progname
511 ## begin gnulib module read-file
514 EXTRA_DIST += read-file.c read-file.h
516 EXTRA_libgnu_la_SOURCES += read-file.c
518 ## end   gnulib module read-file
520 ## begin gnulib module readline
523 EXTRA_DIST += readline.c readline.h
525 EXTRA_libgnu_la_SOURCES += readline.c
527 ## end   gnulib module readline
529 ## begin gnulib module realloc-posix
532 EXTRA_DIST += realloc.c
534 EXTRA_libgnu_la_SOURCES += realloc.c
536 ## end   gnulib module realloc-posix
538 ## begin gnulib module recv
541 EXTRA_DIST += recv.c w32sock.h
543 EXTRA_libgnu_la_SOURCES += recv.c
545 ## end   gnulib module recv
547 ## begin gnulib module select
550 EXTRA_DIST += select.c
552 EXTRA_libgnu_la_SOURCES += select.c
554 ## end   gnulib module select
556 ## begin gnulib module send
559 EXTRA_DIST += send.c w32sock.h
561 EXTRA_libgnu_la_SOURCES += send.c
563 ## end   gnulib module send
565 ## begin gnulib module setsockopt
568 EXTRA_DIST += setsockopt.c w32sock.h
570 EXTRA_libgnu_la_SOURCES += setsockopt.c
572 ## end   gnulib module setsockopt
574 ## begin gnulib module shutdown
577 EXTRA_DIST += shutdown.c w32sock.h
579 EXTRA_libgnu_la_SOURCES += shutdown.c
581 ## end   gnulib module shutdown
583 ## begin gnulib module size_max
585 libgnu_la_SOURCES += size_max.h
587 ## end   gnulib module size_max
589 ## begin gnulib module snprintf
592 EXTRA_DIST += snprintf.c
594 EXTRA_libgnu_la_SOURCES += snprintf.c
596 ## end   gnulib module snprintf
598 ## begin gnulib module socket
601 EXTRA_DIST += socket.c w32sock.h
603 EXTRA_libgnu_la_SOURCES += socket.c
605 ## end   gnulib module socket
607 ## begin gnulib module sockets
609 libgnu_la_SOURCES += sockets.h sockets.c
611 EXTRA_DIST += w32sock.h
613 ## end   gnulib module sockets
615 ## begin gnulib module stdarg
617 BUILT_SOURCES += $(STDARG_H)
619 # We need the following in order to create <stdarg.h> when the system
620 # doesn't have one that works with the given compiler.
621 stdarg.h: stdarg.in.h
622         $(AM_V_GEN)rm -f $@-t $@ && \
623         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
624           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
625               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
626               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
627               < $(srcdir)/stdarg.in.h; \
628         } > $@-t && \
629         mv $@-t $@
630 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
632 EXTRA_DIST += stdarg.in.h
634 ## end   gnulib module stdarg
636 ## begin gnulib module stdbool
638 BUILT_SOURCES += $(STDBOOL_H)
640 # We need the following in order to create <stdbool.h> when the system
641 # doesn't have one that works.
642 stdbool.h: stdbool.in.h
643         $(AM_V_GEN)rm -f $@-t $@ && \
644         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
645           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
646         } > $@-t && \
647         mv $@-t $@
648 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
650 EXTRA_DIST += stdbool.in.h
652 ## end   gnulib module stdbool
654 ## begin gnulib module stddef
656 BUILT_SOURCES += $(STDDEF_H)
658 # We need the following in order to create <stddef.h> when the system
659 # doesn't have one that works with the given compiler.
660 stddef.h: stddef.in.h
661         $(AM_V_GEN)rm -f $@-t $@ && \
662         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
663           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
664               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
665               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
666               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
667               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
668               < $(srcdir)/stddef.in.h; \
669         } > $@-t && \
670         mv $@-t $@
671 MOSTLYCLEANFILES += stddef.h stddef.h-t
673 EXTRA_DIST += stddef.in.h
675 ## end   gnulib module stddef
677 ## begin gnulib module stdint
679 BUILT_SOURCES += $(STDINT_H)
681 # We need the following in order to create <stdint.h> when the system
682 # doesn't have one that works with the given compiler.
683 stdint.h: stdint.in.h
684         $(AM_V_GEN)rm -f $@-t $@ && \
685         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
686           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
687               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
688               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
689               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
690               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
691               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
692               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
693               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
694               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
695               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
696               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
697               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
698               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
699               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
700               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
701               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
702               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
703               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
704               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
705               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
706               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
707               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
708               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
709               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
710               < $(srcdir)/stdint.in.h; \
711         } > $@-t && \
712         mv $@-t $@
713 MOSTLYCLEANFILES += stdint.h stdint.h-t
715 EXTRA_DIST += stdint.in.h
717 ## end   gnulib module stdint
719 ## begin gnulib module stdio
721 BUILT_SOURCES += stdio.h
723 # We need the following in order to create <stdio.h> when the system
724 # doesn't have one that works with the given compiler.
725 stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
726         $(AM_V_GEN)rm -f $@-t $@ && \
727         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
728           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
729               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
730               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
731               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
732               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
733               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
734               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
735               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
736               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
737               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
738               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
739               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
740               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
741               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
742               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
743               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
744               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
745               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
746               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
747               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
748               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
749               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
750               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
751               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
752               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
753               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
754               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
755               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
756               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
757               -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
758               -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
759               -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
760               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
761               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
762               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
763               -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
764               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
765               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
766               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
767               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
768               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
769               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
770               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
771               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
772               < $(srcdir)/stdio.in.h | \
773           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
774               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
775               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
776               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
777               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
778               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
779               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
780               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
781               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
782               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
783               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
784               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
785               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
786               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
787               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
788               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
789               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
790               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
791               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
792               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
793               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
794               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
795               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
796               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
797               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
798               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
799               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
800               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
801               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
802               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
803               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
804               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
805               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
806               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
807               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
808               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
809               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
810               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
811               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
812               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
813               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
814               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
815               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
816               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
817               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
818         } > $@-t && \
819         mv $@-t $@
820 MOSTLYCLEANFILES += stdio.h stdio.h-t
822 EXTRA_DIST += stdio-write.c stdio.in.h
824 EXTRA_libgnu_la_SOURCES += stdio-write.c
826 ## end   gnulib module stdio
828 ## begin gnulib module stdlib
830 BUILT_SOURCES += stdlib.h
832 # We need the following in order to create <stdlib.h> when the system
833 # doesn't have one that works with the given compiler.
834 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
835         $(AM_V_GEN)rm -f $@-t $@ && \
836         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
837           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
838               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
839               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
840               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
841               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
842               -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
843               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
844               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
845               -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
846               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
847               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
848               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
849               -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
850               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
851               -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
852               -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
853               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
854               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
855               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
856               -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
857               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
858               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
859               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
860               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
861               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
862               -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
863               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
864               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
865               -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
866               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
867               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
868               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
869               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
870               -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
871               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
872               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
873               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
874               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
875               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
876               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
877               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
878               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
879               -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
880               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
881               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
882               -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
883               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
884               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
885               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
886               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
887               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
888               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
889               -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
890               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
891               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
892               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
893               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
894               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
895               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
896               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
897               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
898               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
899               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
900               < $(srcdir)/stdlib.in.h; \
901         } > $@-t && \
902         mv $@-t $@
903 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
905 EXTRA_DIST += stdlib.in.h
907 ## end   gnulib module stdlib
909 ## begin gnulib module strerror
912 EXTRA_DIST += strerror.c
914 EXTRA_libgnu_la_SOURCES += strerror.c
916 ## end   gnulib module strerror
918 ## begin gnulib module string
920 BUILT_SOURCES += string.h
922 # We need the following in order to create <string.h> when the system
923 # doesn't have one that works with the given compiler.
924 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
925         $(AM_V_GEN)rm -f $@-t $@ && \
926         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
927           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
928               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
929               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
930               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
931               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
932               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
933               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
934               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
935               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
936               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
937               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
938               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
939               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
940               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
941               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
942               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
943               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
944               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
945               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
946               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
947               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
948               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
949               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
950               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
951               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
952               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
953               -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
954               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
955               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
956               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
957               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
958               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
959               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
960               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
961               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
962               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
963               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
964               < $(srcdir)/string.in.h | \
965           sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
966               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
967               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
968               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
969               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
970               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
971               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
972               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
973               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
974               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
975               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
976               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
977               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
978               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
979               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
980               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
981               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
982               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
983               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
984               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
985               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
986               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
987               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
988               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
989               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
990               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
991               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
992               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
993               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
994               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
995               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
996               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
997               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
998               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
999               < $(srcdir)/string.in.h; \
1000         } > $@-t && \
1001         mv $@-t $@
1002 MOSTLYCLEANFILES += string.h string.h-t
1004 EXTRA_DIST += string.in.h
1006 ## end   gnulib module string
1008 ## begin gnulib module sys_select
1010 BUILT_SOURCES += sys/select.h
1012 # We need the following in order to create <sys/select.h> when the system
1013 # doesn't have one that works with the given compiler.
1014 sys/select.h: sys_select.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
1015         $(AM_V_at)$(MKDIR_P) sys
1016         $(AM_V_GEN)rm -f $@-t $@ && \
1017         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1018           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1019               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1020               -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \
1021               -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \
1022               -e 's|@''GNULIB_SELECT''@|$(GNULIB_SELECT)|g' \
1023               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1024               -e 's|@''REPLACE_SELECT''@|$(REPLACE_SELECT)|g' \
1025               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1026               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1027               < $(srcdir)/sys_select.in.h; \
1028         } > $@-t && \
1029         mv $@-t $@
1030 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
1031 MOSTLYCLEANDIRS += sys
1033 EXTRA_DIST += sys_select.in.h
1035 ## end   gnulib module sys_select
1037 ## begin gnulib module sys_socket
1039 BUILT_SOURCES += sys/socket.h
1041 # We need the following in order to create <sys/socket.h> when the system
1042 # doesn't have one that works with the given compiler.
1043 sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1044         $(AM_V_at)$(MKDIR_P) sys
1045         $(AM_V_GEN)rm -f $@-t $@ && \
1046         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1047           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1048               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1049               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1050               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1051               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1052               -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1053               -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1054               -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1055               -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1056               -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1057               -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1058               -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1059               -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1060               -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1061               -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1062               -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1063               -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1064               -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1065               -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1066               -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1067               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1068               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1069               -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1070               -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1071               -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
1072               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1073               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1074               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1075               < $(srcdir)/sys_socket.in.h; \
1076         } > $@-t && \
1077         mv -f $@-t $@
1078 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1079 MOSTLYCLEANDIRS += sys
1081 EXTRA_DIST += sys_socket.in.h
1083 ## end   gnulib module sys_socket
1085 ## begin gnulib module sys_stat
1087 BUILT_SOURCES += sys/stat.h
1089 # We need the following in order to create <sys/stat.h> when the system
1090 # has one that is incomplete.
1091 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1092         $(AM_V_at)$(MKDIR_P) sys
1093         $(AM_V_GEN)rm -f $@-t $@ && \
1094         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1095           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1096               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1097               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1098               -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1099               -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1100               -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1101               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1102               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1103               -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1104               -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1105               -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1106               -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1107               -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1108               -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1109               -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1110               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1111               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1112               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1113               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1114               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1115               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1116               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1117               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1118               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1119               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1120               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1121               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1122               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1123               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1124               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1125               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1126               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1127               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1128               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1129               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1130               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1131               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1132               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1133               < $(srcdir)/sys_stat.in.h; \
1134         } > $@-t && \
1135         mv $@-t $@
1136 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1137 MOSTLYCLEANDIRS += sys
1139 EXTRA_DIST += sys_stat.in.h
1141 ## end   gnulib module sys_stat
1143 ## begin gnulib module sys_time
1145 BUILT_SOURCES += sys/time.h
1147 # We need the following in order to create <sys/time.h> when the system
1148 # doesn't have one that works with the given compiler.
1149 sys/time.h: sys_time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1150         $(AM_V_at)$(MKDIR_P) sys
1151         $(AM_V_GEN)rm -f $@-t $@ && \
1152         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1153           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1154               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1155               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1156               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1157               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1158               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1159               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1160               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1161               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1162               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1163               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1164               < $(srcdir)/sys_time.in.h; \
1165         } > $@-t && \
1166         mv $@-t $@
1167 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1169 EXTRA_DIST += sys_time.in.h
1171 ## end   gnulib module sys_time
1173 ## begin gnulib module time
1175 BUILT_SOURCES += time.h
1177 # We need the following in order to create <time.h> when the system
1178 # doesn't have one that works with the given compiler.
1179 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1180         $(AM_V_GEN)rm -f $@-t $@ && \
1181         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1182           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1183               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1184               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1185               -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1186               -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1187               -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1188               -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1189               -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
1190               -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
1191               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1192               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1193               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1194               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1195               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1196               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1197               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1198               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1199               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1200               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1201               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1202               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1203               < $(srcdir)/time.in.h; \
1204         } > $@-t && \
1205         mv $@-t $@
1206 MOSTLYCLEANFILES += time.h time.h-t
1208 EXTRA_DIST += time.in.h
1210 ## end   gnulib module time
1212 ## begin gnulib module timespec
1215 EXTRA_DIST += timespec.h
1217 ## end   gnulib module timespec
1219 ## begin gnulib module unistd
1221 BUILT_SOURCES += unistd.h
1223 # We need the following in order to create an empty placeholder for
1224 # <unistd.h> when the system doesn't have one.
1225 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1226         $(AM_V_GEN)rm -f $@-t $@ && \
1227         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1228           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1229               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1230               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1231               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1232               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1233               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1234               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1235               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1236               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1237               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1238               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1239               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1240               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1241               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1242               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1243               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1244               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1245               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1246               -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1247               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1248               -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1249               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1250               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1251               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1252               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1253               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1254               -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1255               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1256               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1257               -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1258               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1259               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1260               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1261               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1262               -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1263               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1264               -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
1265               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1266               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1267               -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1268               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1269               -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1270               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1271               < $(srcdir)/unistd.in.h | \
1272           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1273               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1274               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1275               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1276               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1277               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1278               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1279               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1280               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1281               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1282               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1283               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1284               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1285               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1286               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1287               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1288               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1289               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1290               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1291               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1292               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1293               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1294               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1295               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1296               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1297               -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
1298               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1299               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1300               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1301               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1302               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1303               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1304               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1305               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1306               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1307               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1308               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1309               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1310               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1311               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1312               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1313               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1314               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1315               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1316               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1317               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1318               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1319               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1320               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1321               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1322               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1323               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1324               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1325               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1326               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1327               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1328               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1329               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1330               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1331               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1332         } > $@-t && \
1333         mv $@-t $@
1334 MOSTLYCLEANFILES += unistd.h unistd.h-t
1336 EXTRA_DIST += unistd.in.h
1338 ## end   gnulib module unistd
1340 ## begin gnulib module update-copyright
1343 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
1345 ## end   gnulib module update-copyright
1347 ## begin gnulib module useless-if-before-free
1350 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
1352 ## end   gnulib module useless-if-before-free
1354 ## begin gnulib module vasnprintf
1357 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1359 EXTRA_libgnu_la_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1361 ## end   gnulib module vasnprintf
1363 ## begin gnulib module vc-list-files
1366 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
1368 ## end   gnulib module vc-list-files
1370 ## begin gnulib module version-etc
1372 libgnu_la_SOURCES += version-etc.h version-etc.c
1374 ## end   gnulib module version-etc
1376 ## begin gnulib module version-etc-fsf
1378 libgnu_la_SOURCES += version-etc-fsf.c
1380 ## end   gnulib module version-etc-fsf
1382 ## begin gnulib module warn-on-use
1384 BUILT_SOURCES += warn-on-use.h
1385 # The warn-on-use.h that gets inserted into generated .h files is the same as
1386 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1387 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1388         $(AM_V_GEN)rm -f $@-t $@ && \
1389         sed -n -e '/^.ifndef/,$$p' \
1390           < $(top_srcdir)/build-aux/warn-on-use.h \
1391           > $@-t && \
1392         mv $@-t $@
1393 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1395 WARN_ON_USE_H=warn-on-use.h
1397 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1399 ## end   gnulib module warn-on-use
1401 ## begin gnulib module wchar
1403 BUILT_SOURCES += wchar.h
1405 # We need the following in order to create <wchar.h> when the system
1406 # version does not work standalone.
1407 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1408         $(AM_V_GEN)rm -f $@-t $@ && \
1409         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1410           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1411               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1412               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1413               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1414               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1415               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1416               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1417               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1418               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1419               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1420               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1421               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1422               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1423               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1424               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1425               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1426               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1427               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1428               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1429               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1430               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1431               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1432               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1433               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1434               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1435               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1436               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1437               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1438               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1439               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1440               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1441               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1442               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1443               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1444               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1445               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1446               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1447               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1448               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1449               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1450               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1451               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1452             < $(srcdir)/wchar.in.h; \
1453         } > $@-t && \
1454         mv $@-t $@
1455 MOSTLYCLEANFILES += wchar.h wchar.h-t
1457 EXTRA_DIST += wchar.in.h
1459 ## end   gnulib module wchar
1461 ## begin gnulib module xsize
1463 libgnu_la_SOURCES += xsize.h
1465 ## end   gnulib module xsize
1468 mostlyclean-local: mostlyclean-generic
1469         @for dir in '' $(MOSTLYCLEANDIRS); do \
1470           if test -n "$$dir" && test -d $$dir; then \
1471             echo "rmdir $$dir"; rmdir $$dir; \
1472           fi; \
1473         done; \
1474         :