Adjust check_swap tests
[monitoring-plugins.git] / gl / Makefile.am
blobdcebd4aa9ce3987943549a32d3f4dc513a4c2ca0
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2023 Free Software Foundation, Inc.
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <https://www.gnu.org/licenses/>.
18 # As a special exception to the GNU General Public License,
19 # this file may be distributed as part of a program that
20 # contains a configuration script generated by Autoconf, under
21 # the same distribution terms as the rest of that program.
23 # Generated by gnulib-tool.
24 # Reproduce by:
25 # gnulib-tool --import \
26 #  --lib=libgnu \
27 #  --source-base=gl \
28 #  --m4-base=gl/m4 \
29 #  --doc-base=doc \
30 #  --tests-base=tests \
31 #  --aux-dir=build-aux \
32 #  --no-conditional-dependencies \
33 #  --no-libtool \
34 #  --macro-prefix=gl \
35 #  --no-vc-files \
36 #  base64 \
37 #  crypto/sha256 \
38 #  dirname \
39 #  environ \
40 #  floorf \
41 #  fsusage \
42 #  getaddrinfo \
43 #  gethostname \
44 #  getloadavg \
45 #  getopt-gnu \
46 #  gettext-h \
47 #  idpriv-droptemp \
48 #  mountlist \
49 #  regex \
50 #  setenv \
51 #  strcase \
52 #  strcasestr \
53 #  strsep \
54 #  timegm \
55 #  unsetenv \
56 #  vasprintf \
57 #  vsnprintf
59 AUTOMAKE_OPTIONS = 1.14 gnits subdir-objects
61 SUBDIRS =
62 noinst_HEADERS =
63 noinst_LIBRARIES =
64 noinst_LTLIBRARIES =
65 EXTRA_DIST =
66 BUILT_SOURCES =
67 SUFFIXES =
68 MOSTLYCLEANFILES = core *.stackdump
69 MOSTLYCLEANDIRS =
70 CLEANFILES =
71 DISTCLEANFILES =
72 MAINTAINERCLEANFILES =
73 # No GNU Make output.
74 EXTRA_DIST += m4/gnulib-cache.m4
76 AM_CPPFLAGS =
77 AM_CFLAGS =
79 noinst_LIBRARIES += libgnu.a
81 libgnu_a_SOURCES =
82 libgnu_a_CFLAGS = $(AM_CFLAGS) $(GL_CFLAG_GNULIB_WARNINGS)
83 libgnu_a_LIBADD = $(gl_LIBOBJS)
84 libgnu_a_DEPENDENCIES = $(gl_LIBOBJS)
85 EXTRA_libgnu_a_SOURCES =
87 ## begin gnulib module absolute-header
89 # Use this preprocessor expression to decide whether #include_next works.
90 # Do not rely on a 'configure'-time test for this, since the expression
91 # might appear in an installed header, which is used by some other compiler.
92 HAVE_INCLUDE_NEXT = (__GNUC__ || __clang__ || 60000000 <= __DECC_VER)
94 ## end   gnulib module absolute-header
96 ## begin gnulib module alloca-opt
98 BUILT_SOURCES += $(ALLOCA_H)
100 # We need the following in order to create <alloca.h> when the system
101 # doesn't have one that works with the given compiler.
102 if GL_GENERATE_ALLOCA_H
103 alloca.h: alloca.in.h $(top_builddir)/config.status
104         $(gl_V_at)$(SED_HEADER_STDOUT) \
105           -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
106           $(srcdir)/alloca.in.h > $@-t
107         $(AM_V_at)mv $@-t $@
108 else
109 alloca.h: $(top_builddir)/config.status
110         rm -f $@
111 endif
112 MOSTLYCLEANFILES += alloca.h alloca.h-t
114 EXTRA_DIST += alloca.in.h
116 ## end   gnulib module alloca-opt
118 ## begin gnulib module arpa_inet
120 BUILT_SOURCES += arpa/inet.h
122 # We need the following in order to create <arpa/inet.h> when the system
123 # doesn't have one.
124 arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
125         $(AM_V_GEN)$(MKDIR_P) '%reldir%/arpa'
126         $(AM_V_at)$(SED_HEADER_STDOUT) \
127               -e 's|@''GUARD_PREFIX''@|GL|g' \
128               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
129               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
130               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
131               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
132               -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \
133               -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \
134               -e 's/@''GNULIB_INET_NTOP''@/$(GL_GNULIB_INET_NTOP)/g' \
135               -e 's/@''GNULIB_INET_PTON''@/$(GL_GNULIB_INET_PTON)/g' \
136               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
137               -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
138               -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
139               -e 's|@''REPLACE_INET_NTOP''@|$(REPLACE_INET_NTOP)|g' \
140               -e 's|@''REPLACE_INET_PTON''@|$(REPLACE_INET_PTON)|g' \
141               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
142               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
143               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
144               $(srcdir)/arpa_inet.in.h > $@-t
145         $(AM_V_at)mv $@-t $@
146 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
147 MOSTLYCLEANDIRS += arpa
149 EXTRA_DIST += arpa_inet.in.h
151 ## end   gnulib module arpa_inet
153 ## begin gnulib module assert-h
155 BUILT_SOURCES += $(ASSERT_H)
157 # We need the following in order to create <assert.h> when the system
158 # doesn't have one that works with the given compiler.
159 if GL_GENERATE_ASSERT_H
160 assert.h: assert.in.h verify.h $(top_builddir)/config.status
161         $(gl_V_at){ $(SED_HEADER_STDOUT) \
162               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
163               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
164               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
165               -e 's|@''NEXT_ASSERT_H''@|$(NEXT_ASSERT_H)|g' \
166               < $(srcdir)/assert.in.h && \
167           sed -e '/@assert.h omit start@/,/@assert.h omit end@/d' \
168               -e 's|_gl_verify|_gl_static_assert|g' \
169               -e 's|_GL_VERIFY|_GL_STATIC_ASSERT|g' \
170               -e 's|_GL\(_STATIC_ASSERT_H\)|_GL\1|g' \
171               < $(srcdir)/verify.h; \
172         } > $@-t
173         $(AM_V_at)mv $@-t $@
174 else
175 assert.h: $(top_builddir)/config.status
176         rm -f $@
177 endif
178 MOSTLYCLEANFILES += assert.h assert.h-t
180 EXTRA_DIST += assert.in.h verify.h
182 ## end   gnulib module assert-h
184 ## begin gnulib module attribute
187 EXTRA_DIST += attribute.h
189 ## end   gnulib module attribute
191 ## begin gnulib module base64
193 libgnu_a_SOURCES += base64.h base64.c
195 ## end   gnulib module base64
197 ## begin gnulib module basename-lgpl
199 libgnu_a_SOURCES += basename-lgpl.c
201 EXTRA_DIST += basename-lgpl.h
203 ## end   gnulib module basename-lgpl
205 ## begin gnulib module btowc
207 if GL_COND_OBJ_BTOWC
208 libgnu_a_SOURCES += btowc.c
209 endif
211 ## end   gnulib module btowc
213 ## begin gnulib module byteswap
215 BUILT_SOURCES += $(BYTESWAP_H)
217 # We need the following in order to create <byteswap.h> when the system
218 # doesn't have one.
219 if GL_GENERATE_BYTESWAP_H
220 byteswap.h: byteswap.in.h $(top_builddir)/config.status
221         $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
222         $(AM_V_at)mv $@-t $@
223 else
224 byteswap.h: $(top_builddir)/config.status
225         rm -f $@
226 endif
227 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
229 EXTRA_DIST += byteswap.in.h
231 ## end   gnulib module byteswap
233 ## begin gnulib module calloc-gnu
236 EXTRA_DIST += calloc.c
238 EXTRA_libgnu_a_SOURCES += calloc.c
240 ## end   gnulib module calloc-gnu
242 ## begin gnulib module calloc-posix
245 EXTRA_DIST += calloc.c
247 EXTRA_libgnu_a_SOURCES += calloc.c
249 ## end   gnulib module calloc-posix
251 ## begin gnulib module cloexec
253 libgnu_a_SOURCES += cloexec.c
255 EXTRA_DIST += cloexec.h
257 ## end   gnulib module cloexec
259 ## begin gnulib module close
261 if GL_COND_OBJ_CLOSE
262 libgnu_a_SOURCES += close.c
263 endif
265 ## end   gnulib module close
267 ## begin gnulib module crypto/af_alg
269 libgnu_a_SOURCES += af_alg.c
271 EXTRA_DIST += af_alg.h sys-limits.h
273 ## end   gnulib module crypto/af_alg
275 ## begin gnulib module crypto/sha256
277 libgnu_a_SOURCES += sha256-stream.c
279 ## end   gnulib module crypto/sha256
281 ## begin gnulib module crypto/sha256-buffer
283 libgnu_a_SOURCES += sha256.c
285 EXTRA_DIST += gl_openssl.h sha256.h
287 ## end   gnulib module crypto/sha256-buffer
289 ## begin gnulib module dirname
291 libgnu_a_SOURCES += dirname.c basename.c
293 EXTRA_DIST += stripslash.c
295 EXTRA_libgnu_a_SOURCES += stripslash.c
297 ## end   gnulib module dirname
299 ## begin gnulib module dirname-lgpl
301 libgnu_a_SOURCES += dirname-lgpl.c stripslash.c
303 EXTRA_DIST += dirname.h
305 ## end   gnulib module dirname-lgpl
307 ## begin gnulib module dup2
309 if GL_COND_OBJ_DUP2
310 libgnu_a_SOURCES += dup2.c
311 endif
313 ## end   gnulib module dup2
315 ## begin gnulib module errno
317 BUILT_SOURCES += $(ERRNO_H)
319 # We need the following in order to create <errno.h> when the system
320 # doesn't have one that is POSIX compliant.
321 if GL_GENERATE_ERRNO_H
322 errno.h: errno.in.h $(top_builddir)/config.status
323         $(gl_V_at)$(SED_HEADER_STDOUT) \
324               -e 's|@''GUARD_PREFIX''@|GL|g' \
325               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
326               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
327               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
328               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
329               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
330               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
331               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
332               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
333               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
334               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
335               $(srcdir)/errno.in.h > $@-t
336         $(AM_V_at)mv $@-t $@
337 else
338 errno.h: $(top_builddir)/config.status
339         rm -f $@
340 endif
341 MOSTLYCLEANFILES += errno.h errno.h-t
343 EXTRA_DIST += errno.in.h
345 ## end   gnulib module errno
347 ## begin gnulib module error
349 if GL_COND_OBJ_ERROR
350 libgnu_a_SOURCES += error.c
351 endif
353 EXTRA_DIST += error.h
355 ## end   gnulib module error
357 ## begin gnulib module exitfail
359 libgnu_a_SOURCES += exitfail.c
361 EXTRA_DIST += exitfail.h
363 ## end   gnulib module exitfail
365 ## begin gnulib module fcntl
367 if GL_COND_OBJ_FCNTL
368 libgnu_a_SOURCES += fcntl.c
369 endif
371 ## end   gnulib module fcntl
373 ## begin gnulib module fcntl-h
375 BUILT_SOURCES += fcntl.h
377 # We need the following in order to create <fcntl.h> when the system
378 # doesn't have one that works with the given compiler.
379 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
380         $(gl_V_at)$(SED_HEADER_STDOUT) \
381               -e 's|@''GUARD_PREFIX''@|GL|g' \
382               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
383               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
384               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
385               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
386               -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \
387               -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \
388               -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \
389               -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \
390               -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \
391               -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \
392               -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \
393               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
394               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
395               -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \
396               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
397               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
398               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
399               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
400               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
401               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
402               $(srcdir)/fcntl.in.h > $@-t
403         $(AM_V_at)mv $@-t $@
404 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
406 EXTRA_DIST += fcntl.in.h
408 ## end   gnulib module fcntl-h
410 ## begin gnulib module fd-hook
412 libgnu_a_SOURCES += fd-hook.c
414 EXTRA_DIST += fd-hook.h
416 ## end   gnulib module fd-hook
418 ## begin gnulib module fflush
420 if GL_COND_OBJ_FFLUSH
421 libgnu_a_SOURCES += fflush.c
422 endif
424 EXTRA_DIST += stdio-impl.h
426 ## end   gnulib module fflush
428 ## begin gnulib module filename
431 EXTRA_DIST += filename.h
433 ## end   gnulib module filename
435 ## begin gnulib module float
437 BUILT_SOURCES += $(FLOAT_H)
439 # We need the following in order to create <float.h> when the system
440 # doesn't have one that works with the given compiler.
441 if GL_GENERATE_FLOAT_H
442 float.h: float.in.h $(top_builddir)/config.status
443         $(gl_V_at)$(SED_HEADER_STDOUT) \
444               -e 's|@''GUARD_PREFIX''@|GL|g' \
445               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
446               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
447               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
448               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
449               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
450               $(srcdir)/float.in.h > $@-t
451         $(AM_V_at)mv $@-t $@
452 else
453 float.h: $(top_builddir)/config.status
454         rm -f $@
455 endif
456 MOSTLYCLEANFILES += float.h float.h-t
458 if GL_COND_OBJ_FLOAT
459 libgnu_a_SOURCES += float.c
460 endif
461 if GL_COND_OBJ_ITOLD
462 libgnu_a_SOURCES += itold.c
463 endif
465 EXTRA_DIST += float.in.h
467 ## end   gnulib module float
469 ## begin gnulib module floorf
471 if GL_COND_OBJ_FLOORF
472 libgnu_a_SOURCES += floorf.c
473 endif
475 EXTRA_DIST += floor.c
477 EXTRA_libgnu_a_SOURCES += floor.c
479 ## end   gnulib module floorf
481 ## begin gnulib module fopen
484 EXTRA_DIST += fopen.c
486 EXTRA_libgnu_a_SOURCES += fopen.c
488 ## end   gnulib module fopen
490 ## begin gnulib module fopen-gnu
493 EXTRA_DIST += fopen.c
495 EXTRA_libgnu_a_SOURCES += fopen.c
497 ## end   gnulib module fopen-gnu
499 ## begin gnulib module fpurge
501 if GL_COND_OBJ_FPURGE
502 libgnu_a_SOURCES += fpurge.c
503 endif
505 EXTRA_DIST += stdio-impl.h
507 ## end   gnulib module fpurge
509 ## begin gnulib module freading
511 libgnu_a_SOURCES += freading.c
513 EXTRA_DIST += freading.h stdio-impl.h
515 ## end   gnulib module freading
517 ## begin gnulib module free-posix
519 if GL_COND_OBJ_FREE
520 libgnu_a_SOURCES += free.c
521 endif
523 ## end   gnulib module free-posix
525 ## begin gnulib module fseek
527 if GL_COND_OBJ_FSEEK
528 libgnu_a_SOURCES += fseek.c
529 endif
531 ## end   gnulib module fseek
533 ## begin gnulib module fseeko
535 if GL_COND_OBJ_FSEEKO
536 libgnu_a_SOURCES += fseeko.c
537 endif
539 EXTRA_DIST += stdio-impl.h
541 ## end   gnulib module fseeko
543 ## begin gnulib module fstat
545 if GL_COND_OBJ_FSTAT
546 libgnu_a_SOURCES += fstat.c
547 endif
549 EXTRA_DIST += stat-w32.c stat-w32.h
551 EXTRA_libgnu_a_SOURCES += stat-w32.c
553 ## end   gnulib module fstat
555 ## begin gnulib module fsusage
557 if GL_COND_OBJ_FSUSAGE
558 libgnu_a_SOURCES += fsusage.c
559 endif
561 EXTRA_DIST += fsusage.h
563 ## end   gnulib module fsusage
565 ## begin gnulib module ftell
567 if GL_COND_OBJ_FTELL
568 libgnu_a_SOURCES += ftell.c
569 endif
571 ## end   gnulib module ftell
573 ## begin gnulib module ftello
575 if GL_COND_OBJ_FTELLO
576 libgnu_a_SOURCES += ftello.c
577 endif
579 EXTRA_DIST += stdio-impl.h
581 ## end   gnulib module ftello
583 ## begin gnulib module gen-header
585 # In 'sed', replace the pattern space with a "DO NOT EDIT" comment.
586 SED_HEADER_NOEDIT = s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,
588 # '$(SED_HEADER_STDOUT) -e "..."' runs 'sed' but first outputs "DO NOT EDIT".
589 SED_HEADER_STDOUT = sed -e 1h -e '1$(SED_HEADER_NOEDIT)' -e 1G
591 # '$(SED_HEADER_TO_AT_t) FILE' copies FILE to $@-t, prepending a leading
592 # "DO_NOT_EDIT".  Although this could be done more simply via:
593 #       SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) > $@-t
594 # the -n and 'w' avoid a fork+exec, at least when GNU Make is used.
595 SED_HEADER_TO_AT_t = $(SED_HEADER_STDOUT) -n -e 'w $@-t'
597 # Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that
598 gl_V_at = $(AM_V_GEN)
600 ## end   gnulib module gen-header
602 ## begin gnulib module getaddrinfo
604 if GL_COND_OBJ_GETADDRINFO
605 libgnu_a_SOURCES += getaddrinfo.c
606 endif
607 if GL_COND_OBJ_GAI_STRERROR
608 libgnu_a_SOURCES += gai_strerror.c
609 endif
611 ## end   gnulib module getaddrinfo
613 ## begin gnulib module getdelim
615 if GL_COND_OBJ_GETDELIM
616 libgnu_a_SOURCES += getdelim.c
617 endif
619 ## end   gnulib module getdelim
621 ## begin gnulib module getdtablesize
623 if GL_COND_OBJ_GETDTABLESIZE
624 libgnu_a_SOURCES += getdtablesize.c
625 endif
627 ## end   gnulib module getdtablesize
629 ## begin gnulib module gethostname
631 if GL_COND_OBJ_GETHOSTNAME
632 libgnu_a_SOURCES += gethostname.c
633 endif
635 EXTRA_DIST += w32sock.h
637 ## end   gnulib module gethostname
639 ## begin gnulib module getline
641 if GL_COND_OBJ_GETLINE
642 libgnu_a_SOURCES += getline.c
643 endif
645 ## end   gnulib module getline
647 ## begin gnulib module getloadavg
649 if GL_COND_OBJ_GETLOADAVG
650 libgnu_a_SOURCES += getloadavg.c
651 endif
653 ## end   gnulib module getloadavg
655 ## begin gnulib module getopt-posix
657 BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
659 # We need the following in order to create <getopt.h> when the system
660 # doesn't have one that works with the given compiler.
661 if GL_GENERATE_GETOPT_H
662 getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
663         $(gl_V_at)$(SED_HEADER_STDOUT) \
664               -e 's|@''GUARD_PREFIX''@|GL|g' \
665               -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
666               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
667               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
668               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
669               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
670               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
671               $(srcdir)/getopt.in.h > $@-t
672         $(AM_V_at)mv $@-t $@
673 else
674 getopt.h: $(top_builddir)/config.status
675         rm -f $@
676 endif
678 if GL_GENERATE_GETOPT_CDEFS_H
679 getopt-cdefs.h: getopt-cdefs.in.h $(top_builddir)/config.status
680         $(AM_V_GEN)$(SED_HEADER_STDOUT) \
681           -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
682           $(srcdir)/getopt-cdefs.in.h > $@-t
683         $(AM_V_at)mv $@-t $@
684 else
685 getopt-cdefs.h: $(top_builddir)/config.status
686         rm -f $@
687 endif
689 MOSTLYCLEANFILES += getopt.h getopt.h-t getopt-cdefs.h getopt-cdefs.h-t
691 if GL_COND_OBJ_GETOPT
692 libgnu_a_SOURCES += getopt.c getopt1.c
693 endif
695 EXTRA_DIST += getopt-cdefs.in.h getopt-core.h getopt-ext.h getopt-pfx-core.h getopt-pfx-ext.h getopt.in.h getopt_int.h
697 ## end   gnulib module getopt-posix
699 ## begin gnulib module getprogname
701 libgnu_a_SOURCES += getprogname.h getprogname.c
703 ## end   gnulib module getprogname
705 ## begin gnulib module gettext-h
707 libgnu_a_SOURCES += gettext.h
709 ## end   gnulib module gettext-h
711 ## begin gnulib module glibc-internal/dynarray
713 BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h
715 malloc/dynarray.gl.h: malloc/dynarray.h
716         $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
717         $(AM_V_at)$(SED_HEADER_STDOUT) \
718           -e '/libc_hidden_proto/d' \
719           $(srcdir)/malloc/dynarray.h > $@-t
720         $(AM_V_at)mv $@-t $@
721 MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t
723 malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c
724         $(AM_V_GEN)$(MKDIR_P) '%reldir%/malloc'
725         $(AM_V_at)$(SED_HEADER_STDOUT) \
726               -e 's|<malloc/dynarray\.h>|<malloc/dynarray.gl.h>|g' \
727               -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \
728               -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \
729               -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \
730               -e 's|__glibc_likely|_GL_LIKELY|g' \
731               -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \
732               $(srcdir)/malloc/dynarray-skeleton.c > $@-t
733         $(AM_V_at)mv $@-t $@
734 MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t
736 libgnu_a_SOURCES += malloc/dynarray_at_failure.c                 malloc/dynarray_emplace_enlarge.c                 malloc/dynarray_finalize.c                 malloc/dynarray_resize.c                 malloc/dynarray_resize_clear.c
738 EXTRA_DIST += dynarray.h malloc/dynarray-skeleton.c malloc/dynarray.h
740 EXTRA_libgnu_a_SOURCES += malloc/dynarray-skeleton.c
742 ## end   gnulib module glibc-internal/dynarray
744 ## begin gnulib module hard-locale
746 libgnu_a_SOURCES += hard-locale.c
748 EXTRA_DIST += hard-locale.h
750 ## end   gnulib module hard-locale
752 ## begin gnulib module ialloc
754 libgnu_a_SOURCES += ialloc.c
756 EXTRA_DIST += ialloc.h
758 ## end   gnulib module ialloc
760 ## begin gnulib module idpriv-droptemp
762 libgnu_a_SOURCES += idpriv-droptemp.c
764 EXTRA_DIST += idpriv.h
766 ## end   gnulib module idpriv-droptemp
768 ## begin gnulib module idx
770 libgnu_a_SOURCES += idx.h
772 ## end   gnulib module idx
774 ## begin gnulib module inet_ntop
776 if GL_COND_OBJ_INET_NTOP
777 libgnu_a_SOURCES += inet_ntop.c
778 endif
780 ## end   gnulib module inet_ntop
782 ## begin gnulib module intprops
785 EXTRA_DIST += intprops-internal.h intprops.h
787 ## end   gnulib module intprops
789 ## begin gnulib module inttypes-incomplete
791 BUILT_SOURCES += inttypes.h
793 # We need the following in order to create <inttypes.h> when the system
794 # doesn't have one that works with the given compiler.
795 inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
796         $(gl_V_at)$(SED_HEADER_STDOUT) \
797               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
798               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
799               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
800               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
801               -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \
802               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
803               -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
804               -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \
805               -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \
806               -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \
807               -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \
808               -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
809               -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
810               -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
811               -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
812               -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
813               -e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
814               -e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
815               -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \
816               -e 's/@''INT64_MAX_EQ_LONG_MAX''@/$(INT64_MAX_EQ_LONG_MAX)/g' \
817               -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/$(UINT32_MAX_LT_UINTMAX_MAX)/g' \
818               -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
819               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
820               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
821               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
822               $(srcdir)/inttypes.in.h > $@-t
823         $(AM_V_at)mv $@-t $@
824 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
826 EXTRA_DIST += inttypes.in.h
828 ## end   gnulib module inttypes-incomplete
830 ## begin gnulib module langinfo
832 BUILT_SOURCES += langinfo.h
834 # We need the following in order to create an empty placeholder for
835 # <langinfo.h> when the system doesn't have one.
836 langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
837         $(gl_V_at)$(SED_HEADER_STDOUT) \
838               -e 's|@''GUARD_PREFIX''@|GL|g' \
839               -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
840               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
841               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
842               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
843               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
844               -e 's/@''GNULIB_NL_LANGINFO''@/$(GL_GNULIB_NL_LANGINFO)/g' \
845               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
846               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
847               -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
848               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
849               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
850               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
851               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
852               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
853               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
854               $(srcdir)/langinfo.in.h > $@-t
855         $(AM_V_at)mv $@-t $@
856 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
858 EXTRA_DIST += langinfo.in.h
860 ## end   gnulib module langinfo
862 ## begin gnulib module libc-config
865 EXTRA_DIST += cdefs.h libc-config.h
867 ## end   gnulib module libc-config
869 ## begin gnulib module limits-h
871 BUILT_SOURCES += $(LIMITS_H)
873 # We need the following in order to create <limits.h> when the system
874 # doesn't have one that is compatible with GNU.
875 if GL_GENERATE_LIMITS_H
876 limits.h: limits.in.h $(top_builddir)/config.status
877         $(gl_V_at)$(SED_HEADER_STDOUT) \
878               -e 's|@''GUARD_PREFIX''@|GL|g' \
879               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
880               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
881               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
882               -e 's|@''NEXT_LIMITS_H''@|$(NEXT_LIMITS_H)|g' \
883               $(srcdir)/limits.in.h > $@-t
884         $(AM_V_at)mv $@-t $@
885 else
886 limits.h: $(top_builddir)/config.status
887         rm -f $@
888 endif
889 MOSTLYCLEANFILES += limits.h limits.h-t
891 EXTRA_DIST += limits.in.h
893 ## end   gnulib module limits-h
895 ## begin gnulib module localcharset
897 libgnu_a_SOURCES += localcharset.c
899 EXTRA_DIST += localcharset.h
901 ## end   gnulib module localcharset
903 ## begin gnulib module locale
905 BUILT_SOURCES += locale.h
907 # We need the following in order to create <locale.h> when the system
908 # doesn't have one that provides all definitions.
909 locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
910         $(gl_V_at)$(SED_HEADER_STDOUT) \
911               -e 's|@''GUARD_PREFIX''@|GL|g' \
912               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
913               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
914               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
915               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
916               -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \
917               -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \
918               -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \
919               -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \
920               -e 's/@''GNULIB_LOCALENAME''@/$(GL_GNULIB_LOCALENAME)/g' \
921               -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \
922               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
923               -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \
924               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
925               -e 's|@''REPLACE_LOCALECONV''@|$(REPLACE_LOCALECONV)|g' \
926               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
927               -e 's|@''REPLACE_NEWLOCALE''@|$(REPLACE_NEWLOCALE)|g' \
928               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
929               -e 's|@''REPLACE_FREELOCALE''@|$(REPLACE_FREELOCALE)|g' \
930               -e 's|@''REPLACE_STRUCT_LCONV''@|$(REPLACE_STRUCT_LCONV)|g' \
931               -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|$(LOCALENAME_ENHANCE_LOCALE_FUNCS)|g' \
932               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
933               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
934               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
935               $(srcdir)/locale.in.h > $@-t
936         $(AM_V_at)mv $@-t $@
937 MOSTLYCLEANFILES += locale.h locale.h-t
939 EXTRA_DIST += locale.in.h
941 ## end   gnulib module locale
943 ## begin gnulib module localeconv
945 if GL_COND_OBJ_LOCALECONV
946 libgnu_a_SOURCES += localeconv.c
947 endif
949 ## end   gnulib module localeconv
951 ## begin gnulib module lock
953 libgnu_a_SOURCES += glthread/lock.h glthread/lock.c
955 ## end   gnulib module lock
957 ## begin gnulib module lseek
959 if GL_COND_OBJ_LSEEK
960 libgnu_a_SOURCES += lseek.c
961 endif
963 ## end   gnulib module lseek
965 ## begin gnulib module malloc-gnu
968 EXTRA_DIST += malloc.c
970 EXTRA_libgnu_a_SOURCES += malloc.c
972 ## end   gnulib module malloc-gnu
974 ## begin gnulib module malloc-posix
977 EXTRA_DIST += malloc.c
979 EXTRA_libgnu_a_SOURCES += malloc.c
981 ## end   gnulib module malloc-posix
983 ## begin gnulib module malloca
985 libgnu_a_SOURCES += malloca.c
987 EXTRA_DIST += malloca.h
989 ## end   gnulib module malloca
991 ## begin gnulib module math
993 BUILT_SOURCES += math.h
994 libgnu_a_SOURCES += math.c
996 # We need the following in order to create <math.h> when the system
997 # doesn't have one that works with the given compiler.
998 math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
999         $(gl_V_at)$(SED_HEADER_STDOUT) \
1000               -e 's|@''GUARD_PREFIX''@|GL|g' \
1001               -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
1002               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1003               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1004               -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
1005               -e 's/@''GNULIB_ACOSF''@/$(GL_GNULIB_ACOSF)/g' \
1006               -e 's/@''GNULIB_ACOSL''@/$(GL_GNULIB_ACOSL)/g' \
1007               -e 's/@''GNULIB_ASINF''@/$(GL_GNULIB_ASINF)/g' \
1008               -e 's/@''GNULIB_ASINL''@/$(GL_GNULIB_ASINL)/g' \
1009               -e 's/@''GNULIB_ATANF''@/$(GL_GNULIB_ATANF)/g' \
1010               -e 's/@''GNULIB_ATANL''@/$(GL_GNULIB_ATANL)/g' \
1011               -e 's/@''GNULIB_ATAN2F''@/$(GL_GNULIB_ATAN2F)/g' \
1012               -e 's/@''GNULIB_CBRT''@/$(GL_GNULIB_CBRT)/g' \
1013               -e 's/@''GNULIB_CBRTF''@/$(GL_GNULIB_CBRTF)/g' \
1014               -e 's/@''GNULIB_CBRTL''@/$(GL_GNULIB_CBRTL)/g' \
1015               -e 's/@''GNULIB_CEIL''@/$(GL_GNULIB_CEIL)/g' \
1016               -e 's/@''GNULIB_CEILF''@/$(GL_GNULIB_CEILF)/g' \
1017               -e 's/@''GNULIB_CEILL''@/$(GL_GNULIB_CEILL)/g' \
1018               -e 's/@''GNULIB_COPYSIGN''@/$(GL_GNULIB_COPYSIGN)/g' \
1019               -e 's/@''GNULIB_COPYSIGNF''@/$(GL_GNULIB_COPYSIGNF)/g' \
1020               -e 's/@''GNULIB_COPYSIGNL''@/$(GL_GNULIB_COPYSIGNL)/g' \
1021               -e 's/@''GNULIB_COSF''@/$(GL_GNULIB_COSF)/g' \
1022               -e 's/@''GNULIB_COSL''@/$(GL_GNULIB_COSL)/g' \
1023               -e 's/@''GNULIB_COSHF''@/$(GL_GNULIB_COSHF)/g' \
1024               -e 's/@''GNULIB_EXPF''@/$(GL_GNULIB_EXPF)/g' \
1025               -e 's/@''GNULIB_EXPL''@/$(GL_GNULIB_EXPL)/g' \
1026               -e 's/@''GNULIB_EXP2''@/$(GL_GNULIB_EXP2)/g' \
1027               -e 's/@''GNULIB_EXP2F''@/$(GL_GNULIB_EXP2F)/g' \
1028               -e 's/@''GNULIB_EXP2L''@/$(GL_GNULIB_EXP2L)/g' \
1029               -e 's/@''GNULIB_EXPM1''@/$(GL_GNULIB_EXPM1)/g' \
1030               -e 's/@''GNULIB_EXPM1F''@/$(GL_GNULIB_EXPM1F)/g' \
1031               -e 's/@''GNULIB_EXPM1L''@/$(GL_GNULIB_EXPM1L)/g' \
1032               -e 's/@''GNULIB_FABSF''@/$(GL_GNULIB_FABSF)/g' \
1033               -e 's/@''GNULIB_FABSL''@/$(GL_GNULIB_FABSL)/g' \
1034               -e 's/@''GNULIB_FLOOR''@/$(GL_GNULIB_FLOOR)/g' \
1035               -e 's/@''GNULIB_FLOORF''@/$(GL_GNULIB_FLOORF)/g' \
1036               -e 's/@''GNULIB_FLOORL''@/$(GL_GNULIB_FLOORL)/g' \
1037               -e 's/@''GNULIB_FMA''@/$(GL_GNULIB_FMA)/g' \
1038               -e 's/@''GNULIB_FMAF''@/$(GL_GNULIB_FMAF)/g' \
1039               -e 's/@''GNULIB_FMAL''@/$(GL_GNULIB_FMAL)/g' \
1040               -e 's/@''GNULIB_FMOD''@/$(GL_GNULIB_FMOD)/g' \
1041               -e 's/@''GNULIB_FMODF''@/$(GL_GNULIB_FMODF)/g' \
1042               -e 's/@''GNULIB_FMODL''@/$(GL_GNULIB_FMODL)/g' \
1043               -e 's/@''GNULIB_FREXPF''@/$(GL_GNULIB_FREXPF)/g' \
1044               -e 's/@''GNULIB_FREXP''@/$(GL_GNULIB_FREXP)/g' \
1045               -e 's/@''GNULIB_FREXPL''@/$(GL_GNULIB_FREXPL)/g' \
1046               -e 's/@''GNULIB_HYPOT''@/$(GL_GNULIB_HYPOT)/g' \
1047               -e 's/@''GNULIB_HYPOTF''@/$(GL_GNULIB_HYPOTF)/g' \
1048               -e 's/@''GNULIB_HYPOTL''@/$(GL_GNULIB_HYPOTL)/g' \
1049               < $(srcdir)/math.in.h | \
1050           sed -e 's/@''GNULIB_ILOGB''@/$(GL_GNULIB_ILOGB)/g' \
1051               -e 's/@''GNULIB_ILOGBF''@/$(GL_GNULIB_ILOGBF)/g' \
1052               -e 's/@''GNULIB_ILOGBL''@/$(GL_GNULIB_ILOGBL)/g' \
1053               -e 's/@''GNULIB_ISFINITE''@/$(GL_GNULIB_ISFINITE)/g' \
1054               -e 's/@''GNULIB_ISINF''@/$(GL_GNULIB_ISINF)/g' \
1055               -e 's/@''GNULIB_ISNAN''@/$(GL_GNULIB_ISNAN)/g' \
1056               -e 's/@''GNULIB_ISNANF''@/$(GL_GNULIB_ISNANF)/g' \
1057               -e 's/@''GNULIB_ISNAND''@/$(GL_GNULIB_ISNAND)/g' \
1058               -e 's/@''GNULIB_ISNANL''@/$(GL_GNULIB_ISNANL)/g' \
1059               -e 's/@''GNULIB_LDEXPF''@/$(GL_GNULIB_LDEXPF)/g' \
1060               -e 's/@''GNULIB_LDEXPL''@/$(GL_GNULIB_LDEXPL)/g' \
1061               -e 's/@''GNULIB_LOG''@/$(GL_GNULIB_LOG)/g' \
1062               -e 's/@''GNULIB_LOGF''@/$(GL_GNULIB_LOGF)/g' \
1063               -e 's/@''GNULIB_LOGL''@/$(GL_GNULIB_LOGL)/g' \
1064               -e 's/@''GNULIB_LOG10''@/$(GL_GNULIB_LOG10)/g' \
1065               -e 's/@''GNULIB_LOG10F''@/$(GL_GNULIB_LOG10F)/g' \
1066               -e 's/@''GNULIB_LOG10L''@/$(GL_GNULIB_LOG10L)/g' \
1067               -e 's/@''GNULIB_LOG1P''@/$(GL_GNULIB_LOG1P)/g' \
1068               -e 's/@''GNULIB_LOG1PF''@/$(GL_GNULIB_LOG1PF)/g' \
1069               -e 's/@''GNULIB_LOG1PL''@/$(GL_GNULIB_LOG1PL)/g' \
1070               -e 's/@''GNULIB_LOG2''@/$(GL_GNULIB_LOG2)/g' \
1071               -e 's/@''GNULIB_LOG2F''@/$(GL_GNULIB_LOG2F)/g' \
1072               -e 's/@''GNULIB_LOG2L''@/$(GL_GNULIB_LOG2L)/g' \
1073               -e 's/@''GNULIB_LOGB''@/$(GL_GNULIB_LOGB)/g' \
1074               -e 's/@''GNULIB_LOGBF''@/$(GL_GNULIB_LOGBF)/g' \
1075               -e 's/@''GNULIB_LOGBL''@/$(GL_GNULIB_LOGBL)/g' \
1076               -e 's/@''GNULIB_MODF''@/$(GL_GNULIB_MODF)/g' \
1077               -e 's/@''GNULIB_MODFF''@/$(GL_GNULIB_MODFF)/g' \
1078               -e 's/@''GNULIB_MODFL''@/$(GL_GNULIB_MODFL)/g' \
1079               -e 's/@''GNULIB_POWF''@/$(GL_GNULIB_POWF)/g' \
1080               -e 's/@''GNULIB_REMAINDER''@/$(GL_GNULIB_REMAINDER)/g' \
1081               -e 's/@''GNULIB_REMAINDERF''@/$(GL_GNULIB_REMAINDERF)/g' \
1082               -e 's/@''GNULIB_REMAINDERL''@/$(GL_GNULIB_REMAINDERL)/g' \
1083               -e 's/@''GNULIB_RINT''@/$(GL_GNULIB_RINT)/g' \
1084               -e 's/@''GNULIB_RINTF''@/$(GL_GNULIB_RINTF)/g' \
1085               -e 's/@''GNULIB_RINTL''@/$(GL_GNULIB_RINTL)/g' \
1086               -e 's/@''GNULIB_ROUND''@/$(GL_GNULIB_ROUND)/g' \
1087               -e 's/@''GNULIB_ROUNDF''@/$(GL_GNULIB_ROUNDF)/g' \
1088               -e 's/@''GNULIB_ROUNDL''@/$(GL_GNULIB_ROUNDL)/g' \
1089               -e 's/@''GNULIB_SIGNBIT''@/$(GL_GNULIB_SIGNBIT)/g' \
1090               -e 's/@''GNULIB_SINF''@/$(GL_GNULIB_SINF)/g' \
1091               -e 's/@''GNULIB_SINL''@/$(GL_GNULIB_SINL)/g' \
1092               -e 's/@''GNULIB_SINHF''@/$(GL_GNULIB_SINHF)/g' \
1093               -e 's/@''GNULIB_SQRTF''@/$(GL_GNULIB_SQRTF)/g' \
1094               -e 's/@''GNULIB_SQRTL''@/$(GL_GNULIB_SQRTL)/g' \
1095               -e 's/@''GNULIB_TANF''@/$(GL_GNULIB_TANF)/g' \
1096               -e 's/@''GNULIB_TANL''@/$(GL_GNULIB_TANL)/g' \
1097               -e 's/@''GNULIB_TANHF''@/$(GL_GNULIB_TANHF)/g' \
1098               -e 's/@''GNULIB_TRUNC''@/$(GL_GNULIB_TRUNC)/g' \
1099               -e 's/@''GNULIB_TRUNCF''@/$(GL_GNULIB_TRUNCF)/g' \
1100               -e 's/@''GNULIB_TRUNCL''@/$(GL_GNULIB_TRUNCL)/g' \
1101               -e 's/@''GNULIB_MDA_J0''@/$(GL_GNULIB_MDA_J0)/g' \
1102               -e 's/@''GNULIB_MDA_J1''@/$(GL_GNULIB_MDA_J1)/g' \
1103               -e 's/@''GNULIB_MDA_JN''@/$(GL_GNULIB_MDA_JN)/g' \
1104               -e 's/@''GNULIB_MDA_Y0''@/$(GL_GNULIB_MDA_Y0)/g' \
1105               -e 's/@''GNULIB_MDA_Y1''@/$(GL_GNULIB_MDA_Y1)/g' \
1106               -e 's/@''GNULIB_MDA_YN''@/$(GL_GNULIB_MDA_YN)/g' \
1107           | \
1108           sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \
1109               -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
1110               -e 's|@''HAVE_ASINF''@|$(HAVE_ASINF)|g' \
1111               -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
1112               -e 's|@''HAVE_ATANF''@|$(HAVE_ATANF)|g' \
1113               -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
1114               -e 's|@''HAVE_ATAN2F''@|$(HAVE_ATAN2F)|g' \
1115               -e 's|@''HAVE_CBRT''@|$(HAVE_CBRT)|g' \
1116               -e 's|@''HAVE_CBRTF''@|$(HAVE_CBRTF)|g' \
1117               -e 's|@''HAVE_CBRTL''@|$(HAVE_CBRTL)|g' \
1118               -e 's|@''HAVE_COPYSIGN''@|$(HAVE_COPYSIGN)|g' \
1119               -e 's|@''HAVE_COPYSIGNL''@|$(HAVE_COPYSIGNL)|g' \
1120               -e 's|@''HAVE_COSF''@|$(HAVE_COSF)|g' \
1121               -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
1122               -e 's|@''HAVE_COSHF''@|$(HAVE_COSHF)|g' \
1123               -e 's|@''HAVE_EXPF''@|$(HAVE_EXPF)|g' \
1124               -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
1125               -e 's|@''HAVE_EXPM1''@|$(HAVE_EXPM1)|g' \
1126               -e 's|@''HAVE_EXPM1F''@|$(HAVE_EXPM1F)|g' \
1127               -e 's|@''HAVE_FABSF''@|$(HAVE_FABSF)|g' \
1128               -e 's|@''HAVE_FABSL''@|$(HAVE_FABSL)|g' \
1129               -e 's|@''HAVE_FMA''@|$(HAVE_FMA)|g' \
1130               -e 's|@''HAVE_FMAF''@|$(HAVE_FMAF)|g' \
1131               -e 's|@''HAVE_FMAL''@|$(HAVE_FMAL)|g' \
1132               -e 's|@''HAVE_FMODF''@|$(HAVE_FMODF)|g' \
1133               -e 's|@''HAVE_FMODL''@|$(HAVE_FMODL)|g' \
1134               -e 's|@''HAVE_FREXPF''@|$(HAVE_FREXPF)|g' \
1135               -e 's|@''HAVE_HYPOTF''@|$(HAVE_HYPOTF)|g' \
1136               -e 's|@''HAVE_HYPOTL''@|$(HAVE_HYPOTL)|g' \
1137               -e 's|@''HAVE_ILOGB''@|$(HAVE_ILOGB)|g' \
1138               -e 's|@''HAVE_ILOGBF''@|$(HAVE_ILOGBF)|g' \
1139               -e 's|@''HAVE_ILOGBL''@|$(HAVE_ILOGBL)|g' \
1140               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
1141               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
1142               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
1143               -e 's|@''HAVE_LDEXPF''@|$(HAVE_LDEXPF)|g' \
1144               -e 's|@''HAVE_LOGF''@|$(HAVE_LOGF)|g' \
1145               -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
1146               -e 's|@''HAVE_LOG10F''@|$(HAVE_LOG10F)|g' \
1147               -e 's|@''HAVE_LOG10L''@|$(HAVE_LOG10L)|g' \
1148               -e 's|@''HAVE_LOG1P''@|$(HAVE_LOG1P)|g' \
1149               -e 's|@''HAVE_LOG1PF''@|$(HAVE_LOG1PF)|g' \
1150               -e 's|@''HAVE_LOG1PL''@|$(HAVE_LOG1PL)|g' \
1151               -e 's|@''HAVE_LOGBF''@|$(HAVE_LOGBF)|g' \
1152               -e 's|@''HAVE_LOGBL''@|$(HAVE_LOGBL)|g' \
1153               -e 's|@''HAVE_MODFF''@|$(HAVE_MODFF)|g' \
1154               -e 's|@''HAVE_MODFL''@|$(HAVE_MODFL)|g' \
1155               -e 's|@''HAVE_POWF''@|$(HAVE_POWF)|g' \
1156               -e 's|@''HAVE_REMAINDER''@|$(HAVE_REMAINDER)|g' \
1157               -e 's|@''HAVE_REMAINDERF''@|$(HAVE_REMAINDERF)|g' \
1158               -e 's|@''HAVE_RINT''@|$(HAVE_RINT)|g' \
1159               -e 's|@''HAVE_RINTL''@|$(HAVE_RINTL)|g' \
1160               -e 's|@''HAVE_SINF''@|$(HAVE_SINF)|g' \
1161               -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
1162               -e 's|@''HAVE_SINHF''@|$(HAVE_SINHF)|g' \
1163               -e 's|@''HAVE_SQRTF''@|$(HAVE_SQRTF)|g' \
1164               -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
1165               -e 's|@''HAVE_TANF''@|$(HAVE_TANF)|g' \
1166               -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
1167               -e 's|@''HAVE_TANHF''@|$(HAVE_TANHF)|g' \
1168               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
1169               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
1170               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
1171               -e 's|@''HAVE_DECL_CBRTF''@|$(HAVE_DECL_CBRTF)|g' \
1172               -e 's|@''HAVE_DECL_CBRTL''@|$(HAVE_DECL_CBRTL)|g' \
1173               -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
1174               -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
1175               -e 's|@''HAVE_DECL_COPYSIGNF''@|$(HAVE_DECL_COPYSIGNF)|g' \
1176               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
1177               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
1178               -e 's|@''HAVE_DECL_EXP2''@|$(HAVE_DECL_EXP2)|g' \
1179               -e 's|@''HAVE_DECL_EXP2F''@|$(HAVE_DECL_EXP2F)|g' \
1180               -e 's|@''HAVE_DECL_EXP2L''@|$(HAVE_DECL_EXP2L)|g' \
1181               -e 's|@''HAVE_DECL_EXPM1L''@|$(HAVE_DECL_EXPM1L)|g' \
1182               -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
1183               -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
1184               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
1185               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
1186               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
1187               -e 's|@''HAVE_DECL_LOG10L''@|$(HAVE_DECL_LOG10L)|g' \
1188               -e 's|@''HAVE_DECL_LOG2''@|$(HAVE_DECL_LOG2)|g' \
1189               -e 's|@''HAVE_DECL_LOG2F''@|$(HAVE_DECL_LOG2F)|g' \
1190               -e 's|@''HAVE_DECL_LOG2L''@|$(HAVE_DECL_LOG2L)|g' \
1191               -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
1192               -e 's|@''HAVE_DECL_REMAINDER''@|$(HAVE_DECL_REMAINDER)|g' \
1193               -e 's|@''HAVE_DECL_REMAINDERL''@|$(HAVE_DECL_REMAINDERL)|g' \
1194               -e 's|@''HAVE_DECL_RINTF''@|$(HAVE_DECL_RINTF)|g' \
1195               -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
1196               -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
1197               -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
1198               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
1199               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
1200               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
1201               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
1202               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
1203               -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
1204           | \
1205           sed -e 's|@''REPLACE_ACOSF''@|$(REPLACE_ACOSF)|g' \
1206               -e 's|@''REPLACE_ASINF''@|$(REPLACE_ASINF)|g' \
1207               -e 's|@''REPLACE_ATANF''@|$(REPLACE_ATANF)|g' \
1208               -e 's|@''REPLACE_ATAN2F''@|$(REPLACE_ATAN2F)|g' \
1209               -e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
1210               -e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
1211               -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
1212               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
1213               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
1214               -e 's|@''REPLACE_COSF''@|$(REPLACE_COSF)|g' \
1215               -e 's|@''REPLACE_COSHF''@|$(REPLACE_COSHF)|g' \
1216               -e 's|@''REPLACE_EXPF''@|$(REPLACE_EXPF)|g' \
1217               -e 's|@''REPLACE_EXPL''@|$(REPLACE_EXPL)|g' \
1218               -e 's|@''REPLACE_EXPM1''@|$(REPLACE_EXPM1)|g' \
1219               -e 's|@''REPLACE_EXPM1F''@|$(REPLACE_EXPM1F)|g' \
1220               -e 's|@''REPLACE_EXPM1L''@|$(REPLACE_EXPM1L)|g' \
1221               -e 's|@''REPLACE_EXP2''@|$(REPLACE_EXP2)|g' \
1222               -e 's|@''REPLACE_EXP2L''@|$(REPLACE_EXP2L)|g' \
1223               -e 's|@''REPLACE_FABSL''@|$(REPLACE_FABSL)|g' \
1224               -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
1225               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
1226               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
1227               -e 's|@''REPLACE_FMA''@|$(REPLACE_FMA)|g' \
1228               -e 's|@''REPLACE_FMAF''@|$(REPLACE_FMAF)|g' \
1229               -e 's|@''REPLACE_FMAL''@|$(REPLACE_FMAL)|g' \
1230               -e 's|@''REPLACE_FMOD''@|$(REPLACE_FMOD)|g' \
1231               -e 's|@''REPLACE_FMODF''@|$(REPLACE_FMODF)|g' \
1232               -e 's|@''REPLACE_FMODL''@|$(REPLACE_FMODL)|g' \
1233               -e 's|@''REPLACE_FREXPF''@|$(REPLACE_FREXPF)|g' \
1234               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
1235               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
1236               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
1237               -e 's|@''REPLACE_HYPOT''@|$(REPLACE_HYPOT)|g' \
1238               -e 's|@''REPLACE_HYPOTF''@|$(REPLACE_HYPOTF)|g' \
1239               -e 's|@''REPLACE_HYPOTL''@|$(REPLACE_HYPOTL)|g' \
1240               -e 's|@''REPLACE_ILOGB''@|$(REPLACE_ILOGB)|g' \
1241               -e 's|@''REPLACE_ILOGBF''@|$(REPLACE_ILOGBF)|g' \
1242               -e 's|@''REPLACE_ILOGBL''@|$(REPLACE_ILOGBL)|g' \
1243               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
1244               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
1245               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
1246               -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \
1247               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
1248               -e 's|@''REPLACE_LOG''@|$(REPLACE_LOG)|g' \
1249               -e 's|@''REPLACE_LOGF''@|$(REPLACE_LOGF)|g' \
1250               -e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
1251               -e 's|@''REPLACE_LOG10''@|$(REPLACE_LOG10)|g' \
1252               -e 's|@''REPLACE_LOG10F''@|$(REPLACE_LOG10F)|g' \
1253               -e 's|@''REPLACE_LOG10L''@|$(REPLACE_LOG10L)|g' \
1254               -e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
1255               -e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
1256               -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
1257               -e 's|@''REPLACE_LOG2''@|$(REPLACE_LOG2)|g' \
1258               -e 's|@''REPLACE_LOG2F''@|$(REPLACE_LOG2F)|g' \
1259               -e 's|@''REPLACE_LOG2L''@|$(REPLACE_LOG2L)|g' \
1260               -e 's|@''REPLACE_LOGB''@|$(REPLACE_LOGB)|g' \
1261               -e 's|@''REPLACE_LOGBF''@|$(REPLACE_LOGBF)|g' \
1262               -e 's|@''REPLACE_LOGBL''@|$(REPLACE_LOGBL)|g' \
1263               -e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
1264               -e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
1265               -e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \
1266               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
1267               -e 's|@''REPLACE_REMAINDER''@|$(REPLACE_REMAINDER)|g' \
1268               -e 's|@''REPLACE_REMAINDERF''@|$(REPLACE_REMAINDERF)|g' \
1269               -e 's|@''REPLACE_REMAINDERL''@|$(REPLACE_REMAINDERL)|g' \
1270               -e 's|@''REPLACE_RINTL''@|$(REPLACE_RINTL)|g' \
1271               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
1272               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
1273               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
1274               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
1275               -e 's|@''REPLACE_SIGNBIT_USING_BUILTINS''@|$(REPLACE_SIGNBIT_USING_BUILTINS)|g' \
1276               -e 's|@''REPLACE_SINF''@|$(REPLACE_SINF)|g' \
1277               -e 's|@''REPLACE_SINHF''@|$(REPLACE_SINHF)|g' \
1278               -e 's|@''REPLACE_SQRTF''@|$(REPLACE_SQRTF)|g' \
1279               -e 's|@''REPLACE_SQRTL''@|$(REPLACE_SQRTL)|g' \
1280               -e 's|@''REPLACE_TANF''@|$(REPLACE_TANF)|g' \
1281               -e 's|@''REPLACE_TANHF''@|$(REPLACE_TANHF)|g' \
1282               -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
1283               -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
1284               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
1285               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1286               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1287               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1288               > $@-t
1289         $(AM_V_at)mv $@-t $@
1290 MOSTLYCLEANFILES += math.h math.h-t
1292 EXTRA_DIST += math.in.h
1294 ## end   gnulib module math
1296 ## begin gnulib module mbrtowc
1298 if GL_COND_OBJ_MBRTOWC
1299 libgnu_a_SOURCES += mbrtowc.c
1300 endif
1302 EXTRA_DIST += lc-charset-dispatch.c lc-charset-dispatch.h mbrtowc-impl-utf8.h mbrtowc-impl.h mbtowc-lock.c mbtowc-lock.h windows-initguard.h
1304 EXTRA_libgnu_a_SOURCES += lc-charset-dispatch.c mbtowc-lock.c
1306 ## end   gnulib module mbrtowc
1308 ## begin gnulib module mbsinit
1310 if GL_COND_OBJ_MBSINIT
1311 libgnu_a_SOURCES += mbsinit.c
1312 endif
1314 ## end   gnulib module mbsinit
1316 ## begin gnulib module mbtowc
1318 if GL_COND_OBJ_MBTOWC
1319 libgnu_a_SOURCES += mbtowc.c
1320 endif
1322 EXTRA_DIST += mbtowc-impl.h
1324 ## end   gnulib module mbtowc
1326 ## begin gnulib module memchr
1328 if GL_COND_OBJ_MEMCHR
1329 libgnu_a_SOURCES += memchr.c
1330 endif
1332 EXTRA_DIST += memchr.valgrind
1334 ## end   gnulib module memchr
1336 ## begin gnulib module minmax
1338 libgnu_a_SOURCES += minmax.h
1340 ## end   gnulib module minmax
1342 ## begin gnulib module mktime
1345 EXTRA_DIST += mktime-internal.h mktime.c
1347 EXTRA_libgnu_a_SOURCES += mktime.c
1349 ## end   gnulib module mktime
1351 ## begin gnulib module mktime-internal
1354 EXTRA_DIST += mktime-internal.h mktime.c
1356 EXTRA_libgnu_a_SOURCES += mktime.c
1358 ## end   gnulib module mktime-internal
1360 ## begin gnulib module mountlist
1362 if GL_COND_OBJ_MOUNTLIST
1363 libgnu_a_SOURCES += mountlist.c
1364 endif
1366 EXTRA_DIST += mountlist.h
1368 ## end   gnulib module mountlist
1370 ## begin gnulib module msvc-inval
1372 if GL_COND_OBJ_MSVC_INVAL
1373 libgnu_a_SOURCES += msvc-inval.c
1374 endif
1376 EXTRA_DIST += msvc-inval.h
1378 ## end   gnulib module msvc-inval
1380 ## begin gnulib module msvc-nothrow
1382 if GL_COND_OBJ_MSVC_NOTHROW
1383 libgnu_a_SOURCES += msvc-nothrow.c
1384 endif
1386 EXTRA_DIST += msvc-nothrow.h
1388 ## end   gnulib module msvc-nothrow
1390 ## begin gnulib module netdb
1392 BUILT_SOURCES += netdb.h
1394 # We need the following in order to create <netdb.h> when the system
1395 # doesn't have one that works with the given compiler.
1396 netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1397         $(gl_V_at)$(SED_HEADER_STDOUT) \
1398               -e 's|@''GUARD_PREFIX''@|GL|g' \
1399               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1400               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1401               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1402               -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \
1403               -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \
1404               -e 's/@''GNULIB_GETADDRINFO''@/$(GL_GNULIB_GETADDRINFO)/g' \
1405               -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \
1406               -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \
1407               -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
1408               -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
1409               -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
1410               -e 's|@''REPLACE_GAI_STRERROR''@|$(REPLACE_GAI_STRERROR)|g' \
1411               -e 's|@''REPLACE_GETADDRINFO''@|$(REPLACE_GETADDRINFO)|g' \
1412               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1413               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1414               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1415               $(srcdir)/netdb.in.h > $@-t
1416         $(AM_V_at)mv $@-t $@
1417 MOSTLYCLEANFILES += netdb.h netdb.h-t
1419 EXTRA_DIST += netdb.in.h
1421 ## end   gnulib module netdb
1423 ## begin gnulib module netinet_in
1425 BUILT_SOURCES += $(NETINET_IN_H)
1427 # We need the following in order to create <netinet/in.h> when the system
1428 # doesn't have one.
1429 if GL_GENERATE_NETINET_IN_H
1430 netinet/in.h: netinet_in.in.h $(top_builddir)/config.status
1431         $(AM_V_GEN)$(MKDIR_P) '%reldir%/netinet'
1432         $(AM_V_at)$(SED_HEADER_STDOUT) \
1433               -e 's|@''GUARD_PREFIX''@|GL|g' \
1434               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1435               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1436               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1437               -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
1438               -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
1439               $(srcdir)/netinet_in.in.h > $@-t
1440         $(AM_V_at)mv $@-t $@
1441 else
1442 netinet/in.h: $(top_builddir)/config.status
1443         rm -f $@
1444 endif
1445 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
1446 MOSTLYCLEANDIRS += netinet
1448 EXTRA_DIST += netinet_in.in.h
1450 ## end   gnulib module netinet_in
1452 ## begin gnulib module nl_langinfo
1454 if GL_COND_OBJ_NL_LANGINFO
1455 libgnu_a_SOURCES += nl_langinfo.c
1456 endif
1457 if GL_COND_OBJ_NL_LANGINFO_LOCK
1458 libgnu_a_SOURCES += nl_langinfo-lock.c
1459 endif
1461 EXTRA_DIST += windows-initguard.h
1463 ## end   gnulib module nl_langinfo
1465 ## begin gnulib module open
1467 if GL_COND_OBJ_OPEN
1468 libgnu_a_SOURCES += open.c
1469 endif
1471 ## end   gnulib module open
1473 ## begin gnulib module pathmax
1476 EXTRA_DIST += pathmax.h
1478 ## end   gnulib module pathmax
1480 ## begin gnulib module realloc-gnu
1483 EXTRA_DIST += realloc.c
1485 EXTRA_libgnu_a_SOURCES += realloc.c
1487 ## end   gnulib module realloc-gnu
1489 ## begin gnulib module realloc-posix
1492 EXTRA_DIST += realloc.c
1494 EXTRA_libgnu_a_SOURCES += realloc.c
1496 ## end   gnulib module realloc-posix
1498 ## begin gnulib module reallocarray
1500 if GL_COND_OBJ_REALLOCARRAY
1501 libgnu_a_SOURCES += reallocarray.c
1502 endif
1504 ## end   gnulib module reallocarray
1506 ## begin gnulib module regex
1508 if GL_COND_OBJ_REGEX
1509 libgnu_a_SOURCES += regex.c
1510 endif
1512 EXTRA_DIST += regcomp.c regex.h regex_internal.c regex_internal.h regexec.c
1514 EXTRA_libgnu_a_SOURCES += regcomp.c regex_internal.c regexec.c
1516 ## end   gnulib module regex
1518 ## begin gnulib module setenv
1520 if GL_COND_OBJ_SETENV
1521 libgnu_a_SOURCES += setenv.c
1522 endif
1524 ## end   gnulib module setenv
1526 ## begin gnulib module setlocale-null
1528 libgnu_a_SOURCES += setlocale_null.c
1529 if GL_COND_OBJ_SETLOCALE_LOCK
1530 libgnu_a_SOURCES += setlocale-lock.c
1531 endif
1533 EXTRA_DIST += setlocale_null.h windows-initguard.h
1535 ## end   gnulib module setlocale-null
1537 ## begin gnulib module size_max
1539 libgnu_a_SOURCES += size_max.h
1541 ## end   gnulib module size_max
1543 ## begin gnulib module snippet/_Noreturn
1545 # Because this Makefile snippet defines a variable used by other
1546 # gnulib Makefile snippets, it must be present in all makefiles that
1547 # need it. This is ensured by the applicability 'all' defined above.
1549 _NORETURN_H=$(srcdir)/_Noreturn.h
1551 EXTRA_DIST += _Noreturn.h
1553 ## end   gnulib module snippet/_Noreturn
1555 ## begin gnulib module snippet/arg-nonnull
1557 # Because this Makefile snippet defines a variable used by other
1558 # gnulib Makefile snippets, it must be present in all makefiles that
1559 # need it. This is ensured by the applicability 'all' defined above.
1561 ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
1563 EXTRA_DIST += arg-nonnull.h
1565 ## end   gnulib module snippet/arg-nonnull
1567 ## begin gnulib module snippet/c++defs
1569 # Because this Makefile snippet defines a variable used by other
1570 # gnulib Makefile snippets, it must be present in all makefiles that
1571 # need it. This is ensured by the applicability 'all' defined above.
1573 CXXDEFS_H=$(srcdir)/c++defs.h
1575 EXTRA_DIST += c++defs.h
1577 ## end   gnulib module snippet/c++defs
1579 ## begin gnulib module snippet/warn-on-use
1581 # Because this Makefile snippet defines a variable used by other
1582 # gnulib Makefile snippets, it must be present in all makefiles that
1583 # need it. This is ensured by the applicability 'all' defined above.
1585 WARN_ON_USE_H=$(srcdir)/warn-on-use.h
1587 EXTRA_DIST += warn-on-use.h
1589 ## end   gnulib module snippet/warn-on-use
1591 ## begin gnulib module snprintf
1594 EXTRA_DIST += snprintf.c
1596 EXTRA_libgnu_a_SOURCES += snprintf.c
1598 ## end   gnulib module snprintf
1600 ## begin gnulib module sockets
1602 libgnu_a_SOURCES += sockets.h sockets.c
1604 EXTRA_DIST += w32sock.h
1606 ## end   gnulib module sockets
1608 ## begin gnulib module stat
1610 if GL_COND_OBJ_STAT
1611 libgnu_a_SOURCES += stat.c
1612 endif
1614 EXTRA_DIST += stat-w32.c stat-w32.h
1616 EXTRA_libgnu_a_SOURCES += stat-w32.c
1618 ## end   gnulib module stat
1620 ## begin gnulib module stat-time
1622 libgnu_a_SOURCES += stat-time.c
1624 EXTRA_DIST += stat-time.h
1626 ## end   gnulib module stat-time
1628 ## begin gnulib module stdalign
1630 BUILT_SOURCES += $(STDALIGN_H)
1632 # We need the following in order to create <stdalign.h> when the system
1633 # doesn't have one that works.
1634 if GL_GENERATE_STDALIGN_H
1635 stdalign.h: stdalign.in.h $(top_builddir)/config.status
1636         $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
1637         $(AM_V_at)mv $@-t $@
1638 else
1639 stdalign.h: $(top_builddir)/config.status
1640         rm -f $@
1641 endif
1642 MOSTLYCLEANFILES += stdalign.h stdalign.h-t
1644 EXTRA_DIST += stdalign.in.h
1646 ## end   gnulib module stdalign
1648 ## begin gnulib module stdckdint
1650 BUILT_SOURCES += $(STDCKDINT_H)
1652 # We need the following in order to create <stdckdint.h> when the system
1653 # doesn't have one that works with the given compiler.
1654 if GL_GENERATE_STDCKDINT_H
1655 stdckdint.h: stdckdint.in.h $(top_builddir)/config.status
1656         $(gl_V_at)$(SED_HEADER_STDOUT) \
1657           $(srcdir)/stdckdint.in.h > $@-t
1658         $(AM_V_at)mv $@-t $@
1659 else
1660 stdckdint.h: $(top_builddir)/config.status
1661         rm -f $@
1662 endif
1663 MOSTLYCLEANFILES += stdckdint.h stdckdint.h-t
1665 EXTRA_DIST += intprops-internal.h stdckdint.in.h
1667 ## end   gnulib module stdckdint
1669 ## begin gnulib module stddef
1671 BUILT_SOURCES += $(STDDEF_H)
1673 # We need the following in order to create <stddef.h> when the system
1674 # doesn't have one that works with the given compiler.
1675 if GL_GENERATE_STDDEF_H
1676 stddef.h: stddef.in.h $(top_builddir)/config.status
1677         $(gl_V_at)$(SED_HEADER_STDOUT) \
1678               -e 's|@''GUARD_PREFIX''@|GL|g' \
1679               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1680               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1681               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1682               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1683               -e 's|@''HAVE_MAX_ALIGN_T''@|$(HAVE_MAX_ALIGN_T)|g' \
1684               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1685               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1686               $(srcdir)/stddef.in.h > $@-t
1687         $(AM_V_at)mv $@-t $@
1688 else
1689 stddef.h: $(top_builddir)/config.status
1690         rm -f $@
1691 endif
1692 MOSTLYCLEANFILES += stddef.h stddef.h-t
1694 EXTRA_DIST += stddef.in.h
1696 ## end   gnulib module stddef
1698 ## begin gnulib module stdint
1700 BUILT_SOURCES += $(STDINT_H)
1702 # We need the following in order to create <stdint.h> when the system
1703 # doesn't have one that works with the given compiler.
1704 if GL_GENERATE_STDINT_H
1705 stdint.h: stdint.in.h $(top_builddir)/config.status
1706         $(gl_V_at)$(SED_HEADER_STDOUT) \
1707               -e 's|@''GUARD_PREFIX''@|GL|g' \
1708               -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1709               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1710               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1711               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1712               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1713               -e 's/@''HAVE_C99_STDINT_H''@/$(HAVE_C99_STDINT_H)/g' \
1714               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1715               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1716               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1717               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1718               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1719               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1720               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1721               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1722               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1723               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1724               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1725               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1726               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1727               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1728               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1729               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1730               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1731               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1732               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1733               -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
1734               $(srcdir)/stdint.in.h > $@-t
1735         $(AM_V_at)mv $@-t $@
1736 else
1737 stdint.h: $(top_builddir)/config.status
1738         rm -f $@
1739 endif
1740 MOSTLYCLEANFILES += stdint.h stdint.h-t
1742 EXTRA_DIST += stdint.in.h
1744 ## end   gnulib module stdint
1746 ## begin gnulib module stdio
1748 BUILT_SOURCES += stdio.h
1750 # We need the following in order to create <stdio.h> when the system
1751 # doesn't have one that works with the given compiler.
1752 stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1753         $(gl_V_at)$(SED_HEADER_STDOUT) \
1754               -e 's|@''GUARD_PREFIX''@|GL|g' \
1755               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1756               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1757               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1758               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1759               -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \
1760               -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \
1761               -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \
1762               -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \
1763               -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \
1764               -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \
1765               -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \
1766               -e 's/@''GNULIB_FOPEN_GNU''@/$(GL_GNULIB_FOPEN_GNU)/g' \
1767               -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \
1768               -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \
1769               -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \
1770               -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \
1771               -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \
1772               -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \
1773               -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \
1774               -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \
1775               -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \
1776               -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \
1777               -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \
1778               -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \
1779               -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \
1780               -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \
1781               -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \
1782               -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \
1783               -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \
1784               -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \
1785               -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \
1786               -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \
1787               -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \
1788               -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \
1789               -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \
1790               -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \
1791               -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \
1792               -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \
1793               -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \
1794               -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \
1795               -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \
1796               -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \
1797               -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \
1798               -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \
1799               -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \
1800               -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \
1801               -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \
1802               -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \
1803               -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \
1804               -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \
1805               -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \
1806               -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \
1807               -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \
1808               -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \
1809               -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \
1810               -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \
1811               -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \
1812               -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \
1813               -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \
1814               -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \
1815               -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \
1816               -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \
1817               -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \
1818               -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \
1819               < $(srcdir)/stdio.in.h | \
1820           sed -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \
1821               -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1822               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1823               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1824               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1825               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1826               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1827               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1828               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1829               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1830               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1831               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1832               -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \
1833               -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \
1834               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1835               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1836               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1837               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1838               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1839               -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \
1840               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1841               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1842               -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|$(REPLACE_FOPEN_FOR_FOPEN_GNU)|g' \
1843               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1844               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1845               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1846               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1847               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1848               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1849               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1850               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1851               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1852               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1853               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1854               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1855               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1856               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1857               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1858               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1859               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1860               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1861               -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \
1862               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1863               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1864               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1865               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1866               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1867               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1868               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1869               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1870               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1871               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1872               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1873               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1874               > $@-t
1875         $(AM_V_at)mv $@-t $@
1876 MOSTLYCLEANFILES += stdio.h stdio.h-t
1878 if GL_COND_OBJ_STDIO_READ
1879 libgnu_a_SOURCES += stdio-read.c
1880 endif
1881 if GL_COND_OBJ_STDIO_WRITE
1882 libgnu_a_SOURCES += stdio-write.c
1883 endif
1885 EXTRA_DIST += stdio.in.h
1887 ## end   gnulib module stdio
1889 ## begin gnulib module stdlib
1891 BUILT_SOURCES += stdlib.h
1893 # We need the following in order to create <stdlib.h> when the system
1894 # doesn't have one that works with the given compiler.
1895 stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
1896   $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1897         $(gl_V_at)$(SED_HEADER_STDOUT) \
1898               -e 's|@''GUARD_PREFIX''@|GL|g' \
1899               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1900               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1901               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1902               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1903               -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \
1904               -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \
1905               -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \
1906               -e 's/@''GNULIB_CALLOC_GNU''@/$(GL_GNULIB_CALLOC_GNU)/g' \
1907               -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \
1908               -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \
1909               -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
1910               -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \
1911               -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \
1912               -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \
1913               -e 's/@''GNULIB_MALLOC_GNU''@/$(GL_GNULIB_MALLOC_GNU)/g' \
1914               -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \
1915               -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \
1916               -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \
1917               -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \
1918               -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \
1919               -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \
1920               -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \
1921               -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \
1922               -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \
1923               -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \
1924               -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \
1925               -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \
1926               -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \
1927               -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \
1928               -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \
1929               -e 's/@''GNULIB_REALLOC_GNU''@/$(GL_GNULIB_REALLOC_GNU)/g' \
1930               -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \
1931               -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \
1932               -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \
1933               -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \
1934               -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \
1935               -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \
1936               -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \
1937               -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \
1938               -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \
1939               -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \
1940               -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \
1941               -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \
1942               -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \
1943               -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \
1944               -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \
1945               -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \
1946               -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \
1947               -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \
1948               -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \
1949               -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \
1950               -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \
1951               < $(srcdir)/stdlib.in.h | \
1952           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1953               -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
1954               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1955               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1956               -e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
1957               -e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
1958               -e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
1959               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1960               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1961               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1962               -e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
1963               -e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
1964               -e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
1965               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1966               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1967               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1968               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1969               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1970               -e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
1971               -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
1972               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1973               -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
1974               -e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
1975               -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
1976               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1977               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1978               -e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
1979               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1980               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1981               -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
1982               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1983               -e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
1984               -e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
1985               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1986               -e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
1987               -e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
1988               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1989               -e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
1990               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1991               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1992               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1993               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1994               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1995               -e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
1996               -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
1997               -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
1998               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1999               -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
2000               -e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
2001               -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
2002               -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
2003               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
2004               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
2005               -e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
2006               -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
2007               -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
2008               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
2009               -e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
2010               -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
2011               -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
2012               -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|$(REPLACE_REALLOC_FOR_REALLOC_GNU)|g' \
2013               -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
2014               -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
2015               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
2016               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
2017               -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
2018               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
2019               -e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
2020               -e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
2021               -e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
2022               -e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
2023               -e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
2024               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
2025               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
2026               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2027               -e '/definition of _Noreturn/r $(_NORETURN_H)' \
2028               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2029               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2030               > $@-t
2031         $(AM_V_at)mv $@-t $@
2032 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
2034 EXTRA_DIST += stdlib.in.h
2036 ## end   gnulib module stdlib
2038 ## begin gnulib module strcase
2040 if GL_COND_OBJ_STRCASECMP
2041 libgnu_a_SOURCES += strcasecmp.c
2042 endif
2043 if GL_COND_OBJ_STRNCASECMP
2044 libgnu_a_SOURCES += strncasecmp.c
2045 endif
2047 ## end   gnulib module strcase
2049 ## begin gnulib module strcasestr
2052 EXTRA_DIST += strcasestr.c
2054 EXTRA_libgnu_a_SOURCES += strcasestr.c
2056 ## end   gnulib module strcasestr
2058 ## begin gnulib module strcasestr-simple
2061 EXTRA_DIST += str-two-way.h strcasestr.c
2063 EXTRA_libgnu_a_SOURCES += strcasestr.c
2065 ## end   gnulib module strcasestr-simple
2067 ## begin gnulib module streq
2070 EXTRA_DIST += streq.h
2072 ## end   gnulib module streq
2074 ## begin gnulib module strerror
2076 if GL_COND_OBJ_STRERROR
2077 libgnu_a_SOURCES += strerror.c
2078 endif
2080 ## end   gnulib module strerror
2082 ## begin gnulib module strerror-override
2084 if GL_COND_OBJ_STRERROR_OVERRIDE
2085 libgnu_a_SOURCES += strerror-override.c
2086 endif
2088 EXTRA_DIST += strerror-override.h
2090 ## end   gnulib module strerror-override
2092 ## begin gnulib module string
2094 BUILT_SOURCES += string.h
2096 # We need the following in order to create <string.h> when the system
2097 # doesn't have one that works with the given compiler.
2098 string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2099         $(gl_V_at)$(SED_HEADER_STDOUT) \
2100               -e 's|@''GUARD_PREFIX''@|GL|g' \
2101               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2102               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2103               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2104               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
2105               -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \
2106               -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \
2107               -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \
2108               -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \
2109               -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \
2110               -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \
2111               -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \
2112               -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \
2113               -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \
2114               -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \
2115               -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \
2116               -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \
2117               -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \
2118               -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \
2119               -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \
2120               -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \
2121               -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \
2122               -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \
2123               -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \
2124               -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \
2125               -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \
2126               -e 's/@''GNULIB_MEMSET_EXPLICIT''@/$(GL_GNULIB_MEMSET_EXPLICIT)/g' \
2127               -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \
2128               -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \
2129               -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \
2130               -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \
2131               -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \
2132               -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \
2133               -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \
2134               -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \
2135               -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \
2136               -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \
2137               -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \
2138               -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \
2139               -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \
2140               -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \
2141               -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \
2142               -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \
2143               -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \
2144               -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \
2145               -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \
2146               -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \
2147               -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \
2148               -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \
2149               -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
2150               < $(srcdir)/string.in.h | \
2151           sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \
2152               -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \
2153               -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \
2154               -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
2155               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
2156               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
2157               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
2158               -e 's|@''HAVE_MEMSET_EXPLICIT''@|$(HAVE_MEMSET_EXPLICIT)|g' \
2159               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
2160               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
2161               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
2162               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
2163               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
2164               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
2165               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
2166               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
2167               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
2168               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
2169               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
2170               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
2171               -e 's|@''HAVE_STRERRORNAME_NP''@|$(HAVE_STRERRORNAME_NP)|g' \
2172               -e 's|@''HAVE_SIGABBREV_NP''@|$(HAVE_SIGABBREV_NP)|g' \
2173               -e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
2174               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
2175               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
2176               -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
2177               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
2178               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
2179               -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
2180               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
2181               -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \
2182               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
2183               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
2184               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
2185               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
2186               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
2187               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
2188               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
2189               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
2190               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
2191               -e 's|@''REPLACE_STRERRORNAME_NP''@|$(REPLACE_STRERRORNAME_NP)|g' \
2192               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
2193               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
2194               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2195               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2196               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2197               > $@-t
2198         $(AM_V_at)mv $@-t $@
2199 MOSTLYCLEANFILES += string.h string.h-t
2201 EXTRA_DIST += string.in.h
2203 ## end   gnulib module string
2205 ## begin gnulib module strings
2207 BUILT_SOURCES += strings.h
2209 # We need the following in order to create <strings.h> when the system
2210 # doesn't have one that works with the given compiler.
2211 strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2212         $(gl_V_at)$(SED_HEADER_STDOUT) \
2213               -e 's|@''GUARD_PREFIX''@|GL|g' \
2214               -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
2215               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2216               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2217               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2218               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
2219               -e 's/@''GNULIB_FFS''@/$(GL_GNULIB_FFS)/g' \
2220               -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
2221               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
2222               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
2223               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2224               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2225               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2226               $(srcdir)/strings.in.h > $@-t
2227         $(AM_V_at)mv $@-t $@
2228 MOSTLYCLEANFILES += strings.h strings.h-t
2230 EXTRA_DIST += strings.in.h
2232 ## end   gnulib module strings
2234 ## begin gnulib module strsep
2236 if GL_COND_OBJ_STRSEP
2237 libgnu_a_SOURCES += strsep.c
2238 endif
2240 ## end   gnulib module strsep
2242 ## begin gnulib module strstr-simple
2245 EXTRA_DIST += str-two-way.h strstr.c
2247 EXTRA_libgnu_a_SOURCES += strstr.c
2249 ## end   gnulib module strstr-simple
2251 ## begin gnulib module sys_socket
2253 BUILT_SOURCES += sys/socket.h
2254 libgnu_a_SOURCES += sys_socket.c
2256 # We need the following in order to create <sys/socket.h> when the system
2257 # doesn't have one that works with the given compiler.
2258 sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
2259         $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2260         $(AM_V_at)$(SED_HEADER_STDOUT) \
2261               -e 's|@''GUARD_PREFIX''@|GL|g' \
2262               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2263               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2264               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2265               -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \
2266               -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \
2267               -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
2268               -e 's/@''GNULIB_SOCKET''@/$(GL_GNULIB_SOCKET)/g' \
2269               -e 's/@''GNULIB_CONNECT''@/$(GL_GNULIB_CONNECT)/g' \
2270               -e 's/@''GNULIB_ACCEPT''@/$(GL_GNULIB_ACCEPT)/g' \
2271               -e 's/@''GNULIB_BIND''@/$(GL_GNULIB_BIND)/g' \
2272               -e 's/@''GNULIB_GETPEERNAME''@/$(GL_GNULIB_GETPEERNAME)/g' \
2273               -e 's/@''GNULIB_GETSOCKNAME''@/$(GL_GNULIB_GETSOCKNAME)/g' \
2274               -e 's/@''GNULIB_GETSOCKOPT''@/$(GL_GNULIB_GETSOCKOPT)/g' \
2275               -e 's/@''GNULIB_LISTEN''@/$(GL_GNULIB_LISTEN)/g' \
2276               -e 's/@''GNULIB_RECV''@/$(GL_GNULIB_RECV)/g' \
2277               -e 's/@''GNULIB_SEND''@/$(GL_GNULIB_SEND)/g' \
2278               -e 's/@''GNULIB_RECVFROM''@/$(GL_GNULIB_RECVFROM)/g' \
2279               -e 's/@''GNULIB_SENDTO''@/$(GL_GNULIB_SENDTO)/g' \
2280               -e 's/@''GNULIB_SETSOCKOPT''@/$(GL_GNULIB_SETSOCKOPT)/g' \
2281               -e 's/@''GNULIB_SHUTDOWN''@/$(GL_GNULIB_SHUTDOWN)/g' \
2282               -e 's/@''GNULIB_ACCEPT4''@/$(GL_GNULIB_ACCEPT4)/g' \
2283               -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
2284               -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
2285               -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
2286               -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|$(HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY)|g' \
2287               -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
2288               -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
2289               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2290               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2291               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2292               $(srcdir)/sys_socket.in.h > $@-t
2293         $(AM_V_at)mv $@-t $@
2294 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
2295 MOSTLYCLEANDIRS += sys
2297 EXTRA_DIST += sys_socket.in.h
2299 ## end   gnulib module sys_socket
2301 ## begin gnulib module sys_stat
2303 BUILT_SOURCES += sys/stat.h
2305 # We need the following in order to create <sys/stat.h> when the system
2306 # has one that is incomplete.
2307 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2308         $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2309         $(AM_V_at)$(SED_HEADER_STDOUT) \
2310               -e 's|@''GUARD_PREFIX''@|GL|g' \
2311               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2312               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2313               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2314               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
2315               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
2316               -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
2317               -e 's/@''GNULIB_CHMOD''@/$(GL_GNULIB_CHMOD)/g' \
2318               -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \
2319               -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \
2320               -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \
2321               -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \
2322               -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \
2323               -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \
2324               -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \
2325               -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \
2326               -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \
2327               -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \
2328               -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \
2329               -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \
2330               -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \
2331               -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \
2332               -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \
2333               -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \
2334               -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \
2335               -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \
2336               -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \
2337               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
2338               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
2339               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
2340               -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \
2341               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
2342               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
2343               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
2344               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
2345               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
2346               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
2347               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
2348               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
2349               -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \
2350               -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \
2351               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
2352               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
2353               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
2354               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
2355               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
2356               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
2357               -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \
2358               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
2359               -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \
2360               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
2361               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
2362               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2363               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2364               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2365               $(srcdir)/sys_stat.in.h > $@-t
2366         $(AM_V_at)mv $@-t $@
2367 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
2368 MOSTLYCLEANDIRS += sys
2370 EXTRA_DIST += sys_stat.in.h
2372 ## end   gnulib module sys_stat
2374 ## begin gnulib module sys_types
2376 BUILT_SOURCES += sys/types.h
2378 # We need the following in order to create <sys/types.h> when the system
2379 # doesn't have one that works with the given compiler.
2380 sys/types.h: sys_types.in.h $(top_builddir)/config.status
2381         $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2382         $(AM_V_at)$(SED_HEADER_STDOUT) \
2383               -e 's|@''GUARD_PREFIX''@|GL|g' \
2384               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2385               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2386               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2387               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
2388               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2389               -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
2390               $(srcdir)/sys_types.in.h > $@-t
2391         $(AM_V_at)mv $@-t $@
2392 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
2394 EXTRA_DIST += sys_types.in.h
2396 ## end   gnulib module sys_types
2398 ## begin gnulib module sys_uio
2400 BUILT_SOURCES += sys/uio.h
2402 # We need the following in order to create <sys/uio.h> when the system
2403 # doesn't have one that works with the given compiler.
2404 sys/uio.h: sys_uio.in.h $(top_builddir)/config.status
2405         $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
2406         $(AM_V_at)$(SED_HEADER_STDOUT) \
2407               -e 's|@''GUARD_PREFIX''@|GL|g' \
2408               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2409               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2410               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2411               -e 's|@''NEXT_SYS_UIO_H''@|$(NEXT_SYS_UIO_H)|g' \
2412               -e 's|@''HAVE_SYS_UIO_H''@|$(HAVE_SYS_UIO_H)|g' \
2413               $(srcdir)/sys_uio.in.h > $@-t
2414         $(AM_V_at)mv $@-t $@
2415 MOSTLYCLEANFILES += sys/uio.h sys/uio.h-t
2416 MOSTLYCLEANDIRS += sys
2418 EXTRA_DIST += sys_uio.in.h
2420 ## end   gnulib module sys_uio
2422 ## begin gnulib module threadlib
2424 libgnu_a_SOURCES += glthread/threadlib.c
2426 ## end   gnulib module threadlib
2428 ## begin gnulib module time
2430 BUILT_SOURCES += time.h
2432 # We need the following in order to create <time.h> when the system
2433 # doesn't have one that works with the given compiler.
2434 time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2435         $(gl_V_at)$(SED_HEADER_STDOUT) \
2436               -e 's|@''GUARD_PREFIX''@|GL|g' \
2437               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2438               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2439               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2440               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2441               -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \
2442               -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \
2443               -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \
2444               -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \
2445               -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \
2446               -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \
2447               -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \
2448               -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \
2449               -e 's/@''GNULIB_TIMESPEC_GETRES''@/$(GL_GNULIB_TIMESPEC_GETRES)/g' \
2450               -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \
2451               -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \
2452               -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \
2453               -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \
2454               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2455               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2456               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2457               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2458               -e 's|@''HAVE_TIMESPEC_GET''@|$(HAVE_TIMESPEC_GET)|g' \
2459               -e 's|@''HAVE_TIMESPEC_GETRES''@|$(HAVE_TIMESPEC_GETRES)|g' \
2460               -e 's|@''HAVE_TIMEZONE_T''@|$(HAVE_TIMEZONE_T)|g' \
2461               -e 's|@''REPLACE_CTIME''@|$(REPLACE_CTIME)|g' \
2462               -e 's|@''REPLACE_GMTIME''@|$(REPLACE_GMTIME)|g' \
2463               -e 's|@''REPLACE_LOCALTIME''@|$(REPLACE_LOCALTIME)|g' \
2464               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2465               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2466               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2467               -e 's|@''REPLACE_STRFTIME''@|$(REPLACE_STRFTIME)|g' \
2468               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2469               -e 's|@''REPLACE_TZSET''@|$(REPLACE_TZSET)|g' \
2470               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2471               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2472               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2473               -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2474               -e 's|@''TIME_H_DEFINES_TIME_UTC''@|$(TIME_H_DEFINES_TIME_UTC)|g' \
2475               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2476               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2477               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2478               $(srcdir)/time.in.h > $@-t
2479         $(AM_V_at)mv $@-t $@
2480 MOSTLYCLEANFILES += time.h time.h-t
2482 EXTRA_DIST += time.in.h
2484 ## end   gnulib module time
2486 ## begin gnulib module time_r
2488 if GL_COND_OBJ_TIME_R
2489 libgnu_a_SOURCES += time_r.c
2490 endif
2492 ## end   gnulib module time_r
2494 ## begin gnulib module timegm
2496 if GL_COND_OBJ_TIMEGM
2497 libgnu_a_SOURCES += timegm.c
2498 endif
2500 EXTRA_DIST += mktime-internal.h
2502 ## end   gnulib module timegm
2504 ## begin gnulib module unistd
2506 BUILT_SOURCES += unistd.h
2507 libgnu_a_SOURCES += unistd.c
2509 # We need the following in order to create an empty placeholder for
2510 # <unistd.h> when the system doesn't have one.
2511 unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2512         $(gl_V_at)$(SED_HEADER_STDOUT) \
2513               -e 's|@''GUARD_PREFIX''@|GL|g' \
2514               -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2515               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2516               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2517               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2518               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2519               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
2520               -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \
2521               -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \
2522               -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \
2523               -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \
2524               -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \
2525               -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \
2526               -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \
2527               -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \
2528               -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \
2529               -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \
2530               -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \
2531               -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \
2532               -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \
2533               -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \
2534               -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \
2535               -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \
2536               -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \
2537               -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \
2538               -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \
2539               -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \
2540               -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \
2541               -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \
2542               -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \
2543               -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \
2544               -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \
2545               -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \
2546               -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \
2547               -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \
2548               -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \
2549               -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \
2550               -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \
2551               -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \
2552               -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \
2553               -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \
2554               -e 's/@''GNULIB_GETPASS_GNU''@/$(GL_GNULIB_GETPASS_GNU)/g' \
2555               -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \
2556               -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \
2557               -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \
2558               -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \
2559               -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \
2560               -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \
2561               -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \
2562               -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \
2563               -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \
2564               -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \
2565               -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \
2566               -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \
2567               -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \
2568               -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \
2569               -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \
2570               -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \
2571               -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \
2572               -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \
2573               -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \
2574               -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \
2575               -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \
2576               -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \
2577               -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \
2578               -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \
2579               -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \
2580               -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \
2581               -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \
2582               -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \
2583               -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \
2584               -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \
2585               -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \
2586               -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \
2587               -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \
2588               -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \
2589               -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \
2590               -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \
2591               -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \
2592               -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \
2593               -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \
2594               -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \
2595               -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \
2596               -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \
2597               -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \
2598               -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \
2599               -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \
2600               -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \
2601               -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \
2602               -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \
2603               -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \
2604               < $(srcdir)/unistd.in.h | \
2605           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2606               -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \
2607               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2608               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2609               -e 's|@''HAVE_EXECVPE''@|$(HAVE_EXECVPE)|g' \
2610               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2611               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2612               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2613               -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \
2614               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2615               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2616               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2617               -e 's|@''HAVE_GETENTROPY''@|$(HAVE_GETENTROPY)|g' \
2618               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2619               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2620               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2621               -e 's|@''HAVE_GETPASS''@|$(HAVE_GETPASS)|g' \
2622               -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \
2623               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2624               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2625               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2626               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2627               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2628               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2629               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2630               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2631               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2632               -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \
2633               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2634               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2635               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2636               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2637               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2638               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2639               -e 's|@''HAVE_DECL_EXECVPE''@|$(HAVE_DECL_EXECVPE)|g' \
2640               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2641               -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \
2642               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2643               -e 's|@''HAVE_DECL_GETLOGIN''@|$(HAVE_DECL_GETLOGIN)|g' \
2644               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2645               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2646               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2647               -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \
2648               -e 's|@''HAVE_DECL_TRUNCATE''@|$(HAVE_DECL_TRUNCATE)|g' \
2649               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2650               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2651               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2652           | \
2653           sed -e 's|@''REPLACE_ACCESS''@|$(REPLACE_ACCESS)|g' \
2654               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2655               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2656               -e 's|@''REPLACE_COPY_FILE_RANGE''@|$(REPLACE_COPY_FILE_RANGE)|g' \
2657               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2658               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2659               -e 's|@''REPLACE_EXECL''@|$(REPLACE_EXECL)|g' \
2660               -e 's|@''REPLACE_EXECLE''@|$(REPLACE_EXECLE)|g' \
2661               -e 's|@''REPLACE_EXECLP''@|$(REPLACE_EXECLP)|g' \
2662               -e 's|@''REPLACE_EXECV''@|$(REPLACE_EXECV)|g' \
2663               -e 's|@''REPLACE_EXECVE''@|$(REPLACE_EXECVE)|g' \
2664               -e 's|@''REPLACE_EXECVP''@|$(REPLACE_EXECVP)|g' \
2665               -e 's|@''REPLACE_EXECVPE''@|$(REPLACE_EXECVPE)|g' \
2666               -e 's|@''REPLACE_FACCESSAT''@|$(REPLACE_FACCESSAT)|g' \
2667               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2668               -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \
2669               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2670               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2671               -e 's|@''REPLACE_GETDTABLESIZE''@|$(REPLACE_GETDTABLESIZE)|g' \
2672               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2673               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2674               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2675               -e 's|@''REPLACE_GETPASS''@|$(REPLACE_GETPASS)|g' \
2676               -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|$(REPLACE_GETPASS_FOR_GETPASS_GNU)|g' \
2677               -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \
2678               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2679               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2680               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2681               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2682               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2683               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2684               -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \
2685               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2686               -e 's|@''REPLACE_READLINKAT''@|$(REPLACE_READLINKAT)|g' \
2687               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2688               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2689               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2690               -e 's|@''REPLACE_SYMLINKAT''@|$(REPLACE_SYMLINKAT)|g' \
2691               -e 's|@''REPLACE_TRUNCATE''@|$(REPLACE_TRUNCATE)|g' \
2692               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2693               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2694               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2695               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2696               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2697               -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|$(UNISTD_H_HAVE_SYS_RANDOM_H)|g' \
2698               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2699               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2700               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2701               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2702               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2703               > $@-t
2704         $(AM_V_at)mv $@-t $@
2705 MOSTLYCLEANFILES += unistd.h unistd.h-t
2707 EXTRA_DIST += unistd.in.h
2709 ## end   gnulib module unistd
2711 ## begin gnulib module unlocked-io-internal
2714 EXTRA_DIST += unlocked-io.h
2716 ## end   gnulib module unlocked-io-internal
2718 ## begin gnulib module unsetenv
2720 if GL_COND_OBJ_UNSETENV
2721 libgnu_a_SOURCES += unsetenv.c
2722 endif
2724 ## end   gnulib module unsetenv
2726 ## begin gnulib module vasnprintf
2729 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2731 EXTRA_libgnu_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2733 ## end   gnulib module vasnprintf
2735 ## begin gnulib module vasprintf
2738 EXTRA_DIST += asprintf.c vasprintf.c
2740 EXTRA_libgnu_a_SOURCES += asprintf.c vasprintf.c
2742 ## end   gnulib module vasprintf
2744 ## begin gnulib module verify
2747 EXTRA_DIST += verify.h
2749 ## end   gnulib module verify
2751 ## begin gnulib module vsnprintf
2754 EXTRA_DIST += vsnprintf.c
2756 EXTRA_libgnu_a_SOURCES += vsnprintf.c
2758 ## end   gnulib module vsnprintf
2760 ## begin gnulib module wchar
2762 BUILT_SOURCES += wchar.h
2764 # We need the following in order to create <wchar.h> when the system
2765 # version does not work standalone.
2766 wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2767         $(gl_V_at)$(SED_HEADER_STDOUT) \
2768               -e 's|@''GUARD_PREFIX''@|GL|g' \
2769               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2770               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2771               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2772               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2773               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2774               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2775               -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
2776               -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
2777               -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \
2778               -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \
2779               -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \
2780               -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \
2781               -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \
2782               -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \
2783               -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \
2784               -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \
2785               -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \
2786               -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \
2787               -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \
2788               -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \
2789               -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \
2790               -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \
2791               -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \
2792               -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \
2793               -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \
2794               -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \
2795               -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \
2796               -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \
2797               -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \
2798               -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \
2799               -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \
2800               -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \
2801               -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \
2802               -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \
2803               -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \
2804               -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \
2805               -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \
2806               -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \
2807               -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \
2808               -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \
2809               -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \
2810               -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \
2811               -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \
2812               -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \
2813               -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \
2814               -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \
2815               -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \
2816               -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \
2817               -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \
2818               -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \
2819               -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \
2820               < $(srcdir)/wchar.in.h | \
2821           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2822               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2823               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2824               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2825               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2826               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2827               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2828               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2829               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2830               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2831               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2832               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2833               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2834               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2835               -e 's|@''HAVE_WMEMPCPY''@|$(HAVE_WMEMPCPY)|g' \
2836               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2837               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2838               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2839               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2840               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2841               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2842               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2843               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2844               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2845               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2846               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2847               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2848               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2849               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2850               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2851               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2852               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2853               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2854               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2855               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2856               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2857               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2858               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2859               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2860               -e 's|@''HAVE_WCSFTIME''@|$(HAVE_WCSFTIME)|g' \
2861               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2862               -e 's|@''HAVE_DECL_WCSDUP''@|$(HAVE_DECL_WCSDUP)|g' \
2863               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2864           | \
2865           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2866               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2867               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2868               -e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
2869               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2870               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2871               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2872               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2873               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2874               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2875               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2876               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2877               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2878               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2879               -e 's|@''REPLACE_WCSFTIME''@|$(REPLACE_WCSFTIME)|g' \
2880               -e 's|@''REPLACE_WCSTOK''@|$(REPLACE_WCSTOK)|g' \
2881               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2882               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2883               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2884               > $@-t
2885         $(AM_V_at)mv $@-t $@
2886 MOSTLYCLEANFILES += wchar.h wchar.h-t
2888 EXTRA_DIST += wchar.in.h
2890 ## end   gnulib module wchar
2892 ## begin gnulib module wcrtomb
2894 if GL_COND_OBJ_WCRTOMB
2895 libgnu_a_SOURCES += wcrtomb.c
2896 endif
2898 ## end   gnulib module wcrtomb
2900 ## begin gnulib module wctype-h
2902 BUILT_SOURCES += wctype.h
2903 libgnu_a_SOURCES += wctype-h.c
2905 # We need the following in order to create <wctype.h> when the system
2906 # doesn't have one that works with the given compiler.
2907 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
2908         $(gl_V_at)$(SED_HEADER_STDOUT) \
2909               -e 's|@''GUARD_PREFIX''@|GL|g' \
2910               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2911               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2912               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2913               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2914               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2915               -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
2916               -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \
2917               -e 's/@''GNULIB_ISWBLANK''@/$(GL_GNULIB_ISWBLANK)/g' \
2918               -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \
2919               -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \
2920               -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \
2921               -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \
2922               -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \
2923               -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \
2924               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2925               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2926               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2927               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2928               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2929               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2930               -e 's/@''REPLACE_ISWDIGIT''@/$(REPLACE_ISWDIGIT)/g' \
2931               -e 's/@''REPLACE_ISWXDIGIT''@/$(REPLACE_ISWXDIGIT)/g' \
2932               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2933               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
2934               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2935               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2936               $(srcdir)/wctype.in.h > $@-t
2937         $(AM_V_at)mv $@-t $@
2938 MOSTLYCLEANFILES += wctype.h wctype.h-t
2940 EXTRA_DIST += wctype.in.h
2942 ## end   gnulib module wctype-h
2944 ## begin gnulib module windows-mutex
2946 if GL_COND_OBJ_WINDOWS_MUTEX
2947 libgnu_a_SOURCES += windows-mutex.c
2948 endif
2950 EXTRA_DIST += windows-initguard.h windows-mutex.h
2952 ## end   gnulib module windows-mutex
2954 ## begin gnulib module windows-once
2956 if GL_COND_OBJ_WINDOWS_ONCE
2957 libgnu_a_SOURCES += windows-once.c
2958 endif
2960 EXTRA_DIST += windows-once.h
2962 ## end   gnulib module windows-once
2964 ## begin gnulib module windows-recmutex
2966 if GL_COND_OBJ_WINDOWS_RECMUTEX
2967 libgnu_a_SOURCES += windows-recmutex.c
2968 endif
2970 EXTRA_DIST += windows-initguard.h windows-recmutex.h
2972 ## end   gnulib module windows-recmutex
2974 ## begin gnulib module windows-rwlock
2976 if GL_COND_OBJ_WINDOWS_RWLOCK
2977 libgnu_a_SOURCES += windows-rwlock.c
2978 endif
2980 EXTRA_DIST += windows-initguard.h windows-rwlock.h
2982 ## end   gnulib module windows-rwlock
2984 ## begin gnulib module xalloc
2986 libgnu_a_SOURCES += xmalloc.c
2988 EXTRA_DIST += xalloc.h
2990 ## end   gnulib module xalloc
2992 ## begin gnulib module xalloc-die
2994 libgnu_a_SOURCES += xalloc-die.c
2996 EXTRA_DIST += xalloc.h
2998 ## end   gnulib module xalloc-die
3000 ## begin gnulib module xalloc-oversized
3003 EXTRA_DIST += xalloc-oversized.h
3005 ## end   gnulib module xalloc-oversized
3007 ## begin gnulib module xsize
3009 libgnu_a_SOURCES += xsize.h xsize.c
3011 ## end   gnulib module xsize
3014 mostlyclean-local: mostlyclean-generic
3015         @for dir in '' $(MOSTLYCLEANDIRS); do \
3016           if test -n "$$dir" && test -d $$dir; then \
3017             echo "rmdir $$dir"; rmdir $$dir; \
3018           fi; \
3019         done; \
3020         :
3021 distclean-local: distclean-gnulib-libobjs
3022 distclean-gnulib-libobjs:
3023         -rm -f @gl_LIBOBJDEPS@
3024 maintainer-clean-local: distclean-gnulib-libobjs