summaryrefslogtreecommitdiffstats
path: root/gl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gl/Makefile.am')
-rw-r--r--gl/Makefile.am761
1 files changed, 609 insertions, 152 deletions
diff --git a/gl/Makefile.am b/gl/Makefile.am
index 87fe0316..e2dc38b7 100644
--- a/gl/Makefile.am
+++ b/gl/Makefile.am
@@ -1,6 +1,6 @@
1## DO NOT EDIT! GENERATED AUTOMATICALLY! 1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in. 2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2009 Free Software Foundation, Inc. 3# Copyright (C) 2002-2010 Free Software Foundation, Inc.
4# 4#
5# This file is free software, distributed under the terms of the GNU 5# This file is free software, distributed under the terms of the GNU
6# General Public License. As a special exception to the GNU General 6# General Public License. As a special exception to the GNU General
@@ -62,9 +62,10 @@ BUILT_SOURCES += $(ALLOCA_H)
62# We need the following in order to create <alloca.h> when the system 62# We need the following in order to create <alloca.h> when the system
63# doesn't have one that works with the given compiler. 63# doesn't have one that works with the given compiler.
64alloca.h: alloca.in.h 64alloca.h: alloca.in.h
65 $(AM_V_GEN)rm -f $@-t $@ && \
65 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 66 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
66 cat $(srcdir)/alloca.in.h; \ 67 cat $(srcdir)/alloca.in.h; \
67 } > $@-t 68 } > $@-t && \
68 mv -f $@-t $@ 69 mv -f $@-t $@
69MOSTLYCLEANFILES += alloca.h alloca.h-t 70MOSTLYCLEANFILES += alloca.h alloca.h-t
70 71
@@ -72,15 +73,39 @@ EXTRA_DIST += alloca.in.h
72 73
73## end gnulib module alloca-opt 74## end gnulib module alloca-opt
74 75
76## begin gnulib module arg-nonnull
77
78# The BUILT_SOURCES created by this Makefile snippet are not used via #include
79# statements but through direct file reference. Therefore this snippet must be
80# present in all Makefile.am that need it. This is ensured by the applicability
81# 'all' defined above.
82
83BUILT_SOURCES += arg-nonnull.h
84# The arg-nonnull.h that gets inserted into generated .h files is the same as
85# build-aux/arg-nonnull.h, except that it has the copyright header cut off.
86arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
87 $(AM_V_GEN)rm -f $@-t $@ && \
88 sed -n -e '/GL_ARG_NONNULL/,$$p' \
89 < $(top_srcdir)/build-aux/arg-nonnull.h \
90 > $@-t && \
91 mv $@-t $@
92MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
93
94ARG_NONNULL_H=arg-nonnull.h
95
96EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
97
98## end gnulib module arg-nonnull
99
75## begin gnulib module arpa_inet 100## begin gnulib module arpa_inet
76 101
77BUILT_SOURCES += $(ARPA_INET_H) 102BUILT_SOURCES += arpa/inet.h
78 103
79# We need the following in order to create <arpa/inet.h> when the system 104# We need the following in order to create <arpa/inet.h> when the system
80# doesn't have one. 105# doesn't have one.
81arpa/inet.h: arpa_inet.in.h 106arpa/inet.h: arpa_inet.in.h $(WARN_ON_USE_H) $(ARG_NONNULL_H)
82 @MKDIR_P@ arpa 107 $(AM_V_at)$(MKDIR_P) arpa
83 rm -f $@-t $@ 108 $(AM_V_GEN)rm -f $@-t $@ && \
84 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 109 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
85 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 110 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
86 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 111 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -90,9 +115,10 @@ arpa/inet.h: arpa_inet.in.h
90 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \ 115 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \
91 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ 116 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \
92 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ 117 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \
93 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 118 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
119 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
94 < $(srcdir)/arpa_inet.in.h; \ 120 < $(srcdir)/arpa_inet.in.h; \
95 } > $@-t 121 } > $@-t && \
96 mv $@-t $@ 122 mv $@-t $@
97MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t 123MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
98MOSTLYCLEANDIRS += arpa 124MOSTLYCLEANDIRS += arpa
@@ -116,6 +142,30 @@ EXTRA_libgnu_a_SOURCES += btowc.c
116 142
117## end gnulib module btowc 143## end gnulib module btowc
118 144
145## begin gnulib module c++defs
146
147# The BUILT_SOURCES created by this Makefile snippet are not used via #include
148# statements but through direct file reference. Therefore this snippet must be
149# present in all Makefile.am that need it. This is ensured by the applicability
150# 'all' defined above.
151
152BUILT_SOURCES += c++defs.h
153# The c++defs.h that gets inserted into generated .h files is the same as
154# build-aux/c++defs.h, except that it has the copyright header cut off.
155c++defs.h: $(top_srcdir)/build-aux/c++defs.h
156 $(AM_V_GEN)rm -f $@-t $@ && \
157 sed -n -e '/_GL_CXXDEFS/,$$p' \
158 < $(top_srcdir)/build-aux/c++defs.h \
159 > $@-t && \
160 mv $@-t $@
161MOSTLYCLEANFILES += c++defs.h c++defs.h-t
162
163CXXDEFS_H=c++defs.h
164
165EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
166
167## end gnulib module c++defs
168
119## begin gnulib module c-strtod 169## begin gnulib module c-strtod
120 170
121 171
@@ -134,6 +184,14 @@ EXTRA_libgnu_a_SOURCES += cloexec.c
134 184
135## end gnulib module cloexec 185## end gnulib module cloexec
136 186
187## begin gnulib module close-hook
188
189libgnu_a_SOURCES += close-hook.c
190
191EXTRA_DIST += close-hook.h
192
193## end gnulib module close-hook
194
137## begin gnulib module configmake 195## begin gnulib module configmake
138 196
139# Retrieve values of the variables through 'configure' followed by 197# Retrieve values of the variables through 'configure' followed by
@@ -154,7 +212,7 @@ EXTRA_libgnu_a_SOURCES += cloexec.c
154# The Automake-defined pkg* macros are appended, in the order 212# The Automake-defined pkg* macros are appended, in the order
155# listed in the Automake 1.10a+ documentation. 213# listed in the Automake 1.10a+ documentation.
156configmake.h: Makefile 214configmake.h: Makefile
157 rm -f $@-t 215 $(AM_V_GEN)rm -f $@-t && \
158 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 216 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
159 echo '#define PREFIX "$(prefix)"'; \ 217 echo '#define PREFIX "$(prefix)"'; \
160 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \ 218 echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
@@ -183,7 +241,7 @@ configmake.h: Makefile
183 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \ 241 echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
184 echo '#define PKGLIBDIR "$(pkglibdir)"'; \ 242 echo '#define PKGLIBDIR "$(pkglibdir)"'; \
185 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \ 243 echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
186 } | sed '/""/d' > $@-t 244 } | sed '/""/d' > $@-t && \
187 if test -f $@ && cmp $@-t $@ > /dev/null; then \ 245 if test -f $@ && cmp $@-t $@ > /dev/null; then \
188 rm -f $@-t; \ 246 rm -f $@-t; \
189 else \ 247 else \
@@ -198,12 +256,30 @@ CLEANFILES += configmake.h configmake.h-t
198## begin gnulib module dirname 256## begin gnulib module dirname
199 257
200 258
201EXTRA_DIST += basename.c dirname.c dirname.h stripslash.c 259EXTRA_DIST += basename.c dirname.c stripslash.c
202 260
203EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c 261EXTRA_libgnu_a_SOURCES += basename.c dirname.c stripslash.c
204 262
205## end gnulib module dirname 263## end gnulib module dirname
206 264
265## begin gnulib module dirname-lgpl
266
267
268EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
269
270EXTRA_libgnu_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
271
272## end gnulib module dirname-lgpl
273
274## begin gnulib module dup2
275
276
277EXTRA_DIST += dup2.c
278
279EXTRA_libgnu_a_SOURCES += dup2.c
280
281## end gnulib module dup2
282
207## begin gnulib module errno 283## begin gnulib module errno
208 284
209BUILT_SOURCES += $(ERRNO_H) 285BUILT_SOURCES += $(ERRNO_H)
@@ -211,7 +287,7 @@ BUILT_SOURCES += $(ERRNO_H)
211# We need the following in order to create <errno.h> when the system 287# We need the following in order to create <errno.h> when the system
212# doesn't have one that is POSIX compliant. 288# doesn't have one that is POSIX compliant.
213errno.h: errno.in.h 289errno.h: errno.in.h
214 rm -f $@-t $@ 290 $(AM_V_GEN)rm -f $@-t $@ && \
215 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 291 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
216 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 292 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
217 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 293 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -223,7 +299,7 @@ errno.h: errno.in.h
223 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ 299 -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
224 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ 300 -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
225 < $(srcdir)/errno.in.h; \ 301 < $(srcdir)/errno.in.h; \
226 } > $@-t 302 } > $@-t && \
227 mv $@-t $@ 303 mv $@-t $@
228MOSTLYCLEANFILES += errno.h errno.h-t 304MOSTLYCLEANFILES += errno.h errno.h-t
229 305
@@ -242,35 +318,52 @@ EXTRA_libgnu_a_SOURCES += error.c
242 318
243## begin gnulib module exitfail 319## begin gnulib module exitfail
244 320
321libgnu_a_SOURCES += exitfail.c
245 322
246EXTRA_DIST += exitfail.c exitfail.h 323EXTRA_DIST += exitfail.h
247
248EXTRA_libgnu_a_SOURCES += exitfail.c
249 324
250## end gnulib module exitfail 325## end gnulib module exitfail
251 326
252## begin gnulib module fcntl 327## begin gnulib module fcntl
253 328
254BUILT_SOURCES += $(FCNTL_H) 329
330EXTRA_DIST += fcntl.c
331
332EXTRA_libgnu_a_SOURCES += fcntl.c
333
334## end gnulib module fcntl
335
336## begin gnulib module fcntl-h
337
338BUILT_SOURCES += fcntl.h
255 339
256# We need the following in order to create <fcntl.h> when the system 340# We need the following in order to create <fcntl.h> when the system
257# doesn't have one that works with the given compiler. 341# doesn't have one that works with the given compiler.
258fcntl.h: fcntl.in.h 342fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
259 rm -f $@-t $@ 343 $(AM_V_GEN)rm -f $@-t $@ && \
260 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 344 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
261 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 345 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
262 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 346 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
263 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ 347 -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
348 -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
264 -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \ 349 -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
350 -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
351 -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
352 -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
353 -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
265 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ 354 -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
355 -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
356 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
357 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
358 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
266 < $(srcdir)/fcntl.in.h; \ 359 < $(srcdir)/fcntl.in.h; \
267 } > $@-t 360 } > $@-t && \
268 mv $@-t $@ 361 mv $@-t $@
269MOSTLYCLEANFILES += fcntl.h fcntl.h-t 362MOSTLYCLEANFILES += fcntl.h fcntl.h-t
270 363
271EXTRA_DIST += fcntl.in.h 364EXTRA_DIST += fcntl.in.h
272 365
273## end gnulib module fcntl 366## end gnulib module fcntl-h
274 367
275## begin gnulib module fcntl-safer 368## begin gnulib module fcntl-safer
276 369
@@ -288,13 +381,13 @@ BUILT_SOURCES += $(FLOAT_H)
288# We need the following in order to create <float.h> when the system 381# We need the following in order to create <float.h> when the system
289# doesn't have one that works with the given compiler. 382# doesn't have one that works with the given compiler.
290float.h: float.in.h 383float.h: float.in.h
291 rm -f $@-t $@ 384 $(AM_V_GEN)rm -f $@-t $@ && \
292 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 385 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
293 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 386 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
294 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 387 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
295 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ 388 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
296 < $(srcdir)/float.in.h; \ 389 < $(srcdir)/float.in.h; \
297 } > $@-t 390 } > $@-t && \
298 mv $@-t $@ 391 mv $@-t $@
299MOSTLYCLEANFILES += float.h float.h-t 392MOSTLYCLEANFILES += float.h float.h-t
300 393
@@ -341,10 +434,19 @@ EXTRA_libgnu_a_SOURCES += gai_strerror.c getaddrinfo.c
341 434
342## end gnulib module getaddrinfo 435## end gnulib module getaddrinfo
343 436
437## begin gnulib module getdtablesize
438
439
440EXTRA_DIST += getdtablesize.c
441
442EXTRA_libgnu_a_SOURCES += getdtablesize.c
443
444## end gnulib module getdtablesize
445
344## begin gnulib module gethostname 446## begin gnulib module gethostname
345 447
346 448
347EXTRA_DIST += gethostname.c 449EXTRA_DIST += gethostname.c w32sock.h
348 450
349EXTRA_libgnu_a_SOURCES += gethostname.c 451EXTRA_libgnu_a_SOURCES += gethostname.c
350 452
@@ -359,16 +461,22 @@ EXTRA_libgnu_a_SOURCES += getloadavg.c
359 461
360## end gnulib module getloadavg 462## end gnulib module getloadavg
361 463
362## begin gnulib module getopt 464## begin gnulib module getopt-posix
363 465
364BUILT_SOURCES += $(GETOPT_H) 466BUILT_SOURCES += $(GETOPT_H)
365 467
366# We need the following in order to create <getopt.h> when the system 468# We need the following in order to create <getopt.h> when the system
367# doesn't have one that works with the given compiler. 469# doesn't have one that works with the given compiler.
368getopt.h: getopt.in.h 470getopt.h: getopt.in.h $(ARG_NONNULL_H)
471 $(AM_V_GEN)rm -f $@-t $@ && \
369 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 472 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
370 cat $(srcdir)/getopt.in.h; \ 473 sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
371 } > $@-t 474 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
475 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
476 -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
477 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
478 < $(srcdir)/getopt.in.h; \
479 } > $@-t && \
372 mv -f $@-t $@ 480 mv -f $@-t $@
373MOSTLYCLEANFILES += getopt.h getopt.h-t 481MOSTLYCLEANFILES += getopt.h getopt.h-t
374 482
@@ -376,7 +484,7 @@ EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
376 484
377EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c 485EXTRA_libgnu_a_SOURCES += getopt.c getopt1.c
378 486
379## end gnulib module getopt 487## end gnulib module getopt-posix
380 488
381## begin gnulib module gettext 489## begin gnulib module gettext
382 490
@@ -423,13 +531,34 @@ EXTRA_DIST += intprops.h
423 531
424## end gnulib module intprops 532## end gnulib module intprops
425 533
426## begin gnulib module link-warning 534## begin gnulib module langinfo
427 535
428LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h 536BUILT_SOURCES += langinfo.h
429 537
430EXTRA_DIST += $(top_srcdir)/build-aux/link-warning.h 538# We need the following in order to create an empty placeholder for
539# <langinfo.h> when the system doesn't have one.
540langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
541 $(AM_V_GEN)rm -f $@-t $@ && \
542 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
543 sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
544 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
545 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
546 -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
547 -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
548 -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
549 -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
550 -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
551 -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
552 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
553 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
554 < $(srcdir)/langinfo.in.h; \
555 } > $@-t && \
556 mv $@-t $@
557MOSTLYCLEANFILES += langinfo.h langinfo.h-t
558
559EXTRA_DIST += langinfo.in.h
431 560
432## end gnulib module link-warning 561## end gnulib module langinfo
433 562
434## begin gnulib module localcharset 563## begin gnulib module localcharset
435 564
@@ -489,14 +618,14 @@ uninstall-localcharset: all-local
489 fi 618 fi
490 619
491charset.alias: config.charset 620charset.alias: config.charset
492 rm -f t-$@ $@ 621 $(AM_V_GEN)rm -f t-$@ $@ && \
493 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ 622 $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
494 mv t-$@ $@ 623 mv t-$@ $@
495 624
496SUFFIXES += .sed .sin 625SUFFIXES += .sed .sin
497.sin.sed: 626.sin.sed:
498 rm -f t-$@ $@ 627 $(AM_V_GEN)rm -f t-$@ $@ && \
499 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ 628 sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
500 mv t-$@ $@ 629 mv t-$@ $@
501 630
502CLEANFILES += charset.alias ref-add.sed ref-del.sed 631CLEANFILES += charset.alias ref-add.sed ref-del.sed
@@ -505,6 +634,34 @@ EXTRA_DIST += config.charset ref-add.sin ref-del.sin
505 634
506## end gnulib module localcharset 635## end gnulib module localcharset
507 636
637## begin gnulib module locale
638
639BUILT_SOURCES += locale.h
640
641# We need the following in order to create <locale.h> when the system
642# doesn't have one that provides all definitions.
643locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
644 $(AM_V_GEN)rm -f $@-t $@ && \
645 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
646 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
647 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
648 -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
649 -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
650 -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
651 -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
652 -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
653 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
654 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
655 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
656 < $(srcdir)/locale.in.h; \
657 } > $@-t && \
658 mv $@-t $@
659MOSTLYCLEANFILES += locale.h locale.h-t
660
661EXTRA_DIST += locale.in.h
662
663## end gnulib module locale
664
508## begin gnulib module malloc 665## begin gnulib module malloc
509 666
510 667
@@ -529,14 +686,19 @@ BUILT_SOURCES += math.h
529 686
530# We need the following in order to create <math.h> when the system 687# We need the following in order to create <math.h> when the system
531# doesn't have one that works with the given compiler. 688# doesn't have one that works with the given compiler.
532math.h: math.in.h 689math.h: math.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
533 rm -f $@-t $@ 690 $(AM_V_GEN)rm -f $@-t $@ && \
534 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 691 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
535 sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ 692 sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
536 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 693 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
537 -e 's|@''NEXT_MATH_H''@|$(NEXT_MATH_H)|g' \ 694 -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
695 -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \
696 -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \
697 -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \
538 -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \ 698 -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
539 -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \ 699 -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
700 -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \
701 -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \
540 -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \ 702 -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
541 -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \ 703 -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
542 -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \ 704 -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
@@ -548,30 +710,52 @@ math.h: math.in.h
548 -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \ 710 -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
549 -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \ 711 -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
550 -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \ 712 -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
551 -e 's|@''GNULIB_MATHL''@|$(GNULIB_MATHL)|g' \ 713 -e 's|@''GNULIB_LOGB''@|$(GNULIB_LOGB)|g' \
714 -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \
552 -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \ 715 -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
553 -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \ 716 -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
554 -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \ 717 -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
555 -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \ 718 -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
719 -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \
720 -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \
721 -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \
556 -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \ 722 -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
557 -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \ 723 -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
558 -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \ 724 -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
725 -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
726 -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
727 -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
728 -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
729 -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
559 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \ 730 -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
560 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \ 731 -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
561 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \ 732 -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
733 -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
734 -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
735 -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
736 -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
562 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \ 737 -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
563 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \ 738 -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
564 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \ 739 -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
740 -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
741 -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
565 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \ 742 -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
566 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \ 743 -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
744 -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
745 -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
567 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \ 746 -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
568 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \ 747 -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
748 -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
569 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \ 749 -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
750 -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
751 -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
752 -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
570 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \ 753 -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
571 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \ 754 -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
572 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \ 755 -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
573 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \ 756 -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
574 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \ 757 -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
758 -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
575 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \ 759 -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
576 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \ 760 -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
577 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \ 761 -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
@@ -590,9 +774,11 @@ math.h: math.in.h
590 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \ 774 -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
591 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \ 775 -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
592 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \ 776 -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
593 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 777 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
778 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
779 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
594 < $(srcdir)/math.in.h; \ 780 < $(srcdir)/math.in.h; \
595 } > $@-t 781 } > $@-t && \
596 mv $@-t $@ 782 mv $@-t $@
597MOSTLYCLEANFILES += math.h math.h-t 783MOSTLYCLEANFILES += math.h math.h-t
598 784
@@ -618,10 +804,19 @@ EXTRA_libgnu_a_SOURCES += mbsinit.c
618 804
619## end gnulib module mbsinit 805## end gnulib module mbsinit
620 806
807## begin gnulib module memchr
808
809
810EXTRA_DIST += memchr.c memchr.valgrind
811
812EXTRA_libgnu_a_SOURCES += memchr.c
813
814## end gnulib module memchr
815
621## begin gnulib module mktime 816## begin gnulib module mktime
622 817
623 818
624EXTRA_DIST += mktime.c 819EXTRA_DIST += mktime-internal.h mktime.c
625 820
626EXTRA_libgnu_a_SOURCES += mktime.c 821EXTRA_libgnu_a_SOURCES += mktime.c
627 822
@@ -642,8 +837,8 @@ BUILT_SOURCES += $(NETDB_H)
642 837
643# We need the following in order to create <netdb.h> when the system 838# We need the following in order to create <netdb.h> when the system
644# doesn't have one that works with the given compiler. 839# doesn't have one that works with the given compiler.
645netdb.h: netdb.in.h 840netdb.h: netdb.in.h $(ARG_NONNULL_H)
646 rm -f $@-t $@ 841 $(AM_V_GEN)rm -f $@-t $@ && \
647 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 842 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
648 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 843 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
649 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 844 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -655,8 +850,9 @@ netdb.h: netdb.in.h
655 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \ 850 -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \
656 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \ 851 -e 's|@''HAVE_DECL_GETADDRINFO''@|$(HAVE_DECL_GETADDRINFO)|g' \
657 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \ 852 -e 's|@''HAVE_DECL_GETNAMEINFO''@|$(HAVE_DECL_GETNAMEINFO)|g' \
853 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
658 < $(srcdir)/netdb.in.h; \ 854 < $(srcdir)/netdb.in.h; \
659 } > $@-t 855 } > $@-t && \
660 mv $@-t $@ 856 mv $@-t $@
661MOSTLYCLEANFILES += netdb.h netdb.h-t 857MOSTLYCLEANFILES += netdb.h netdb.h-t
662 858
@@ -671,15 +867,15 @@ BUILT_SOURCES += $(NETINET_IN_H)
671# We need the following in order to create <netinet/in.h> when the system 867# We need the following in order to create <netinet/in.h> when the system
672# doesn't have one. 868# doesn't have one.
673netinet/in.h: netinet_in.in.h 869netinet/in.h: netinet_in.in.h
674 @MKDIR_P@ netinet 870 $(AM_V_at)$(MKDIR_P) netinet
675 rm -f $@-t $@ 871 $(AM_V_GEN)rm -f $@-t $@ && \
676 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 872 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
677 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 873 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
678 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 874 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
679 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ 875 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \
680 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ 876 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \
681 < $(srcdir)/netinet_in.in.h; \ 877 < $(srcdir)/netinet_in.in.h; \
682 } > $@-t 878 } > $@-t && \
683 mv $@-t $@ 879 mv $@-t $@
684MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t 880MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
685MOSTLYCLEANDIRS += netinet 881MOSTLYCLEANDIRS += netinet
@@ -688,6 +884,15 @@ EXTRA_DIST += netinet_in.in.h
688 884
689## end gnulib module netinet_in 885## end gnulib module netinet_in
690 886
887## begin gnulib module nl_langinfo
888
889
890EXTRA_DIST += nl_langinfo.c
891
892EXTRA_libgnu_a_SOURCES += nl_langinfo.c
893
894## end gnulib module nl_langinfo
895
691## begin gnulib module open 896## begin gnulib module open
692 897
693 898
@@ -739,6 +944,23 @@ EXTRA_libgnu_a_SOURCES += snprintf.c
739 944
740## end gnulib module snprintf 945## end gnulib module snprintf
741 946
947## begin gnulib module sockets
948
949libgnu_a_SOURCES += sockets.h sockets.c
950
951EXTRA_DIST += w32sock.h
952
953## end gnulib module sockets
954
955## begin gnulib module stat
956
957
958EXTRA_DIST += stat.c
959
960EXTRA_libgnu_a_SOURCES += stat.c
961
962## end gnulib module stat
963
742## begin gnulib module stdbool 964## begin gnulib module stdbool
743 965
744BUILT_SOURCES += $(STDBOOL_H) 966BUILT_SOURCES += $(STDBOOL_H)
@@ -746,10 +968,10 @@ BUILT_SOURCES += $(STDBOOL_H)
746# We need the following in order to create <stdbool.h> when the system 968# We need the following in order to create <stdbool.h> when the system
747# doesn't have one that works. 969# doesn't have one that works.
748stdbool.h: stdbool.in.h 970stdbool.h: stdbool.in.h
749 rm -f $@-t $@ 971 $(AM_V_GEN)rm -f $@-t $@ && \
750 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 972 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
751 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ 973 sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
752 } > $@-t 974 } > $@-t && \
753 mv $@-t $@ 975 mv $@-t $@
754MOSTLYCLEANFILES += stdbool.h stdbool.h-t 976MOSTLYCLEANFILES += stdbool.h stdbool.h-t
755 977
@@ -757,6 +979,29 @@ EXTRA_DIST += stdbool.in.h
757 979
758## end gnulib module stdbool 980## end gnulib module stdbool
759 981
982## begin gnulib module stddef
983
984BUILT_SOURCES += $(STDDEF_H)
985
986# We need the following in order to create <stddef.h> when the system
987# doesn't have one that works with the given compiler.
988stddef.h: stddef.in.h
989 $(AM_V_GEN)rm -f $@-t $@ && \
990 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
991 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
992 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
993 -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
994 -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
995 -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
996 < $(srcdir)/stddef.in.h; \
997 } > $@-t && \
998 mv $@-t $@
999MOSTLYCLEANFILES += stddef.h stddef.h-t
1000
1001EXTRA_DIST += stddef.in.h
1002
1003## end gnulib module stddef
1004
760## begin gnulib module stdint 1005## begin gnulib module stdint
761 1006
762BUILT_SOURCES += $(STDINT_H) 1007BUILT_SOURCES += $(STDINT_H)
@@ -764,7 +1009,7 @@ BUILT_SOURCES += $(STDINT_H)
764# We need the following in order to create <stdint.h> when the system 1009# We need the following in order to create <stdint.h> when the system
765# doesn't have one that works with the given compiler. 1010# doesn't have one that works with the given compiler.
766stdint.h: stdint.in.h 1011stdint.h: stdint.in.h
767 rm -f $@-t $@ 1012 $(AM_V_GEN)rm -f $@-t $@ && \
768 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1013 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
769 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ 1014 sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
770 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1015 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -791,7 +1036,7 @@ stdint.h: stdint.in.h
791 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ 1036 -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
792 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ 1037 -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
793 < $(srcdir)/stdint.in.h; \ 1038 < $(srcdir)/stdint.in.h; \
794 } > $@-t 1039 } > $@-t && \
795 mv $@-t $@ 1040 mv $@-t $@
796MOSTLYCLEANFILES += stdint.h stdint.h-t 1041MOSTLYCLEANFILES += stdint.h stdint.h-t
797 1042
@@ -805,81 +1050,100 @@ BUILT_SOURCES += stdio.h
805 1050
806# We need the following in order to create <stdio.h> when the system 1051# We need the following in order to create <stdio.h> when the system
807# doesn't have one that works with the given compiler. 1052# doesn't have one that works with the given compiler.
808stdio.h: stdio.in.h 1053stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
809 rm -f $@-t $@ 1054 $(AM_V_GEN)rm -f $@-t $@ && \
810 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1055 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
811 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1056 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
812 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1057 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
813 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ 1058 -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
814 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
815 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
816 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
817 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
818 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
819 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
820 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
821 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
822 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
823 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
824 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
825 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
826 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \ 1059 -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
827 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \ 1060 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
828 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \ 1061 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
829 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
830 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
831 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \ 1062 -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
1063 -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
1064 -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1065 -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
1066 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
1067 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
832 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \ 1068 -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
833 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \ 1069 -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
834 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \ 1070 -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
835 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \ 1071 -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
836 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \ 1072 -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
837 -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
838 -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
839 -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
840 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
841 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
842 -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
843 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
844 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \ 1073 -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
845 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \ 1074 -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
846 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \ 1075 -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
1076 -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1077 -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
847 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \ 1078 -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
1079 -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1080 -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1081 -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1082 -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1083 -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1084 -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1085 -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1086 -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1087 -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1088 -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1089 -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
848 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \ 1090 -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
849 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ 1091 -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
850 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ 1092 -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
851 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ 1093 -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
852 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ 1094 -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
853 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ 1095 -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
854 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ 1096 -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1097 -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1098 -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1099 -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
1100 < $(srcdir)/stdio.in.h | \
1101 sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1102 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1103 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1104 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
855 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ 1105 -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
856 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
857 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ 1106 -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
858 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
859 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
860 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ 1107 -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
861 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ 1108 -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
862 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ 1109 -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
863 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ 1110 -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
864 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ 1111 -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
865 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ 1112 -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
866 -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ 1113 -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
867 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ 1114 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1115 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
868 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ 1116 -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1117 -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1118 -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
869 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ 1119 -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
870 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
871 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ 1120 -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
872 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ 1121 -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
873 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ 1122 -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
874 -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ 1123 -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
875 -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ 1124 -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
876 -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
877 -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
878 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ 1125 -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1126 -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
879 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ 1127 -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
880 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 1128 -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
881 < $(srcdir)/stdio.in.h; \ 1129 -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
882 } > $@-t 1130 -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1131 -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1132 -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1133 -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1134 -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1135 -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1136 -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1137 -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1138 -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1139 -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1140 -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1141 -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1142 -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1143 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1144 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1145 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1146 } > $@-t && \
883 mv $@-t $@ 1147 mv $@-t $@
884MOSTLYCLEANFILES += stdio.h stdio.h-t 1148MOSTLYCLEANFILES += stdio.h stdio.h-t
885 1149
@@ -895,36 +1159,53 @@ BUILT_SOURCES += stdlib.h
895 1159
896# We need the following in order to create <stdlib.h> when the system 1160# We need the following in order to create <stdlib.h> when the system
897# doesn't have one that works with the given compiler. 1161# doesn't have one that works with the given compiler.
898stdlib.h: stdlib.in.h 1162stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
899 rm -f $@-t $@ 1163 $(AM_V_GEN)rm -f $@-t $@ && \
900 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1164 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
901 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1165 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
902 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1166 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
903 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ 1167 -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
904 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
905 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
906 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
907 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
908 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \ 1168 -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1169 -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1170 -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
909 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \ 1171 -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
910 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \ 1172 -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1173 -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
1174 -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
911 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \ 1175 -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1176 -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1177 -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
912 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \ 1178 -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1179 -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
1180 -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
913 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \ 1181 -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
914 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \ 1182 -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1183 -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1184 -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
915 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \ 1185 -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
916 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \ 1186 -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
917 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \ 1187 -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
918 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \ 1188 -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
919 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \ 1189 -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1190 -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
920 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ 1191 -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
921 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ 1192 -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
922 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \ 1193 -e 's|@''HAVE_CALLOC_POSIX''@|$(HAVE_CALLOC_POSIX)|g' \
1194 -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1195 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
923 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ 1196 -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1197 -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
924 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \ 1198 -e 's|@''HAVE_MALLOC_POSIX''@|$(HAVE_MALLOC_POSIX)|g' \
925 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ 1199 -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
926 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \ 1200 -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1201 -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1202 -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1203 -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1204 -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1205 -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
927 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ 1206 -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1207 -e 's|@''HAVE_REALLOC_POSIX''@|$(HAVE_REALLOC_POSIX)|g' \
1208 -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
928 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ 1209 -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
929 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \ 1210 -e 's|@''HAVE_SETENV''@|$(HAVE_SETENV)|g' \
930 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ 1211 -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
@@ -932,15 +1213,20 @@ stdlib.h: stdlib.in.h
932 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ 1213 -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
933 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ 1214 -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
934 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ 1215 -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1216 -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
935 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \ 1217 -e 's|@''HAVE_UNSETENV''@|$(HAVE_UNSETENV)|g' \
936 -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ 1218 -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
937 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ 1219 -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
938 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ 1220 -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1221 -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1222 -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
939 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ 1223 -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
940 -e 's|@''VOID_UNSETENV''@|$(VOID_UNSETENV)|g' \ 1224 -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
941 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 1225 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1226 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1227 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
942 < $(srcdir)/stdlib.in.h; \ 1228 < $(srcdir)/stdlib.in.h; \
943 } > $@-t 1229 } > $@-t && \
944 mv $@-t $@ 1230 mv $@-t $@
945MOSTLYCLEANFILES += stdlib.h stdlib.h-t 1231MOSTLYCLEANFILES += stdlib.h stdlib.h-t
946 1232
@@ -979,8 +1265,8 @@ BUILT_SOURCES += string.h
979 1265
980# We need the following in order to create <string.h> when the system 1266# We need the following in order to create <string.h> when the system
981# doesn't have one that works with the given compiler. 1267# doesn't have one that works with the given compiler.
982string.h: string.in.h 1268string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
983 rm -f $@-t $@ 1269 $(AM_V_GEN)rm -f $@-t $@ && \
984 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1270 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
985 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1271 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
986 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1272 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -999,6 +1285,7 @@ string.h: string.in.h
999 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \ 1285 -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1000 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \ 1286 -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1001 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \ 1287 -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1288 -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1002 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \ 1289 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1003 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \ 1290 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1004 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \ 1291 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
@@ -1007,6 +1294,7 @@ string.h: string.in.h
1007 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \ 1294 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1008 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \ 1295 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1009 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \ 1296 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1297 -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
1010 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \ 1298 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1011 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \ 1299 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1012 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \ 1300 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
@@ -1017,6 +1305,9 @@ string.h: string.in.h
1017 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \ 1305 -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1018 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \ 1306 -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1019 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \ 1307 -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1308 < $(srcdir)/string.in.h | \
1309 sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1310 -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1020 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ 1311 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1021 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ 1312 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1022 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ 1313 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
@@ -1025,25 +1316,31 @@ string.h: string.in.h
1025 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ 1316 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1026 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ 1317 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1027 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ 1318 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1028 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
1029 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ 1319 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1030 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ 1320 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1031 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ 1321 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1032 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ 1322 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1033 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ 1323 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1034 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ 1324 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1035 -e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
1036 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ 1325 -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1037 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ 1326 -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1327 -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1328 -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1038 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ 1329 -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1039 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ 1330 -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1040 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ 1331 -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1041 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ 1332 -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1042 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ 1333 -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1334 -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1335 -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1043 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ 1336 -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1044 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 1337 -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1338 -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1339 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1340 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1341 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1045 < $(srcdir)/string.in.h; \ 1342 < $(srcdir)/string.in.h; \
1046 } > $@-t 1343 } > $@-t && \
1047 mv $@-t $@ 1344 mv $@-t $@
1048MOSTLYCLEANFILES += string.h string.h-t 1345MOSTLYCLEANFILES += string.h string.h-t
1049 1346
@@ -1069,14 +1366,24 @@ EXTRA_libgnu_a_SOURCES += strnlen.c
1069 1366
1070## end gnulib module strnlen 1367## end gnulib module strnlen
1071 1368
1369## begin gnulib module strstr-simple
1370
1371
1372EXTRA_DIST += str-two-way.h strstr.c
1373
1374EXTRA_libgnu_a_SOURCES += strstr.c
1375
1376## end gnulib module strstr-simple
1377
1072## begin gnulib module sys_socket 1378## begin gnulib module sys_socket
1073 1379
1074BUILT_SOURCES += $(SYS_SOCKET_H) 1380BUILT_SOURCES += sys/socket.h
1075 1381
1076# We need the following in order to create <sys/socket.h> when the system 1382# We need the following in order to create <sys/socket.h> when the system
1077# doesn't have one that works with the given compiler. 1383# doesn't have one that works with the given compiler.
1078sys/socket.h: sys_socket.in.h 1384sys/socket.h: sys_socket.in.h $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
1079 @MKDIR_P@ sys 1385 $(AM_V_at)$(MKDIR_P) sys
1386 $(AM_V_GEN)rm -f $@-t $@ && \
1080 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1387 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1081 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1388 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1082 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1389 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -1097,12 +1404,17 @@ sys/socket.h: sys_socket.in.h
1097 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \ 1404 -e 's|@''GNULIB_SENDTO''@|$(GNULIB_SENDTO)|g' \
1098 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \ 1405 -e 's|@''GNULIB_SETSOCKOPT''@|$(GNULIB_SETSOCKOPT)|g' \
1099 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \ 1406 -e 's|@''GNULIB_SHUTDOWN''@|$(GNULIB_SHUTDOWN)|g' \
1407 -e 's|@''GNULIB_ACCEPT4''@|$(GNULIB_ACCEPT4)|g' \
1100 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ 1408 -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \
1101 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ 1409 -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \
1102 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ 1410 -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \
1103 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 1411 -e 's|@''HAVE_SA_FAMILY_T''@|$(HAVE_SA_FAMILY_T)|g' \
1412 -e 's|@''HAVE_ACCEPT4''@|$(HAVE_ACCEPT4)|g' \
1413 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1414 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1415 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1104 < $(srcdir)/sys_socket.in.h; \ 1416 < $(srcdir)/sys_socket.in.h; \
1105 } > $@-t 1417 } > $@-t && \
1106 mv -f $@-t $@ 1418 mv -f $@-t $@
1107MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t 1419MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
1108MOSTLYCLEANDIRS += sys 1420MOSTLYCLEANDIRS += sys
@@ -1111,26 +1423,96 @@ EXTRA_DIST += sys_socket.in.h
1111 1423
1112## end gnulib module sys_socket 1424## end gnulib module sys_socket
1113 1425
1426## begin gnulib module sys_stat
1427
1428BUILT_SOURCES += sys/stat.h
1429
1430# We need the following in order to create <sys/stat.h> when the system
1431# has one that is incomplete.
1432sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1433 $(AM_V_at)$(MKDIR_P) sys
1434 $(AM_V_GEN)rm -f $@-t $@ && \
1435 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1436 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1437 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1438 -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1439 -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1440 -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1441 -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1442 -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1443 -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1444 -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1445 -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1446 -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1447 -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1448 -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1449 -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1450 -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1451 -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1452 -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1453 -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1454 -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1455 -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1456 -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1457 -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1458 -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1459 -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1460 -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1461 -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1462 -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1463 -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1464 -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1465 -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1466 -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1467 -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1468 -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1469 -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1470 -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1471 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1472 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1473 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1474 < $(srcdir)/sys_stat.in.h; \
1475 } > $@-t && \
1476 mv $@-t $@
1477MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1478MOSTLYCLEANDIRS += sys
1479
1480EXTRA_DIST += sys_stat.in.h
1481
1482## end gnulib module sys_stat
1483
1114## begin gnulib module time 1484## begin gnulib module time
1115 1485
1116BUILT_SOURCES += time.h 1486BUILT_SOURCES += time.h
1117 1487
1118# We need the following in order to create <time.h> when the system 1488# We need the following in order to create <time.h> when the system
1119# doesn't have one that works with the given compiler. 1489# doesn't have one that works with the given compiler.
1120time.h: time.in.h 1490time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1121 rm -f $@-t $@ 1491 $(AM_V_GEN)rm -f $@-t $@ && \
1122 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ 1492 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1123 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1493 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1124 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1494 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1125 -e 's|@NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ 1495 -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
1126 -e 's|@REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ 1496 -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
1127 -e 's|@REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ 1497 -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
1128 -e 's|@REPLACE_STRPTIME''@|$(REPLACE_STRPTIME)|g' \ 1498 -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
1129 -e 's|@REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ 1499 -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
1130 -e 's|@SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ 1500 -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
1131 -e 's|@TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ 1501 -e 's|@''HAVE_LOCALTIME_R''@|$(HAVE_LOCALTIME_R)|g' \
1502 -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
1503 -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
1504 -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
1505 -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
1506 -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
1507 -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
1508 -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
1509 -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1510 -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
1511 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1512 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1513 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1132 < $(srcdir)/time.in.h; \ 1514 < $(srcdir)/time.in.h; \
1133 } > $@-t 1515 } > $@-t && \
1134 mv $@-t $@ 1516 mv $@-t $@
1135MOSTLYCLEANFILES += time.h time.h-t 1517MOSTLYCLEANFILES += time.h time.h-t
1136 1518
@@ -1150,7 +1532,7 @@ EXTRA_libgnu_a_SOURCES += time_r.c
1150## begin gnulib module timegm 1532## begin gnulib module timegm
1151 1533
1152 1534
1153EXTRA_DIST += timegm.c 1535EXTRA_DIST += mktime-internal.h timegm.c
1154 1536
1155EXTRA_libgnu_a_SOURCES += timegm.c 1537EXTRA_libgnu_a_SOURCES += timegm.c
1156 1538
@@ -1162,8 +1544,8 @@ BUILT_SOURCES += unistd.h
1162 1544
1163# We need the following in order to create an empty placeholder for 1545# We need the following in order to create an empty placeholder for
1164# <unistd.h> when the system doesn't have one. 1546# <unistd.h> when the system doesn't have one.
1165unistd.h: unistd.in.h 1547unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1166 rm -f $@-t $@ 1548 $(AM_V_GEN)rm -f $@-t $@ && \
1167 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1549 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1168 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ 1550 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
1169 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1551 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -1172,53 +1554,104 @@ unistd.h: unistd.in.h
1172 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \ 1554 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
1173 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \ 1555 -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
1174 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \ 1556 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
1557 -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
1175 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \ 1558 -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
1176 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \ 1559 -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
1560 -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
1177 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \ 1561 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
1562 -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
1178 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \ 1563 -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
1179 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \ 1564 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
1180 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \ 1565 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
1181 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \ 1566 -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
1182 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \ 1567 -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
1568 -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
1183 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \ 1569 -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
1570 -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
1184 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \ 1571 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
1185 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \ 1572 -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
1186 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \ 1573 -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
1187 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \ 1574 -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
1188 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \ 1575 -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
1576 -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
1189 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \ 1577 -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
1578 -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
1579 -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
1190 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \ 1580 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
1581 -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
1582 -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
1191 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \ 1583 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
1584 -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
1585 -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
1586 -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
1587 -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
1192 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \ 1588 -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
1589 -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
1590 -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
1591 -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
1193 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \ 1592 -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
1593 < $(srcdir)/unistd.in.h | \
1594 sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
1194 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ 1595 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
1596 -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
1195 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ 1597 -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
1598 -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
1599 -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
1600 -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
1196 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ 1601 -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
1197 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ 1602 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
1198 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \ 1603 -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
1199 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ 1604 -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
1605 -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
1200 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ 1606 -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
1607 -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
1201 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ 1608 -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
1202 -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \ 1609 -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
1203 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ 1610 -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
1611 -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
1612 -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
1613 -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
1204 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ 1614 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
1615 -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
1205 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ 1616 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
1617 -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
1618 -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
1619 -e 's|@''HAVE_TTYNAME_R''@|$(HAVE_TTYNAME_R)|g' \
1620 -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
1621 -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
1206 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ 1622 -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
1207 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ 1623 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
1624 -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
1625 -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
1208 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ 1626 -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
1209 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ 1627 -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
1210 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ 1628 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
1211 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ 1629 -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
1212 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \ 1630 -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
1631 -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
1632 -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
1213 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ 1633 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
1634 -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
1214 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ 1635 -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
1215 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ 1636 -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
1637 -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
1638 -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
1216 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ 1639 -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
1640 -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
1641 -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
1642 -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
1643 -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
1644 -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
1645 -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
1646 -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
1647 -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
1217 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ 1648 -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
1218 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ 1649 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
1219 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 1650 -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
1220 < $(srcdir)/unistd.in.h; \ 1651 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1221 } > $@-t 1652 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1653 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1654 } > $@-t && \
1222 mv $@-t $@ 1655 mv $@-t $@
1223MOSTLYCLEANFILES += unistd.h unistd.h-t 1656MOSTLYCLEANFILES += unistd.h unistd.h-t
1224 1657
@@ -1268,14 +1701,33 @@ EXTRA_libgnu_a_SOURCES += vsnprintf.c
1268 1701
1269## end gnulib module vsnprintf 1702## end gnulib module vsnprintf
1270 1703
1704## begin gnulib module warn-on-use
1705
1706BUILT_SOURCES += warn-on-use.h
1707# The warn-on-use.h that gets inserted into generated .h files is the same as
1708# build-aux/warn-on-use.h, except that it has the copyright header cut off.
1709warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
1710 $(AM_V_GEN)rm -f $@-t $@ && \
1711 sed -n -e '/^.ifndef/,$$p' \
1712 < $(top_srcdir)/build-aux/warn-on-use.h \
1713 > $@-t && \
1714 mv $@-t $@
1715MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
1716
1717WARN_ON_USE_H=warn-on-use.h
1718
1719EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
1720
1721## end gnulib module warn-on-use
1722
1271## begin gnulib module wchar 1723## begin gnulib module wchar
1272 1724
1273BUILT_SOURCES += $(WCHAR_H) 1725BUILT_SOURCES += wchar.h
1274 1726
1275# We need the following in order to create <wchar.h> when the system 1727# We need the following in order to create <wchar.h> when the system
1276# version does not work standalone. 1728# version does not work standalone.
1277wchar.h: wchar.in.h 1729wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1278 rm -f $@-t $@ 1730 $(AM_V_GEN)rm -f $@-t $@ && \
1279 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1731 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1280 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1732 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1281 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1733 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -1316,9 +1768,11 @@ wchar.h: wchar.in.h
1316 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \ 1768 -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
1317 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \ 1769 -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
1318 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \ 1770 -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
1319 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ 1771 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1772 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1773 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1320 < $(srcdir)/wchar.in.h; \ 1774 < $(srcdir)/wchar.in.h; \
1321 } > $@-t 1775 } > $@-t && \
1322 mv $@-t $@ 1776 mv $@-t $@
1323MOSTLYCLEANFILES += wchar.h wchar.h-t 1777MOSTLYCLEANFILES += wchar.h wchar.h-t
1324 1778
@@ -1337,22 +1791,25 @@ EXTRA_libgnu_a_SOURCES += wcrtomb.c
1337 1791
1338## begin gnulib module wctype 1792## begin gnulib module wctype
1339 1793
1340BUILT_SOURCES += $(WCTYPE_H) 1794BUILT_SOURCES += wctype.h
1341 1795
1342# We need the following in order to create <wctype.h> when the system 1796# We need the following in order to create <wctype.h> when the system
1343# doesn't have one that works with the given compiler. 1797# doesn't have one that works with the given compiler.
1344wctype.h: wctype.in.h 1798wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
1345 rm -f $@-t $@ 1799 $(AM_V_GEN)rm -f $@-t $@ && \
1346 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 1800 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1347 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ 1801 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
1348 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ 1802 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1349 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ 1803 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1350 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ 1804 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
1805 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
1351 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ 1806 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
1352 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ 1807 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
1353 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \ 1808 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
1809 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1810 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1354 < $(srcdir)/wctype.in.h; \ 1811 < $(srcdir)/wctype.in.h; \
1355 } > $@-t 1812 } > $@-t && \
1356 mv $@-t $@ 1813 mv $@-t $@
1357MOSTLYCLEANFILES += wctype.h wctype.h-t 1814MOSTLYCLEANFILES += wctype.h wctype.h-t
1358 1815