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.
4 #
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.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl --m4-base=gl/m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --no-libtool --macro-prefix=gl --no-vc-files base64 crypto/sha1 dirname floorf fsusage getaddrinfo gethostname getloadavg getopt gettext mountlist regex setenv strsep timegm unsetenv 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 EXTRA_DIST += m4/gnulib-cache.m4
30 AM_CPPFLAGS =
31 AM_CFLAGS =
33 noinst_LIBRARIES += libgnu.a
35 libgnu_a_SOURCES =
36 libgnu_a_LIBADD = $(gl_LIBOBJS)
37 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
38 EXTRA_libgnu_a_SOURCES =
40 ## begin gnulib module alignof
43 EXTRA_DIST += alignof.h
45 ## end gnulib module alignof
47 ## begin gnulib module alloca-opt
49 BUILT_SOURCES += $(ALLOCA_H)
51 # We need the following in order to create <alloca.h> when the system
52 # doesn't have one that works with the given compiler.
53 alloca.h: alloca.in.h
54 $(AM_V_GEN)rm -f $@-t $@ && \
55 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
56 cat $(srcdir)/alloca.in.h; \
57 } > $@-t && \
58 mv -f $@-t $@
59 MOSTLYCLEANFILES += alloca.h alloca.h-t
61 EXTRA_DIST += alloca.in.h
63 ## end gnulib module alloca-opt
65 ## begin gnulib module arg-nonnull
67 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
68 # statements but through direct file reference. Therefore this snippet must be
69 # present in all Makefile.am that need it. This is ensured by the applicability
70 # 'all' defined above.
72 BUILT_SOURCES += arg-nonnull.h
73 # The arg-nonnull.h that gets inserted into generated .h files is the same as
74 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
75 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
76 $(AM_V_GEN)rm -f $@-t $@ && \
77 sed -n -e '/GL_ARG_NONNULL/,$$p' \
78 < $(top_srcdir)/build-aux/arg-nonnull.h \
79 > $@-t && \
80 mv $@-t $@
81 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
83 ARG_NONNULL_H=arg-nonnull.h
85 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
87 ## end gnulib module arg-nonnull
89 ## begin gnulib module arpa_inet
91 BUILT_SOURCES += arpa/inet.h
93 # We need the following in order to create <arpa/inet.h> when the system
94 # doesn't have one.
95 arpa/inet.h: arpa_inet.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
96 $(AM_V_at)$(MKDIR_P) arpa
97 $(AM_V_GEN)rm -f $@-t $@ && \
98 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
99 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
100 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
101 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
102 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
103 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \
104 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
105 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
106 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
107 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
108 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
109 < $(srcdir)/arpa_inet.in.h; \
110 } > $@-t && \
111 mv $@-t $@
112 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
113 MOSTLYCLEANDIRS += arpa
115 EXTRA_DIST += arpa_inet.in.h
117 ## end gnulib module arpa_inet
119 ## begin gnulib module base64
121 libgnu_a_SOURCES += base64.h base64.c
123 ## end gnulib module base64
125 ## begin gnulib module btowc
128 EXTRA_DIST += btowc.c
130 EXTRA_libgnu_a_SOURCES += btowc.c
132 ## end gnulib module btowc
134 ## begin gnulib module c++defs
136 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
137 # statements but through direct file reference. Therefore this snippet must be
138 # present in all Makefile.am that need it. This is ensured by the applicability
139 # 'all' defined above.
141 BUILT_SOURCES += c++defs.h
142 # The c++defs.h that gets inserted into generated .h files is the same as
143 # build-aux/c++defs.h, except that it has the copyright header cut off.
144 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
145 $(AM_V_GEN)rm -f $@-t $@ && \
146 sed -n -e '/_GL_CXXDEFS/,$$p' \
147 < $(top_srcdir)/build-aux/c++defs.h \
148 > $@-t && \
149 mv $@-t $@
150 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
152 CXXDEFS_H=c++defs.h
154 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
156 ## end gnulib module c++defs
158 ## begin gnulib module c-strtod
161 EXTRA_DIST += c-strtod.c c-strtod.h
163 EXTRA_libgnu_a_SOURCES += c-strtod.c
165 ## end gnulib module c-strtod
167 ## begin gnulib module cloexec
170 EXTRA_DIST += cloexec.c cloexec.h
172 EXTRA_libgnu_a_SOURCES += cloexec.c
174 ## end gnulib module cloexec
176 ## begin gnulib module close-hook
178 libgnu_a_SOURCES += close-hook.c
180 EXTRA_DIST += close-hook.h
182 ## end gnulib module close-hook
184 ## begin gnulib module configmake
186 # Retrieve values of the variables through 'configure' followed by
187 # 'make', not directly through 'configure', so that a user who
188 # sets some of these variables consistently on the 'make' command
189 # line gets correct results.
190 #
191 # One advantage of this approach, compared to the classical
192 # approach of adding -DLIBDIR=\"$(libdir)\" etc. to AM_CPPFLAGS,
193 # is that it protects against the use of undefined variables.
194 # If, say, $(libdir) is not set in the Makefile, LIBDIR is not
195 # defined by this module, and code using LIBDIR gives a
196 # compilation error.
197 #
198 # Another advantage is that 'make' output is shorter.
199 #
200 # Listed in the same order as the GNU makefile conventions.
201 # The Automake-defined pkg* macros are appended, in the order
202 # listed in the Automake 1.10a+ documentation.
203 configmake.h: Makefile
204 $(AM_V_GEN)rm -f $@-t && \
205 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
206 echo '#define PREFIX "$(prefix)"'; \
207 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
208 echo '#define BINDIR "$(bindir)"'; \
209 echo '#define SBINDIR "$(sbindir)"'; \
210 echo '#define LIBEXECDIR "$(libexecdir)"'; \
211 echo '#define DATAROOTDIR "$(datarootdir)"'; \
212 echo '#define DATADIR "$(datadir)"'; \
213 echo '#define SYSCONFDIR "$(sysconfdir)"'; \
214 echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
215 echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
216 echo '#define INCLUDEDIR "$(includedir)"'; \
217 echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
218 echo '#define DOCDIR "$(docdir)"'; \
219 echo '#define INFODIR "$(infodir)"'; \
220 echo '#define HTMLDIR "$(htmldir)"'; \
221 echo '#define DVIDIR "$(dvidir)"'; \
222 echo '#define PDFDIR "$(pdfdir)"'; \
223 echo '#define PSDIR "$(psdir)"'; \
224 echo '#define LIBDIR "$(libdir)"'; \
225 echo '#define LISPDIR "$(lispdir)"'; \
226 echo '#define LOCALEDIR "$(localedir)"'; \
227 echo '#define MANDIR "$(mandir)"'; \
228 echo '#define MANEXT "$(manext)"'; \
229 echo '#define PKGDATADIR "$(pkgdatadir)"'; \
230 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
231 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
232 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
233 } | sed '/""/d' > $@-t && \
234 if test -f $@ && cmp $@-t $@ > /dev/null; then \
235 rm -f $@-t; \
236 else \
237 rm -f $@; mv $@-t $@; \
238 fi
240 BUILT_SOURCES += configmake.h
241 CLEANFILES += configmake.h configmake.h-t
243 ## end gnulib module configmake
245 ## begin gnulib module crypto/sha1
248 EXTRA_DIST += sha1.c sha1.h
250 EXTRA_libgnu_a_SOURCES += sha1.c
252 ## end gnulib module crypto/sha1
254 ## begin gnulib module dirname
257 EXTRA_DIST += basename.c dirname.c stripslash.c
259 EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
261 ## end gnulib module dirname
263 ## begin gnulib module dirname-lgpl
266 EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
268 EXTRA_libgnu_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
270 ## end gnulib module dirname-lgpl
272 ## begin gnulib module dup2
275 EXTRA_DIST += dup2.c
277 EXTRA_libgnu_a_SOURCES += dup2.c
279 ## end gnulib module dup2
281 ## begin gnulib module errno
283 BUILT_SOURCES += $(ERRNO_H)
285 # We need the following in order to create <errno.h> when the system
286 # doesn't have one that is POSIX compliant.
287 errno.h: errno.in.h
288 $(AM_V_GEN)rm -f $@-t $@ && \
289 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
290 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
291 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
292 -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
293 -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
294 -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
295 -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
296 -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
297 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
298 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
299 < $(srcdir)/errno.in.h; \
300 } > $@-t && \
301 mv $@-t $@
302 MOSTLYCLEANFILES += errno.h errno.h-t
304 EXTRA_DIST += errno.in.h
306 ## end gnulib module errno
308 ## begin gnulib module error
311 EXTRA_DIST += error.c error.h
313 EXTRA_libgnu_a_SOURCES += error.c
315 ## end gnulib module error
317 ## begin gnulib module exitfail
319 libgnu_a_SOURCES += exitfail.c
321 EXTRA_DIST += exitfail.h
323 ## end gnulib module exitfail
325 ## begin gnulib module fcntl
328 EXTRA_DIST += fcntl.c
330 EXTRA_libgnu_a_SOURCES += fcntl.c
332 ## end gnulib module fcntl
334 ## begin gnulib module fcntl-h
336 BUILT_SOURCES += fcntl.h
338 # We need the following in order to create <fcntl.h> when the system
339 # doesn't have one that works with the given compiler.
340 fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
341 $(AM_V_GEN)rm -f $@-t $@ && \
342 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
343 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
344 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
345 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
346 -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
347 -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
348 -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
349 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
350 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
351 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
352 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
353 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
354 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
355 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
356 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
357 < $(srcdir)/fcntl.in.h; \
358 } > $@-t && \
359 mv $@-t $@
360 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
362 EXTRA_DIST += fcntl.in.h
364 ## end gnulib module fcntl-h
366 ## begin gnulib module fcntl-safer
369 EXTRA_DIST += creat-safer.c fcntl--.h fcntl-safer.h open-safer.c
371 EXTRA_libgnu_a_SOURCES += creat-safer.c open-safer.c
373 ## end gnulib module fcntl-safer
375 ## begin gnulib module float
377 BUILT_SOURCES += $(FLOAT_H)
379 # We need the following in order to create <float.h> when the system
380 # doesn't have one that works with the given compiler.
381 float.h: float.in.h
382 $(AM_V_GEN)rm -f $@-t $@ && \
383 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
384 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
385 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
386 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
387 < $(srcdir)/float.in.h; \
388 } > $@-t && \
389 mv $@-t $@
390 MOSTLYCLEANFILES += float.h float.h-t
392 EXTRA_DIST += float.in.h
394 ## end gnulib module float
396 ## begin gnulib module floorf
399 EXTRA_DIST += floor.c floorf.c
401 EXTRA_libgnu_a_SOURCES += floor.c floorf.c
403 ## end gnulib module floorf
405 ## begin gnulib module fsusage
408 EXTRA_DIST += fsusage.c fsusage.h
410 EXTRA_libgnu_a_SOURCES += fsusage.c
412 ## end gnulib module fsusage
414 ## begin gnulib module full-read
416 libgnu_a_SOURCES += full-read.h full-read.c
418 ## end gnulib module full-read
420 ## begin gnulib module full-write
422 libgnu_a_SOURCES += full-write.h full-write.c
424 ## end gnulib module full-write
426 ## begin gnulib module getaddrinfo
429 EXTRA_DIST += gai_strerror.c getaddrinfo.c
431 EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
433 ## end gnulib module getaddrinfo
435 ## begin gnulib module getdtablesize
438 EXTRA_DIST += getdtablesize.c
440 EXTRA_libgnu_a_SOURCES += getdtablesize.c
442 ## end gnulib module getdtablesize
444 ## begin gnulib module gethostname
447 EXTRA_DIST += gethostname.c w32sock.h
449 EXTRA_libgnu_a_SOURCES += gethostname.c
451 ## end gnulib module gethostname
453 ## begin gnulib module getloadavg
456 EXTRA_DIST += getloadavg.c
458 EXTRA_libgnu_a_SOURCES += getloadavg.c
460 ## end gnulib module getloadavg
462 ## begin gnulib module getopt-posix
464 BUILT_SOURCES += $(GETOPT_H)
466 # We need the following in order to create <getopt.h> when the system
467 # doesn't have one that works with the given compiler.
468 getopt.h: getopt.in.h $(ARG_NONNULL_H)
469 $(AM_V_GEN)rm -f $@-t $@ && \
470 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
471 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
472 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
473 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
474 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
475 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
476 < $(srcdir)/getopt.in.h; \
477 } > $@-t && \
478 mv -f $@-t $@
479 MOSTLYCLEANFILES += getopt.h getopt.h-t
481 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
483 EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
485 ## end gnulib module getopt-posix
487 ## begin gnulib module gettext
489 # This is for those projects which use "gettextize --intl" to put a source-code
490 # copy of libintl into their package. In such projects, every Makefile.am needs
491 # -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
492 # For the Makefile.ams in other directories it is the maintainer's
493 # responsibility; for the one from gnulib we do it here.
494 # This option has no effect when the user disables NLS (because then the intl
495 # directory contains no libintl.h file) or when the project does not use
496 # "gettextize --intl".
497 AM_CPPFLAGS += -I$(top_builddir)/intl
499 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
501 ## end gnulib module gettext
503 ## begin gnulib module gettext-h
505 libgnu_a_SOURCES += gettext.h
507 ## end gnulib module gettext-h
509 ## begin gnulib module havelib
512 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
514 ## end gnulib module havelib
516 ## begin gnulib module inet_ntop
519 EXTRA_DIST += inet_ntop.c
521 EXTRA_libgnu_a_SOURCES += inet_ntop.c
523 ## end gnulib module inet_ntop
525 ## begin gnulib module intprops
528 EXTRA_DIST += intprops.h
530 ## end gnulib module intprops
532 ## begin gnulib module langinfo
534 BUILT_SOURCES += langinfo.h
536 # We need the following in order to create an empty placeholder for
537 # <langinfo.h> when the system doesn't have one.
538 langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
539 $(AM_V_GEN)rm -f $@-t $@ && \
540 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
541 sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
542 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
543 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
544 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
545 -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
546 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
547 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
548 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
549 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
550 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
551 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
552 < $(srcdir)/langinfo.in.h; \
553 } > $@-t && \
554 mv $@-t $@
555 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
557 EXTRA_DIST += langinfo.in.h
559 ## end gnulib module langinfo
561 ## begin gnulib module localcharset
563 libgnu_a_SOURCES += localcharset.h localcharset.c
565 # We need the following in order to install a simple file in $(libdir)
566 # which is shared with other installed packages. We use a list of referencing
567 # packages so that "make uninstall" will remove the file if and only if it
568 # is not used by another installed package.
569 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
570 # avoid installing it.
572 all-local: charset.alias ref-add.sed ref-del.sed
574 charset_alias = $(DESTDIR)$(libdir)/charset.alias
575 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
576 install-exec-local: install-exec-localcharset
577 install-exec-localcharset: all-local
578 if test $(GLIBC21) = no; then \
579 case '$(host_os)' in \
580 darwin[56]*) \
581 need_charset_alias=true ;; \
582 darwin* | cygwin* | mingw* | pw32* | cegcc*) \
583 need_charset_alias=false ;; \
584 *) \
585 need_charset_alias=true ;; \
586 esac ; \
587 else \
588 need_charset_alias=false ; \
589 fi ; \
590 if $$need_charset_alias; then \
591 $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
592 fi ; \
593 if test -f $(charset_alias); then \
594 sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
595 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
596 rm -f $(charset_tmp) ; \
597 else \
598 if $$need_charset_alias; then \
599 sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
600 $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
601 rm -f $(charset_tmp) ; \
602 fi ; \
603 fi
605 uninstall-local: uninstall-localcharset
606 uninstall-localcharset: all-local
607 if test -f $(charset_alias); then \
608 sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
609 if grep '^# Packages using this file: $$' $(charset_tmp) \
610 > /dev/null; then \
611 rm -f $(charset_alias); \
612 else \
613 $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
614 fi; \
615 rm -f $(charset_tmp); \
616 fi
618 charset.alias: config.charset
619 $(AM_V_GEN)rm -f t-$@ $@ && \
620 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
621 mv t-$@ $@
623 SUFFIXES += .sed .sin
624 .sin.sed:
625 $(AM_V_GEN)rm -f t-$@ $@ && \
626 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
627 mv t-$@ $@
629 CLEANFILES += charset.alias ref-add.sed ref-del.sed
631 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
633 ## end gnulib module localcharset
635 ## begin gnulib module locale
637 BUILT_SOURCES += locale.h
639 # We need the following in order to create <locale.h> when the system
640 # doesn't have one that provides all definitions.
641 locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
642 $(AM_V_GEN)rm -f $@-t $@ && \
643 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
644 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
645 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
646 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
647 -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
648 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
649 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
650 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
651 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
652 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
653 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
654 < $(srcdir)/locale.in.h; \
655 } > $@-t && \
656 mv $@-t $@
657 MOSTLYCLEANFILES += locale.h locale.h-t
659 EXTRA_DIST += locale.in.h
661 ## end gnulib module locale
663 ## begin gnulib module malloc
666 EXTRA_DIST += malloc.c
668 EXTRA_libgnu_a_SOURCES += malloc.c
670 ## end gnulib module malloc
672 ## begin gnulib module malloc-posix
675 EXTRA_DIST += malloc.c
677 EXTRA_libgnu_a_SOURCES += malloc.c
679 ## end gnulib module malloc-posix
681 ## begin gnulib module malloca
683 libgnu_a_SOURCES += malloca.c
685 EXTRA_DIST += malloca.h malloca.valgrind
687 ## end gnulib module malloca
689 ## begin gnulib module math
691 BUILT_SOURCES += math.h
693 # We need the following in order to create <math.h> when the system
694 # doesn't have one that works with the given compiler.
695 math.h: math.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
696 $(AM_V_GEN)rm -f $@-t $@ && \
697 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
698 sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
699 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
700 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
701 -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \
702 -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \
703 -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \
704 -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
705 -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
706 -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \
707 -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \
708 -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
709 -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
710 -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
711 -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
712 -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
713 -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
714 -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
715 -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
716 -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
717 -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
718 -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
719 -e 's|@''GNULIB_LOGB''@|$(GNULIB_LOGB)|g' \
720 -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \
721 -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
722 -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
723 -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
724 -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
725 -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \
726 -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \
727 -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \
728 -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
729 -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
730 -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
731 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
732 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
733 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
734 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
735 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
736 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
737 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
738 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
739 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
740 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
741 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
742 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
743 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
744 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
745 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
746 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
747 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
748 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
749 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
750 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
751 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
752 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
753 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
754 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
755 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
756 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
757 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
758 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
759 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
760 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
761 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
762 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
763 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
764 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
765 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
766 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
767 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
768 -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
769 -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
770 -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
771 -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
772 -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
773 -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
774 -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
775 -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
776 -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
777 -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
778 -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
779 -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
780 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
781 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
782 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
783 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
784 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
785 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
786 < $(srcdir)/math.in.h; \
787 } > $@-t && \
788 mv $@-t $@
789 MOSTLYCLEANFILES += math.h math.h-t
791 EXTRA_DIST += math.in.h
793 ## end gnulib module math
795 ## begin gnulib module mbrtowc
798 EXTRA_DIST += mbrtowc.c
800 EXTRA_libgnu_a_SOURCES += mbrtowc.c
802 ## end gnulib module mbrtowc
804 ## begin gnulib module mbsinit
807 EXTRA_DIST += mbsinit.c
809 EXTRA_libgnu_a_SOURCES += mbsinit.c
811 ## end gnulib module mbsinit
813 ## begin gnulib module memchr
816 EXTRA_DIST += memchr.c memchr.valgrind
818 EXTRA_libgnu_a_SOURCES += memchr.c
820 ## end gnulib module memchr
822 ## begin gnulib module mktime
825 EXTRA_DIST += mktime-internal.h mktime.c
827 EXTRA_libgnu_a_SOURCES += mktime.c
829 ## end gnulib module mktime
831 ## begin gnulib module mountlist
834 EXTRA_DIST += mountlist.c mountlist.h
836 EXTRA_libgnu_a_SOURCES += mountlist.c
838 ## end gnulib module mountlist
840 ## begin gnulib module netdb
842 BUILT_SOURCES += netdb.h
844 # We need the following in order to create <netdb.h> when the system
845 # doesn't have one that works with the given compiler.
846 netdb.h: netdb.in.h $(ARG_NONNULL_H) $(WARN_ON_USE_H)
847 $(AM_V_GEN)rm -f $@-t $@ && \
848 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
849 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
850 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
851 -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
852 -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
853 -e 's|@''GNULIB_GETADDRINFO''@|$(GNULIB_GETADDRINFO)|g' \
854 -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
855 -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
856 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
857 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
858 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
859 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
860 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
861 < $(srcdir)/netdb.in.h; \
862 } > $@-t && \
863 mv $@-t $@
864 MOSTLYCLEANFILES += netdb.h netdb.h-t
866 EXTRA_DIST += netdb.in.h
868 ## end gnulib module netdb
870 ## begin gnulib module netinet_in
872 BUILT_SOURCES += $(NETINET_IN_H)
874 # We need the following in order to create <netinet/in.h> when the system
875 # doesn't have one.
876 netinet/in.h: netinet_in.in.h
877 $(AM_V_at)$(MKDIR_P) netinet
878 $(AM_V_GEN)rm -f $@-t $@ && \
879 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
880 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
881 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
882 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
883 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
884 < $(srcdir)/netinet_in.in.h; \
885 } > $@-t && \
886 mv $@-t $@
887 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
888 MOSTLYCLEANDIRS += netinet
890 EXTRA_DIST += netinet_in.in.h
892 ## end gnulib module netinet_in
894 ## begin gnulib module nl_langinfo
897 EXTRA_DIST += nl_langinfo.c
899 EXTRA_libgnu_a_SOURCES += nl_langinfo.c
901 ## end gnulib module nl_langinfo
903 ## begin gnulib module open
906 EXTRA_DIST += open.c
908 EXTRA_libgnu_a_SOURCES += open.c
910 ## end gnulib module open
912 ## begin gnulib module regex
915 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
917 EXTRA_libgnu_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
919 ## end gnulib module regex
921 ## begin gnulib module safe-read
924 EXTRA_DIST += safe-read.c safe-read.h
926 EXTRA_libgnu_a_SOURCES += safe-read.c
928 ## end gnulib module safe-read
930 ## begin gnulib module safe-write
933 EXTRA_DIST += safe-write.c safe-write.h
935 EXTRA_libgnu_a_SOURCES += safe-write.c
937 ## end gnulib module safe-write
939 ## begin gnulib module setenv
942 EXTRA_DIST += setenv.c
944 EXTRA_libgnu_a_SOURCES += setenv.c
946 ## end gnulib module setenv
948 ## begin gnulib module size_max
950 libgnu_a_SOURCES += size_max.h
952 ## end gnulib module size_max
954 ## begin gnulib module snprintf
957 EXTRA_DIST += snprintf.c
959 EXTRA_libgnu_a_SOURCES += snprintf.c
961 ## end gnulib module snprintf
963 ## begin gnulib module sockets
965 libgnu_a_SOURCES += sockets.h sockets.c
967 EXTRA_DIST += w32sock.h
969 ## end gnulib module sockets
971 ## begin gnulib module stat
974 EXTRA_DIST += stat.c
976 EXTRA_libgnu_a_SOURCES += stat.c
978 ## end gnulib module stat
980 ## begin gnulib module stdbool
982 BUILT_SOURCES += $(STDBOOL_H)
984 # We need the following in order to create <stdbool.h> when the system
985 # doesn't have one that works.
986 stdbool.h: stdbool.in.h
987 $(AM_V_GEN)rm -f $@-t $@ && \
988 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
989 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
990 } > $@-t && \
991 mv $@-t $@
992 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
994 EXTRA_DIST += stdbool.in.h
996 ## end gnulib module stdbool
998 ## begin gnulib module stddef
1000 BUILT_SOURCES += $(STDDEF_H)
1002 # We need the following in order to create <stddef.h> when the system
1003 # doesn't have one that works with the given compiler.
1004 stddef.h: stddef.in.h
1005 $(AM_V_GEN)rm -f $@-t $@ && \
1006 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1007 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1008 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1009 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1010 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1011 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1012 < $(srcdir)/stddef.in.h; \
1013 } > $@-t && \
1014 mv $@-t $@
1015 MOSTLYCLEANFILES += stddef.h stddef.h-t
1017 EXTRA_DIST += stddef.in.h
1019 ## end gnulib module stddef
1021 ## begin gnulib module stdint
1023 BUILT_SOURCES += $(STDINT_H)
1025 # We need the following in order to create <stdint.h> when the system
1026 # doesn't have one that works with the given compiler.
1027 stdint.h: stdint.in.h
1028 $(AM_V_GEN)rm -f $@-t $@ && \
1029 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1030 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1031 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1032 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1033 -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1034 -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1035 -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1036 -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1037 -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1038 -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1039 -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1040 -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1041 -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1042 -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1043 -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1044 -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1045 -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1046 -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1047 -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1048 -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1049 -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1050 -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1051 -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1052 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1053 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1054 < $(srcdir)/stdint.in.h; \
1055 } > $@-t && \
1056 mv $@-t $@
1057 MOSTLYCLEANFILES += stdint.h stdint.h-t
1059 EXTRA_DIST += stdint.in.h
1061 ## end gnulib module stdint
1063 ## begin gnulib module stdio
1065 BUILT_SOURCES += stdio.h
1067 # We need the following in order to create <stdio.h> when the system
1068 # doesn't have one that works with the given compiler.
1069 stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1070 $(AM_V_GEN)rm -f $@-t $@ && \
1071 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1072 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1073 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1074 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1075 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
1076 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
1077 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
1078 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
1079 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
1080 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1081 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
1082 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
1083 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
1084 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
1085 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
1086 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
1087 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
1088 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
1089 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
1090 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
1091 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
1092 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1093 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
1094 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
1095 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1096 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1097 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1098 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1099 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1100 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1101 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1102 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1103 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1104 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1105 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
1106 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
1107 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
1108 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
1109 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
1110 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
1111 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1112 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1113 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1114 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1115 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
1116 < $(srcdir)/stdio.in.h | \
1117 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1118 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1119 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1120 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1121 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1122 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1123 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1124 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1125 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1126 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1127 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1128 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1129 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1130 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1131 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1132 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1133 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1134 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1135 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1136 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1137 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1138 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1139 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1140 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1141 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1142 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1143 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1144 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1145 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1146 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1147 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1148 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1149 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1150 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1151 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1152 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1153 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1154 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1155 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1156 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1157 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1158 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1159 -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1160 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1161 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1162 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1163 } > $@-t && \
1164 mv $@-t $@
1165 MOSTLYCLEANFILES += stdio.h stdio.h-t
1167 EXTRA_DIST += stdio-write.c stdio.in.h
1169 EXTRA_libgnu_a_SOURCES += stdio-write.c
1171 ## end gnulib module stdio
1173 ## begin gnulib module stdlib
1175 BUILT_SOURCES += stdlib.h
1177 # We need the following in order to create <stdlib.h> when the system
1178 # doesn't have one that works with the given compiler.
1179 stdlib.h: stdlib.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_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1185 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1186 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1187 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
1188 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1189 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1190 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
1191 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
1192 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1193 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1194 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
1195 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1196 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
1197 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
1198 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1199 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1200 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1201 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
1202 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1203 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1204 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1205 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1206 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1207 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
1208 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
1209 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1210 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
1211 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1212 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1213 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1214 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1215 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
1216 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1217 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1218 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1219 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1220 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1221 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1222 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1223 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1224 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
1225 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1226 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1227 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
1228 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1229 -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1230 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1231 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1232 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1233 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1234 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
1235 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1236 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1237 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1238 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1239 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1240 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1241 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1242 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1243 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1244 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1245 < $(srcdir)/stdlib.in.h; \
1246 } > $@-t && \
1247 mv $@-t $@
1248 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1250 EXTRA_DIST += stdlib.in.h
1252 ## end gnulib module stdlib
1254 ## begin gnulib module strdup-posix
1257 EXTRA_DIST += strdup.c
1259 EXTRA_libgnu_a_SOURCES += strdup.c
1261 ## end gnulib module strdup-posix
1263 ## begin gnulib module streq
1266 EXTRA_DIST += streq.h
1268 ## end gnulib module streq
1270 ## begin gnulib module strerror
1273 EXTRA_DIST += strerror.c
1275 EXTRA_libgnu_a_SOURCES += strerror.c
1277 ## end gnulib module strerror
1279 ## begin gnulib module string
1281 BUILT_SOURCES += string.h
1283 # We need the following in order to create <string.h> when the system
1284 # doesn't have one that works with the given compiler.
1285 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1286 $(AM_V_GEN)rm -f $@-t $@ && \
1287 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1288 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1289 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1290 -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1291 -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1292 -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1293 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1294 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1295 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1296 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1297 -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1298 -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1299 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1300 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1301 -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1302 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1303 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1304 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1305 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1306 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1307 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1308 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1309 -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1310 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1311 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1312 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1313 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1314 -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
1315 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1316 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1317 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1318 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1319 -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1320 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1321 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1322 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1323 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1324 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1325 < $(srcdir)/string.in.h | \
1326 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1327 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1328 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1329 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1330 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1331 -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1332 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1333 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1334 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1335 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1336 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1337 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1338 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1339 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1340 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1341 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1342 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1343 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1344 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1345 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1346 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1347 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1348 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1349 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1350 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1351 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1352 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1353 -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1354 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1355 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1356 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1357 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1358 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1359 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1360 < $(srcdir)/string.in.h; \
1361 } > $@-t && \
1362 mv $@-t $@
1363 MOSTLYCLEANFILES += string.h string.h-t
1365 EXTRA_DIST += string.in.h
1367 ## end gnulib module string
1369 ## begin gnulib module strndup
1372 EXTRA_DIST += strndup.c
1374 EXTRA_libgnu_a_SOURCES += strndup.c
1376 ## end gnulib module strndup
1378 ## begin gnulib module strnlen
1381 EXTRA_DIST += strnlen.c
1383 EXTRA_libgnu_a_SOURCES += strnlen.c
1385 ## end gnulib module strnlen
1387 ## begin gnulib module strsep
1390 EXTRA_DIST += strsep.c
1392 EXTRA_libgnu_a_SOURCES += strsep.c
1394 ## end gnulib module strsep
1396 ## begin gnulib module strstr-simple
1399 EXTRA_DIST += str-two-way.h strstr.c
1401 EXTRA_libgnu_a_SOURCES += strstr.c
1403 ## end gnulib module strstr-simple
1405 ## begin gnulib module sys_socket
1407 BUILT_SOURCES += sys/socket.h
1409 # We need the following in order to create <sys/socket.h> when the system
1410 # doesn't have one that works with the given compiler.
1411 sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1412 $(AM_V_at)$(MKDIR_P) sys
1413 $(AM_V_GEN)rm -f $@-t $@ && \
1414 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1415 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1416 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1417 -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
1418 -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
1419 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1420 -e 's|@''GNULIB_SOCKET''@|$(GNULIB_SOCKET)|g' \
1421 -e 's|@''GNULIB_CONNECT''@|$(GNULIB_CONNECT)|g' \
1422 -e 's|@''GNULIB_ACCEPT''@|$(GNULIB_ACCEPT)|g' \
1423 -e 's|@''GNULIB_BIND''@|$(GNULIB_BIND)|g' \
1424 -e 's|@''GNULIB_GETPEERNAME''@|$(GNULIB_GETPEERNAME)|g' \
1425 -e 's|@''GNULIB_GETSOCKNAME''@|$(GNULIB_GETSOCKNAME)|g' \
1426 -e 's|@''GNULIB_GETSOCKOPT''@|$(GNULIB_GETSOCKOPT)|g' \
1427 -e 's|@''GNULIB_LISTEN''@|$(GNULIB_LISTEN)|g' \
1428 -e 's|@''GNULIB_RECV''@|$(GNULIB_RECV)|g' \
1429 -e 's|@''GNULIB_SEND''@|$(GNULIB_SEND)|g' \
1430 -e 's|@''GNULIB_RECVFROM''@|$(GNULIB_RECVFROM)|g' \
1431 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1432 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1433 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1434 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1435 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1436 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1437 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1438 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1439 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
1440 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1441 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1442 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1443 < $(srcdir)/sys_socket.in.h; \
1444 } > $@-t && \
1445 mv -f $@-t $@
1446 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1447 MOSTLYCLEANDIRS += sys
1449 EXTRA_DIST += sys_socket.in.h
1451 ## end gnulib module sys_socket
1453 ## begin gnulib module sys_stat
1455 BUILT_SOURCES += sys/stat.h
1457 # We need the following in order to create <sys/stat.h> when the system
1458 # has one that is incomplete.
1459 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1460 $(AM_V_at)$(MKDIR_P) sys
1461 $(AM_V_GEN)rm -f $@-t $@ && \
1462 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1463 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1464 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1465 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1466 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1467 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1468 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1469 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1470 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1471 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1472 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1473 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1474 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1475 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1476 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1477 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1478 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1479 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1480 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1481 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1482 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1483 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1484 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1485 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1486 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1487 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1488 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1489 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1490 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1491 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1492 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1493 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1494 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1495 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1496 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1497 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1498 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1499 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1500 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1501 < $(srcdir)/sys_stat.in.h; \
1502 } > $@-t && \
1503 mv $@-t $@
1504 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1505 MOSTLYCLEANDIRS += sys
1507 EXTRA_DIST += sys_stat.in.h
1509 ## end gnulib module sys_stat
1511 ## begin gnulib module time
1513 BUILT_SOURCES += time.h
1515 # We need the following in order to create <time.h> when the system
1516 # doesn't have one that works with the given compiler.
1517 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1518 $(AM_V_GEN)rm -f $@-t $@ && \
1519 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1520 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1521 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1522 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1523 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1524 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1525 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1526 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1527 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
1528 -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
1529 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1530 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1531 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1532 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1533 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1534 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1535 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1536 -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
1537 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1538 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1539 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1540 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1541 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1542 < $(srcdir)/time.in.h; \
1543 } > $@-t && \
1544 mv $@-t $@
1545 MOSTLYCLEANFILES += time.h time.h-t
1547 EXTRA_DIST += time.in.h
1549 ## end gnulib module time
1551 ## begin gnulib module time_r
1554 EXTRA_DIST += time_r.c
1556 EXTRA_libgnu_a_SOURCES += time_r.c
1558 ## end gnulib module time_r
1560 ## begin gnulib module timegm
1563 EXTRA_DIST += mktime-internal.h timegm.c
1565 EXTRA_libgnu_a_SOURCES += timegm.c
1567 ## end gnulib module timegm
1569 ## begin gnulib module unistd
1571 BUILT_SOURCES += unistd.h
1573 # We need the following in order to create an empty placeholder for
1574 # <unistd.h> when the system doesn't have one.
1575 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1576 $(AM_V_GEN)rm -f $@-t $@ && \
1577 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1578 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1579 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1580 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1581 -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
1582 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1583 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1584 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1585 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1586 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1587 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1588 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1589 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1590 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1591 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1592 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1593 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1594 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1595 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1596 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1597 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1598 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1599 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1600 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1601 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1602 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1603 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1604 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1605 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1606 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1607 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1608 -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
1609 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1610 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1611 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1612 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1613 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1614 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1615 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
1616 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1617 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1618 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1619 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1620 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1621 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1622 < $(srcdir)/unistd.in.h | \
1623 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1624 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1625 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1626 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1627 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1628 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1629 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1630 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1631 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1632 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1633 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1634 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1635 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1636 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1637 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1638 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1639 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1640 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1641 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1642 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1643 -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
1644 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1645 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1646 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1647 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1648 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1649 -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
1650 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1651 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1652 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1653 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1654 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1655 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1656 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1657 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1658 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1659 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1660 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1661 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1662 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1663 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1664 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1665 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1666 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1667 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1668 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1669 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1670 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1671 -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
1672 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1673 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1674 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1675 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1676 -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
1677 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1678 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1679 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1680 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1681 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1682 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1683 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1684 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1685 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1686 } > $@-t && \
1687 mv $@-t $@
1688 MOSTLYCLEANFILES += unistd.h unistd.h-t
1690 EXTRA_DIST += unistd.in.h
1692 ## end gnulib module unistd
1694 ## begin gnulib module unistd-safer
1697 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
1699 EXTRA_libgnu_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
1701 ## end gnulib module unistd-safer
1703 ## begin gnulib module unsetenv
1706 EXTRA_DIST += unsetenv.c
1708 EXTRA_libgnu_a_SOURCES += unsetenv.c
1710 ## end gnulib module unsetenv
1712 ## begin gnulib module vasnprintf
1715 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
1717 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
1719 ## end gnulib module vasnprintf
1721 ## begin gnulib module vasprintf
1724 EXTRA_DIST += asprintf.c vasprintf.c
1726 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
1728 ## end gnulib module vasprintf
1730 ## begin gnulib module verify
1732 libgnu_a_SOURCES += verify.h
1734 ## end gnulib module verify
1736 ## begin gnulib module vsnprintf
1739 EXTRA_DIST += vsnprintf.c
1741 EXTRA_libgnu_a_SOURCES += vsnprintf.c
1743 ## end gnulib module vsnprintf
1745 ## begin gnulib module warn-on-use
1747 BUILT_SOURCES += warn-on-use.h
1748 # The warn-on-use.h that gets inserted into generated .h files is the same as
1749 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
1750 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1751 $(AM_V_GEN)rm -f $@-t $@ && \
1752 sed -n -e '/^.ifndef/,$$p' \
1753 < $(top_srcdir)/build-aux/warn-on-use.h \
1754 > $@-t && \
1755 mv $@-t $@
1756 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1758 WARN_ON_USE_H=warn-on-use.h
1760 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1762 ## end gnulib module warn-on-use
1764 ## begin gnulib module wchar
1766 BUILT_SOURCES += wchar.h
1768 # We need the following in order to create <wchar.h> when the system
1769 # version does not work standalone.
1770 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1771 $(AM_V_GEN)rm -f $@-t $@ && \
1772 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1773 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1774 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1775 -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
1776 -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
1777 -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
1778 -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
1779 -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
1780 -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
1781 -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
1782 -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
1783 -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
1784 -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
1785 -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
1786 -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
1787 -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
1788 -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
1789 -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
1790 -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
1791 -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
1792 -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
1793 -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
1794 -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
1795 -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
1796 -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
1797 -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
1798 -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
1799 -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
1800 -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
1801 -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
1802 -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
1803 -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
1804 -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
1805 -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
1806 -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
1807 -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
1808 -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
1809 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1810 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1811 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1812 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1813 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1814 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1815 < $(srcdir)/wchar.in.h; \
1816 } > $@-t && \
1817 mv $@-t $@
1818 MOSTLYCLEANFILES += wchar.h wchar.h-t
1820 EXTRA_DIST += wchar.in.h
1822 ## end gnulib module wchar
1824 ## begin gnulib module wcrtomb
1827 EXTRA_DIST += wcrtomb.c
1829 EXTRA_libgnu_a_SOURCES += wcrtomb.c
1831 ## end gnulib module wcrtomb
1833 ## begin gnulib module wctype
1835 BUILT_SOURCES += wctype.h
1837 # We need the following in order to create <wctype.h> when the system
1838 # doesn't have one that works with the given compiler.
1839 wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
1840 $(AM_V_GEN)rm -f $@-t $@ && \
1841 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1842 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1843 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1844 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1845 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1846 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1847 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1848 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1849 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1850 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1851 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1852 < $(srcdir)/wctype.in.h; \
1853 } > $@-t && \
1854 mv $@-t $@
1855 MOSTLYCLEANFILES += wctype.h wctype.h-t
1857 EXTRA_DIST += wctype.in.h
1859 ## end gnulib module wctype
1861 ## begin gnulib module write
1864 EXTRA_DIST += write.c
1866 EXTRA_libgnu_a_SOURCES += write.c
1868 ## end gnulib module write
1870 ## begin gnulib module xalloc
1873 EXTRA_DIST += xalloc.h xmalloc.c
1875 EXTRA_libgnu_a_SOURCES += xmalloc.c
1877 ## end gnulib module xalloc
1879 ## begin gnulib module xalloc-die
1881 libgnu_a_SOURCES += xalloc-die.c
1883 ## end gnulib module xalloc-die
1885 ## begin gnulib module xsize
1887 libgnu_a_SOURCES += xsize.h
1889 ## end gnulib module xsize
1891 ## begin gnulib module xstrndup
1893 libgnu_a_SOURCES += xstrndup.h xstrndup.c
1895 ## end gnulib module xstrndup
1898 mostlyclean-local: mostlyclean-generic
1899 @for dir in '' $(MOSTLYCLEANDIRS); do \
1900 if test -n "$$dir" && test -d $$dir; then \
1901 echo "rmdir $$dir"; rmdir $$dir; \
1902 fi; \
1903 done; \
1904 :