6ea2ec5d4dc9184f11a801d4d85a0f00d34243c1
[platform/upstream/m4.git] / lib / gnulib.mk
1 ## DO NOT EDIT! GENERATED AUTOMATICALLY!
2 ## Process this file with automake to produce Makefile.in.
3 # Copyright (C) 2002-2011 Free Software Foundation, Inc.
4 #
5 # This file is free software, distributed under the terms of the GNU
6 # General Public License.  As a special exception to the GNU General
7 # Public License, this file may be distributed as part of a program
8 # that contains a configuration script generated by Autoconf, under
9 # the same distribution terms as the rest of that program.
10 #
11 # Generated by gnulib-tool.
12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=local --lib=libm4 --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --with-tests --with-c++-tests --avoid=lock-tests --avoid=tls-tests --makefile-name=gnulib.mk --no-libtool --macro-prefix=M4 announce-gen assert autobuild avltree-oset binary-io c-stack clean-temp cloexec close-stream closein config-h dirname error execute fclose fdl-1.3 fflush filenamecat fopen fopen-safer fseeko gendocs getopt-gnu git-version-gen gnu-web-doc-update gnumakefile gnupload gpl-3.0 ignore-value intprops maintainer-makefile manywarnings memchr2 mkstemp obstack progname regex rename sigaction spawn-pipe stdbool stdint stdlib-safer strsignal strstr strtod strtol unlocked-io update-copyright vc-list-files verror version-etc version-etc-fsf wait-process xalloc xoset xprintf xvasprintf-posix
13
14
15 MOSTLYCLEANFILES += core *.stackdump
16
17
18 libm4_a_SOURCES =
19 libm4_a_LIBADD = $(M4_LIBOBJS)
20 libm4_a_DEPENDENCIES = $(M4_LIBOBJS)
21 EXTRA_libm4_a_SOURCES =
22
23 ## begin gnulib module alloca-opt
24
25 BUILT_SOURCES += $(ALLOCA_H)
26
27 # We need the following in order to create <alloca.h> when the system
28 # doesn't have one that works with the given compiler.
29 alloca.h: alloca.in.h
30         $(AM_V_GEN)rm -f $@-t $@ && \
31         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
32           cat $(srcdir)/alloca.in.h; \
33         } > $@-t && \
34         mv -f $@-t $@
35 MOSTLYCLEANFILES += alloca.h alloca.h-t
36
37 EXTRA_DIST += alloca.in.h
38
39 ## end   gnulib module alloca-opt
40
41 ## begin gnulib module announce-gen
42
43
44 EXTRA_DIST += $(top_srcdir)/build-aux/announce-gen
45
46 ## end   gnulib module announce-gen
47
48 ## begin gnulib module arg-nonnull
49
50 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
51 # statements but through direct file reference. Therefore this snippet must be
52 # present in all Makefile.am that need it. This is ensured by the applicability
53 # 'all' defined above.
54
55 BUILT_SOURCES += arg-nonnull.h
56 # The arg-nonnull.h that gets inserted into generated .h files is the same as
57 # build-aux/arg-nonnull.h, except that it has the copyright header cut off.
58 arg-nonnull.h: $(top_srcdir)/build-aux/arg-nonnull.h
59         $(AM_V_GEN)rm -f $@-t $@ && \
60         sed -n -e '/GL_ARG_NONNULL/,$$p' \
61           < $(top_srcdir)/build-aux/arg-nonnull.h \
62           > $@-t && \
63         mv $@-t $@
64 MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t
65
66 ARG_NONNULL_H=arg-nonnull.h
67
68 EXTRA_DIST += $(top_srcdir)/build-aux/arg-nonnull.h
69
70 ## end   gnulib module arg-nonnull
71
72 ## begin gnulib module avltree-oset
73
74 libm4_a_SOURCES += gl_avltree_oset.h gl_avltree_oset.c gl_anytree_oset.h
75
76 ## end   gnulib module avltree-oset
77
78 ## begin gnulib module binary-io
79
80 libm4_a_SOURCES += binary-io.h
81
82 ## end   gnulib module binary-io
83
84 ## begin gnulib module btowc
85
86
87 EXTRA_DIST += btowc.c
88
89 EXTRA_libm4_a_SOURCES += btowc.c
90
91 ## end   gnulib module btowc
92
93 ## begin gnulib module c++defs
94
95 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
96 # statements but through direct file reference. Therefore this snippet must be
97 # present in all Makefile.am that need it. This is ensured by the applicability
98 # 'all' defined above.
99
100 BUILT_SOURCES += c++defs.h
101 # The c++defs.h that gets inserted into generated .h files is the same as
102 # build-aux/c++defs.h, except that it has the copyright header cut off.
103 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
104         $(AM_V_GEN)rm -f $@-t $@ && \
105         sed -n -e '/_GL_CXXDEFS/,$$p' \
106           < $(top_srcdir)/build-aux/c++defs.h \
107           > $@-t && \
108         mv $@-t $@
109 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
110
111 CXXDEFS_H=c++defs.h
112
113 EXTRA_DIST += $(top_srcdir)/build-aux/c++defs.h
114
115 ## end   gnulib module c++defs
116
117 ## begin gnulib module c-ctype
118
119 libm4_a_SOURCES += c-ctype.h c-ctype.c
120
121 ## end   gnulib module c-ctype
122
123 ## begin gnulib module c-stack
124
125 libm4_a_SOURCES += c-stack.h c-stack.c
126
127 ## end   gnulib module c-stack
128
129 ## begin gnulib module canonicalize-lgpl
130
131
132 EXTRA_DIST += canonicalize-lgpl.c
133
134 EXTRA_libm4_a_SOURCES += canonicalize-lgpl.c
135
136 ## end   gnulib module canonicalize-lgpl
137
138 ## begin gnulib module clean-temp
139
140 libm4_a_SOURCES += clean-temp.h clean-temp.c
141
142 ## end   gnulib module clean-temp
143
144 ## begin gnulib module cloexec
145
146
147 EXTRA_DIST += cloexec.c cloexec.h
148
149 EXTRA_libm4_a_SOURCES += cloexec.c
150
151 ## end   gnulib module cloexec
152
153 ## begin gnulib module close
154
155
156 EXTRA_DIST += close.c
157
158 EXTRA_libm4_a_SOURCES += close.c
159
160 ## end   gnulib module close
161
162 ## begin gnulib module close-hook
163
164 libm4_a_SOURCES += close-hook.c
165
166 EXTRA_DIST += close-hook.h
167
168 ## end   gnulib module close-hook
169
170 ## begin gnulib module close-stream
171
172
173 EXTRA_DIST += close-stream.c close-stream.h
174
175 EXTRA_libm4_a_SOURCES += close-stream.c
176
177 ## end   gnulib module close-stream
178
179 ## begin gnulib module closein
180
181
182 EXTRA_DIST += closein.c closein.h
183
184 EXTRA_libm4_a_SOURCES += closein.c
185
186 ## end   gnulib module closein
187
188 ## begin gnulib module closeout
189
190
191 EXTRA_DIST += closeout.c closeout.h
192
193 EXTRA_libm4_a_SOURCES += closeout.c
194
195 ## end   gnulib module closeout
196
197 ## begin gnulib module configmake
198
199 # Listed in the same order as the GNU makefile conventions, and
200 # provided by autoconf 2.59c+.
201 # The Automake-defined pkg* macros are appended, in the order
202 # listed in the Automake 1.10a+ documentation.
203 configmake.h: Makefile
204         $(AM_V_GEN)rm -f $@-t && \
205         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
206           echo '#define PREFIX "$(prefix)"'; \
207           echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
208           echo '#define BINDIR "$(bindir)"'; \
209           echo '#define SBINDIR "$(sbindir)"'; \
210           echo '#define LIBEXECDIR "$(libexecdir)"'; \
211           echo '#define DATAROOTDIR "$(datarootdir)"'; \
212           echo '#define DATADIR "$(datadir)"'; \
213           echo '#define SYSCONFDIR "$(sysconfdir)"'; \
214           echo '#define SHAREDSTATEDIR "$(sharedstatedir)"'; \
215           echo '#define LOCALSTATEDIR "$(localstatedir)"'; \
216           echo '#define INCLUDEDIR "$(includedir)"'; \
217           echo '#define OLDINCLUDEDIR "$(oldincludedir)"'; \
218           echo '#define DOCDIR "$(docdir)"'; \
219           echo '#define INFODIR "$(infodir)"'; \
220           echo '#define HTMLDIR "$(htmldir)"'; \
221           echo '#define DVIDIR "$(dvidir)"'; \
222           echo '#define PDFDIR "$(pdfdir)"'; \
223           echo '#define PSDIR "$(psdir)"'; \
224           echo '#define LIBDIR "$(libdir)"'; \
225           echo '#define LISPDIR "$(lispdir)"'; \
226           echo '#define LOCALEDIR "$(localedir)"'; \
227           echo '#define MANDIR "$(mandir)"'; \
228           echo '#define MANEXT "$(manext)"'; \
229           echo '#define PKGDATADIR "$(pkgdatadir)"'; \
230           echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
231           echo '#define PKGLIBDIR "$(pkglibdir)"'; \
232           echo '#define PKGLIBEXECDIR "$(pkglibexecdir)"'; \
233         } | sed '/""/d' > $@-t && \
234         if test -f $@ && cmp $@-t $@ > /dev/null; then \
235           rm -f $@-t; \
236         else \
237           rm -f $@; mv $@-t $@; \
238         fi
239
240 BUILT_SOURCES += configmake.h
241 CLEANFILES += configmake.h configmake.h-t
242
243 ## end   gnulib module configmake
244
245 ## begin gnulib module dirname
246
247
248 EXTRA_DIST += basename.c dirname.c stripslash.c
249
250 EXTRA_libm4_a_SOURCES += basename.c dirname.c stripslash.c
251
252 ## end   gnulib module dirname
253
254 ## begin gnulib module dirname-lgpl
255
256
257 EXTRA_DIST += basename-lgpl.c dirname-lgpl.c dirname.h stripslash.c
258
259 EXTRA_libm4_a_SOURCES += basename-lgpl.c dirname-lgpl.c stripslash.c
260
261 ## end   gnulib module dirname-lgpl
262
263 ## begin gnulib module dosname
264
265
266 EXTRA_DIST += dosname.h
267
268 ## end   gnulib module dosname
269
270 ## begin gnulib module dup2
271
272
273 EXTRA_DIST += dup2.c
274
275 EXTRA_libm4_a_SOURCES += dup2.c
276
277 ## end   gnulib module dup2
278
279 ## begin gnulib module errno
280
281 BUILT_SOURCES += $(ERRNO_H)
282
283 # We need the following in order to create <errno.h> when the system
284 # doesn't have one that is POSIX compliant.
285 errno.h: errno.in.h
286         $(AM_V_GEN)rm -f $@-t $@ && \
287         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
288           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
289               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
290               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
291               -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \
292               -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \
293               -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \
294               -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \
295               -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \
296               -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \
297               -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \
298               < $(srcdir)/errno.in.h; \
299         } > $@-t && \
300         mv $@-t $@
301 MOSTLYCLEANFILES += errno.h errno.h-t
302
303 EXTRA_DIST += errno.in.h
304
305 ## end   gnulib module errno
306
307 ## begin gnulib module error
308
309
310 EXTRA_DIST += error.c error.h
311
312 EXTRA_libm4_a_SOURCES += error.c
313
314 ## end   gnulib module error
315
316 ## begin gnulib module execute
317
318 libm4_a_SOURCES += execute.h execute.c w32spawn.h
319
320 ## end   gnulib module execute
321
322 ## begin gnulib module exitfail
323
324 libm4_a_SOURCES += exitfail.c
325
326 EXTRA_DIST += exitfail.h
327
328 ## end   gnulib module exitfail
329
330 ## begin gnulib module fatal-signal
331
332 libm4_a_SOURCES += fatal-signal.h fatal-signal.c
333
334 ## end   gnulib module fatal-signal
335
336 ## begin gnulib module fclose
337
338
339 EXTRA_DIST += fclose.c
340
341 EXTRA_libm4_a_SOURCES += fclose.c
342
343 ## end   gnulib module fclose
344
345 ## begin gnulib module fcntl
346
347
348 EXTRA_DIST += fcntl.c
349
350 EXTRA_libm4_a_SOURCES += fcntl.c
351
352 ## end   gnulib module fcntl
353
354 ## begin gnulib module fcntl-h
355
356 BUILT_SOURCES += fcntl.h
357
358 # We need the following in order to create <fcntl.h> when the system
359 # doesn't have one that works with the given compiler.
360 fcntl.h: fcntl.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
361         $(AM_V_GEN)rm -f $@-t $@ && \
362         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
363           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
364               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
365               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
366               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
367               -e 's|@''GNULIB_FCNTL''@|$(GNULIB_FCNTL)|g' \
368               -e 's|@''GNULIB_OPEN''@|$(GNULIB_OPEN)|g' \
369               -e 's|@''GNULIB_OPENAT''@|$(GNULIB_OPENAT)|g' \
370               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
371               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
372               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
373               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
374               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
375               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
376               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
377               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
378               < $(srcdir)/fcntl.in.h; \
379         } > $@-t && \
380         mv $@-t $@
381 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
382
383 EXTRA_DIST += fcntl.in.h
384
385 ## end   gnulib module fcntl-h
386
387 ## begin gnulib module fd-safer-flag
388
389 libm4_a_SOURCES += fd-safer-flag.c dup-safer-flag.c
390
391 ## end   gnulib module fd-safer-flag
392
393 ## begin gnulib module fflush
394
395
396 EXTRA_DIST += fflush.c stdio-impl.h
397
398 EXTRA_libm4_a_SOURCES += fflush.c
399
400 ## end   gnulib module fflush
401
402 ## begin gnulib module filenamecat
403
404
405 EXTRA_DIST += filenamecat.c
406
407 EXTRA_libm4_a_SOURCES += filenamecat.c
408
409 ## end   gnulib module filenamecat
410
411 ## begin gnulib module filenamecat-lgpl
412
413
414 EXTRA_DIST += filenamecat-lgpl.c filenamecat.h
415
416 EXTRA_libm4_a_SOURCES += filenamecat-lgpl.c
417
418 ## end   gnulib module filenamecat-lgpl
419
420 ## begin gnulib module float
421
422 BUILT_SOURCES += $(FLOAT_H)
423
424 # We need the following in order to create <float.h> when the system
425 # doesn't have one that works with the given compiler.
426 float.h: float.in.h
427         $(AM_V_GEN)rm -f $@-t $@ && \
428         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
429           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
430               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
431               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
432               -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \
433               < $(srcdir)/float.in.h; \
434         } > $@-t && \
435         mv $@-t $@
436 MOSTLYCLEANFILES += float.h float.h-t
437
438 EXTRA_DIST += float.in.h
439
440 ## end   gnulib module float
441
442 ## begin gnulib module fopen
443
444
445 EXTRA_DIST += fopen.c
446
447 EXTRA_libm4_a_SOURCES += fopen.c
448
449 ## end   gnulib module fopen
450
451 ## begin gnulib module fopen-safer
452
453
454 EXTRA_DIST += fopen-safer.c stdio--.h stdio-safer.h
455
456 EXTRA_libm4_a_SOURCES += fopen-safer.c
457
458 ## end   gnulib module fopen-safer
459
460 ## begin gnulib module fpending
461
462
463 EXTRA_DIST += fpending.c fpending.h
464
465 EXTRA_libm4_a_SOURCES += fpending.c
466
467 ## end   gnulib module fpending
468
469 ## begin gnulib module fpucw
470
471
472 EXTRA_DIST += fpucw.h
473
474 ## end   gnulib module fpucw
475
476 ## begin gnulib module fpurge
477
478
479 EXTRA_DIST += fpurge.c stdio-impl.h
480
481 EXTRA_libm4_a_SOURCES += fpurge.c
482
483 ## end   gnulib module fpurge
484
485 ## begin gnulib module freadahead
486
487 libm4_a_SOURCES += freadahead.c
488
489 EXTRA_DIST += freadahead.h stdio-impl.h
490
491 ## end   gnulib module freadahead
492
493 ## begin gnulib module freading
494
495 libm4_a_SOURCES += freading.c
496
497 EXTRA_DIST += freading.h stdio-impl.h
498
499 ## end   gnulib module freading
500
501 ## begin gnulib module frexp-nolibm
502
503
504 EXTRA_DIST += frexp.c
505
506 EXTRA_libm4_a_SOURCES += frexp.c
507
508 ## end   gnulib module frexp-nolibm
509
510 ## begin gnulib module frexpl-nolibm
511
512
513 EXTRA_DIST += frexp.c frexpl.c
514
515 EXTRA_libm4_a_SOURCES += frexp.c frexpl.c
516
517 ## end   gnulib module frexpl-nolibm
518
519 ## begin gnulib module fseeko
520
521
522 EXTRA_DIST += fseeko.c stdio-impl.h
523
524 EXTRA_libm4_a_SOURCES += fseeko.c
525
526 ## end   gnulib module fseeko
527
528 ## begin gnulib module ftello
529
530
531 EXTRA_DIST += ftello.c stdio-impl.h
532
533 EXTRA_libm4_a_SOURCES += ftello.c
534
535 ## end   gnulib module ftello
536
537 ## begin gnulib module gendocs
538
539
540 EXTRA_DIST += $(top_srcdir)/build-aux/gendocs.sh
541
542 ## end   gnulib module gendocs
543
544 ## begin gnulib module getdtablesize
545
546
547 EXTRA_DIST += getdtablesize.c
548
549 EXTRA_libm4_a_SOURCES += getdtablesize.c
550
551 ## end   gnulib module getdtablesize
552
553 ## begin gnulib module getopt-posix
554
555 BUILT_SOURCES += $(GETOPT_H)
556
557 # We need the following in order to create <getopt.h> when the system
558 # doesn't have one that works with the given compiler.
559 getopt.h: getopt.in.h $(ARG_NONNULL_H)
560         $(AM_V_GEN)rm -f $@-t $@ && \
561         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
562           sed -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
563               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
564               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
565               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
566               -e 's|@''NEXT_GETOPT_H''@|$(NEXT_GETOPT_H)|g' \
567               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
568               < $(srcdir)/getopt.in.h; \
569         } > $@-t && \
570         mv -f $@-t $@
571 MOSTLYCLEANFILES += getopt.h getopt.h-t
572
573 EXTRA_DIST += getopt.c getopt.in.h getopt1.c getopt_int.h
574
575 EXTRA_libm4_a_SOURCES += getopt.c getopt1.c
576
577 ## end   gnulib module getopt-posix
578
579 ## begin gnulib module gettext-h
580
581 libm4_a_SOURCES += gettext.h
582
583 ## end   gnulib module gettext-h
584
585 ## begin gnulib module gettimeofday
586
587
588 EXTRA_DIST += gettimeofday.c
589
590 EXTRA_libm4_a_SOURCES += gettimeofday.c
591
592 ## end   gnulib module gettimeofday
593
594 ## begin gnulib module git-version-gen
595
596
597 EXTRA_DIST += $(top_srcdir)/build-aux/git-version-gen
598
599 ## end   gnulib module git-version-gen
600
601 ## begin gnulib module gnu-web-doc-update
602
603
604 EXTRA_DIST += $(top_srcdir)/build-aux/gnu-web-doc-update
605
606 ## end   gnulib module gnu-web-doc-update
607
608 ## begin gnulib module gnumakefile
609
610 distclean-local: clean-GNUmakefile
611 clean-GNUmakefile:
612         test x'$(VPATH)' != x && rm -f $(top_builddir)/GNUmakefile || :
613
614 EXTRA_DIST += $(top_srcdir)/GNUmakefile
615
616 ## end   gnulib module gnumakefile
617
618 ## begin gnulib module gnupload
619
620
621 EXTRA_DIST += $(top_srcdir)/build-aux/gnupload
622
623 ## end   gnulib module gnupload
624
625 ## begin gnulib module havelib
626
627
628 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
629
630 ## end   gnulib module havelib
631
632 ## begin gnulib module ignore-value
633
634 libm4_a_SOURCES += ignore-value.h
635
636 ## end   gnulib module ignore-value
637
638 ## begin gnulib module intprops
639
640
641 EXTRA_DIST += intprops.h
642
643 ## end   gnulib module intprops
644
645 ## begin gnulib module isnand-nolibm
646
647
648 EXTRA_DIST += float+.h isnan.c isnand-nolibm.h isnand.c
649
650 EXTRA_libm4_a_SOURCES += isnan.c isnand.c
651
652 ## end   gnulib module isnand-nolibm
653
654 ## begin gnulib module isnanf-nolibm
655
656
657 EXTRA_DIST += float+.h isnan.c isnanf-nolibm.h isnanf.c
658
659 EXTRA_libm4_a_SOURCES += isnan.c isnanf.c
660
661 ## end   gnulib module isnanf-nolibm
662
663 ## begin gnulib module isnanl-nolibm
664
665
666 EXTRA_DIST += float+.h isnan.c isnanl-nolibm.h isnanl.c
667
668 EXTRA_libm4_a_SOURCES += isnan.c isnanl.c
669
670 ## end   gnulib module isnanl-nolibm
671
672 ## begin gnulib module langinfo
673
674 BUILT_SOURCES += langinfo.h
675
676 # We need the following in order to create an empty placeholder for
677 # <langinfo.h> when the system doesn't have one.
678 langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
679         $(AM_V_GEN)rm -f $@-t $@ && \
680         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
681           sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
682               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
683               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
684               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
685               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
686               -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
687               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
688               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
689               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
690               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
691               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
692               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
693               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
694               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
695               < $(srcdir)/langinfo.in.h; \
696         } > $@-t && \
697         mv $@-t $@
698 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
699
700 EXTRA_DIST += langinfo.in.h
701
702 ## end   gnulib module langinfo
703
704 ## begin gnulib module linkedhash-list
705
706 libm4_a_SOURCES += gl_linkedhash_list.h gl_linkedhash_list.c gl_anyhash_list1.h gl_anyhash_list2.h gl_anylinked_list1.h gl_anylinked_list2.h
707
708 ## end   gnulib module linkedhash-list
709
710 ## begin gnulib module list
711
712 libm4_a_SOURCES += gl_list.h gl_list.c
713
714 ## end   gnulib module list
715
716 ## begin gnulib module localcharset
717
718 libm4_a_SOURCES += localcharset.h localcharset.c
719
720 # We need the following in order to install a simple file in $(libdir)
721 # which is shared with other installed packages. We use a list of referencing
722 # packages so that "make uninstall" will remove the file if and only if it
723 # is not used by another installed package.
724 # On systems with glibc-2.1 or newer, the file is redundant, therefore we
725 # avoid installing it.
726
727 all-local: charset.alias ref-add.sed ref-del.sed
728
729 charset_alias = $(DESTDIR)$(libdir)/charset.alias
730 charset_tmp = $(DESTDIR)$(libdir)/charset.tmp
731 install-exec-local: install-exec-localcharset
732 install-exec-localcharset: all-local
733         if test $(GLIBC21) = no; then \
734           case '$(host_os)' in \
735             darwin[56]*) \
736               need_charset_alias=true ;; \
737             darwin* | cygwin* | mingw* | pw32* | cegcc*) \
738               need_charset_alias=false ;; \
739             *) \
740               need_charset_alias=true ;; \
741           esac ; \
742         else \
743           need_charset_alias=false ; \
744         fi ; \
745         if $$need_charset_alias; then \
746           $(mkinstalldirs) $(DESTDIR)$(libdir) ; \
747         fi ; \
748         if test -f $(charset_alias); then \
749           sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
750           $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
751           rm -f $(charset_tmp) ; \
752         else \
753           if $$need_charset_alias; then \
754             sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
755             $(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
756             rm -f $(charset_tmp) ; \
757           fi ; \
758         fi
759
760 uninstall-local: uninstall-localcharset
761 uninstall-localcharset: all-local
762         if test -f $(charset_alias); then \
763           sed -f ref-del.sed $(charset_alias) > $(charset_tmp); \
764           if grep '^# Packages using this file: $$' $(charset_tmp) \
765               > /dev/null; then \
766             rm -f $(charset_alias); \
767           else \
768             $(INSTALL_DATA) $(charset_tmp) $(charset_alias); \
769           fi; \
770           rm -f $(charset_tmp); \
771         fi
772
773 charset.alias: config.charset
774         $(AM_V_GEN)rm -f t-$@ $@ && \
775         $(SHELL) $(srcdir)/config.charset '$(host)' > t-$@ && \
776         mv t-$@ $@
777
778 SUFFIXES += .sed .sin
779 .sin.sed:
780         $(AM_V_GEN)rm -f t-$@ $@ && \
781         sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@ && \
782         mv t-$@ $@
783
784 CLEANFILES += charset.alias ref-add.sed ref-del.sed
785
786 EXTRA_DIST += config.charset ref-add.sin ref-del.sin
787
788 ## end   gnulib module localcharset
789
790 ## begin gnulib module lock
791
792 libm4_a_SOURCES += glthread/lock.h glthread/lock.c
793
794 ## end   gnulib module lock
795
796 ## begin gnulib module lseek
797
798
799 EXTRA_DIST += lseek.c
800
801 EXTRA_libm4_a_SOURCES += lseek.c
802
803 ## end   gnulib module lseek
804
805 ## begin gnulib module lstat
806
807
808 EXTRA_DIST += lstat.c
809
810 EXTRA_libm4_a_SOURCES += lstat.c
811
812 ## end   gnulib module lstat
813
814 ## begin gnulib module maintainer-makefile
815
816 EXTRA_DIST += $(top_srcdir)/maint.mk
817
818 ## end   gnulib module maintainer-makefile
819
820 ## begin gnulib module malloc-gnu
821
822
823 EXTRA_DIST += malloc.c
824
825 EXTRA_libm4_a_SOURCES += malloc.c
826
827 ## end   gnulib module malloc-gnu
828
829 ## begin gnulib module malloc-posix
830
831
832 EXTRA_DIST += malloc.c
833
834 EXTRA_libm4_a_SOURCES += malloc.c
835
836 ## end   gnulib module malloc-posix
837
838 ## begin gnulib module malloca
839
840 libm4_a_SOURCES += malloca.c
841
842 EXTRA_DIST += malloca.h malloca.valgrind
843
844 ## end   gnulib module malloca
845
846 ## begin gnulib module math
847
848 BUILT_SOURCES += math.h
849
850 # We need the following in order to create <math.h> when the system
851 # doesn't have one that works with the given compiler.
852 math.h: math.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
853         $(AM_V_GEN)rm -f $@-t $@ && \
854         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
855           sed -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
856               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
857               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
858               -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \
859               -e 's|@''GNULIB_ACOSL''@|$(GNULIB_ACOSL)|g' \
860               -e 's|@''GNULIB_ASINL''@|$(GNULIB_ASINL)|g' \
861               -e 's|@''GNULIB_ATANL''@|$(GNULIB_ATANL)|g' \
862               -e 's|@''GNULIB_CEIL''@|$(GNULIB_CEIL)|g' \
863               -e 's|@''GNULIB_CEILF''@|$(GNULIB_CEILF)|g' \
864               -e 's|@''GNULIB_CEILL''@|$(GNULIB_CEILL)|g' \
865               -e 's|@''GNULIB_COSL''@|$(GNULIB_COSL)|g' \
866               -e 's|@''GNULIB_EXPL''@|$(GNULIB_EXPL)|g' \
867               -e 's|@''GNULIB_FLOOR''@|$(GNULIB_FLOOR)|g' \
868               -e 's|@''GNULIB_FLOORF''@|$(GNULIB_FLOORF)|g' \
869               -e 's|@''GNULIB_FLOORL''@|$(GNULIB_FLOORL)|g' \
870               -e 's|@''GNULIB_FREXP''@|$(GNULIB_FREXP)|g' \
871               -e 's|@''GNULIB_FREXPL''@|$(GNULIB_FREXPL)|g' \
872               -e 's|@''GNULIB_ISFINITE''@|$(GNULIB_ISFINITE)|g' \
873               -e 's|@''GNULIB_ISINF''@|$(GNULIB_ISINF)|g' \
874               -e 's|@''GNULIB_ISNAN''@|$(GNULIB_ISNAN)|g' \
875               -e 's|@''GNULIB_ISNANF''@|$(GNULIB_ISNANF)|g' \
876               -e 's|@''GNULIB_ISNAND''@|$(GNULIB_ISNAND)|g' \
877               -e 's|@''GNULIB_ISNANL''@|$(GNULIB_ISNANL)|g' \
878               -e 's|@''GNULIB_LDEXPL''@|$(GNULIB_LDEXPL)|g' \
879               -e 's|@''GNULIB_LOGB''@|$(GNULIB_LOGB)|g' \
880               -e 's|@''GNULIB_LOGL''@|$(GNULIB_LOGL)|g' \
881               -e 's|@''GNULIB_ROUND''@|$(GNULIB_ROUND)|g' \
882               -e 's|@''GNULIB_ROUNDF''@|$(GNULIB_ROUNDF)|g' \
883               -e 's|@''GNULIB_ROUNDL''@|$(GNULIB_ROUNDL)|g' \
884               -e 's|@''GNULIB_SIGNBIT''@|$(GNULIB_SIGNBIT)|g' \
885               -e 's|@''GNULIB_SINL''@|$(GNULIB_SINL)|g' \
886               -e 's|@''GNULIB_SQRTL''@|$(GNULIB_SQRTL)|g' \
887               -e 's|@''GNULIB_TANL''@|$(GNULIB_TANL)|g' \
888               -e 's|@''GNULIB_TRUNC''@|$(GNULIB_TRUNC)|g' \
889               -e 's|@''GNULIB_TRUNCF''@|$(GNULIB_TRUNCF)|g' \
890               -e 's|@''GNULIB_TRUNCL''@|$(GNULIB_TRUNCL)|g' \
891               < $(srcdir)/math.in.h | \
892           sed -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \
893               -e 's|@''HAVE_ASINL''@|$(HAVE_ASINL)|g' \
894               -e 's|@''HAVE_ATANL''@|$(HAVE_ATANL)|g' \
895               -e 's|@''HAVE_COSL''@|$(HAVE_COSL)|g' \
896               -e 's|@''HAVE_EXPL''@|$(HAVE_EXPL)|g' \
897               -e 's|@''HAVE_ISNANF''@|$(HAVE_ISNANF)|g' \
898               -e 's|@''HAVE_ISNAND''@|$(HAVE_ISNAND)|g' \
899               -e 's|@''HAVE_ISNANL''@|$(HAVE_ISNANL)|g' \
900               -e 's|@''HAVE_LOGL''@|$(HAVE_LOGL)|g' \
901               -e 's|@''HAVE_SINL''@|$(HAVE_SINL)|g' \
902               -e 's|@''HAVE_SQRTL''@|$(HAVE_SQRTL)|g' \
903               -e 's|@''HAVE_TANL''@|$(HAVE_TANL)|g' \
904               -e 's|@''HAVE_DECL_ACOSL''@|$(HAVE_DECL_ACOSL)|g' \
905               -e 's|@''HAVE_DECL_ASINL''@|$(HAVE_DECL_ASINL)|g' \
906               -e 's|@''HAVE_DECL_ATANL''@|$(HAVE_DECL_ATANL)|g' \
907               -e 's|@''HAVE_DECL_CEILF''@|$(HAVE_DECL_CEILF)|g' \
908               -e 's|@''HAVE_DECL_CEILL''@|$(HAVE_DECL_CEILL)|g' \
909               -e 's|@''HAVE_DECL_COSL''@|$(HAVE_DECL_COSL)|g' \
910               -e 's|@''HAVE_DECL_EXPL''@|$(HAVE_DECL_EXPL)|g' \
911               -e 's|@''HAVE_DECL_FLOORF''@|$(HAVE_DECL_FLOORF)|g' \
912               -e 's|@''HAVE_DECL_FLOORL''@|$(HAVE_DECL_FLOORL)|g' \
913               -e 's|@''HAVE_DECL_FREXPL''@|$(HAVE_DECL_FREXPL)|g' \
914               -e 's|@''HAVE_DECL_LDEXPL''@|$(HAVE_DECL_LDEXPL)|g' \
915               -e 's|@''HAVE_DECL_LOGB''@|$(HAVE_DECL_LOGB)|g' \
916               -e 's|@''HAVE_DECL_LOGL''@|$(HAVE_DECL_LOGL)|g' \
917               -e 's|@''HAVE_DECL_ROUND''@|$(HAVE_DECL_ROUND)|g' \
918               -e 's|@''HAVE_DECL_ROUNDF''@|$(HAVE_DECL_ROUNDF)|g' \
919               -e 's|@''HAVE_DECL_ROUNDL''@|$(HAVE_DECL_ROUNDL)|g' \
920               -e 's|@''HAVE_DECL_SINL''@|$(HAVE_DECL_SINL)|g' \
921               -e 's|@''HAVE_DECL_SQRTL''@|$(HAVE_DECL_SQRTL)|g' \
922               -e 's|@''HAVE_DECL_TANL''@|$(HAVE_DECL_TANL)|g' \
923               -e 's|@''HAVE_DECL_TRUNC''@|$(HAVE_DECL_TRUNC)|g' \
924               -e 's|@''HAVE_DECL_TRUNCF''@|$(HAVE_DECL_TRUNCF)|g' \
925               -e 's|@''HAVE_DECL_TRUNCL''@|$(HAVE_DECL_TRUNCL)|g' \
926           | \
927           sed -e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \
928               -e 's|@''REPLACE_CEILF''@|$(REPLACE_CEILF)|g' \
929               -e 's|@''REPLACE_CEILL''@|$(REPLACE_CEILL)|g' \
930               -e 's|@''REPLACE_FLOOR''@|$(REPLACE_FLOOR)|g' \
931               -e 's|@''REPLACE_FLOORF''@|$(REPLACE_FLOORF)|g' \
932               -e 's|@''REPLACE_FLOORL''@|$(REPLACE_FLOORL)|g' \
933               -e 's|@''REPLACE_FREXP''@|$(REPLACE_FREXP)|g' \
934               -e 's|@''REPLACE_FREXPL''@|$(REPLACE_FREXPL)|g' \
935               -e 's|@''REPLACE_HUGE_VAL''@|$(REPLACE_HUGE_VAL)|g' \
936               -e 's|@''REPLACE_ISFINITE''@|$(REPLACE_ISFINITE)|g' \
937               -e 's|@''REPLACE_ISINF''@|$(REPLACE_ISINF)|g' \
938               -e 's|@''REPLACE_ISNAN''@|$(REPLACE_ISNAN)|g' \
939               -e 's|@''REPLACE_LDEXPL''@|$(REPLACE_LDEXPL)|g' \
940               -e 's|@''REPLACE_NAN''@|$(REPLACE_NAN)|g' \
941               -e 's|@''REPLACE_ROUND''@|$(REPLACE_ROUND)|g' \
942               -e 's|@''REPLACE_ROUNDF''@|$(REPLACE_ROUNDF)|g' \
943               -e 's|@''REPLACE_ROUNDL''@|$(REPLACE_ROUNDL)|g' \
944               -e 's|@''REPLACE_SIGNBIT''@|$(REPLACE_SIGNBIT)|g' \
945               -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|$(REPLACE_SIGNBIT_USING_GCC)|g' \
946               -e 's|@''REPLACE_TRUNC''@|$(REPLACE_TRUNC)|g' \
947               -e 's|@''REPLACE_TRUNCF''@|$(REPLACE_TRUNCF)|g' \
948               -e 's|@''REPLACE_TRUNCL''@|$(REPLACE_TRUNCL)|g' \
949               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
950               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
951               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
952         } > $@-t && \
953         mv $@-t $@
954 MOSTLYCLEANFILES += math.h math.h-t
955
956 EXTRA_DIST += math.in.h
957
958 ## end   gnulib module math
959
960 ## begin gnulib module mbrtowc
961
962
963 EXTRA_DIST += mbrtowc.c
964
965 EXTRA_libm4_a_SOURCES += mbrtowc.c
966
967 ## end   gnulib module mbrtowc
968
969 ## begin gnulib module mbsinit
970
971
972 EXTRA_DIST += mbsinit.c
973
974 EXTRA_libm4_a_SOURCES += mbsinit.c
975
976 ## end   gnulib module mbsinit
977
978 ## begin gnulib module mbtowc
979
980
981 EXTRA_DIST += mbtowc-impl.h mbtowc.c
982
983 EXTRA_libm4_a_SOURCES += mbtowc.c
984
985 ## end   gnulib module mbtowc
986
987 ## begin gnulib module memchr
988
989
990 EXTRA_DIST += memchr.c memchr.valgrind
991
992 EXTRA_libm4_a_SOURCES += memchr.c
993
994 ## end   gnulib module memchr
995
996 ## begin gnulib module memchr2
997
998 libm4_a_SOURCES += memchr2.h memchr2.c
999
1000 EXTRA_DIST += memchr2.valgrind
1001
1002 ## end   gnulib module memchr2
1003
1004 ## begin gnulib module mkdtemp
1005
1006
1007 EXTRA_DIST += mkdtemp.c
1008
1009 EXTRA_libm4_a_SOURCES += mkdtemp.c
1010
1011 ## end   gnulib module mkdtemp
1012
1013 ## begin gnulib module mkstemp
1014
1015
1016 EXTRA_DIST += mkstemp.c
1017
1018 EXTRA_libm4_a_SOURCES += mkstemp.c
1019
1020 ## end   gnulib module mkstemp
1021
1022 ## begin gnulib module nl_langinfo
1023
1024
1025 EXTRA_DIST += nl_langinfo.c
1026
1027 EXTRA_libm4_a_SOURCES += nl_langinfo.c
1028
1029 ## end   gnulib module nl_langinfo
1030
1031 ## begin gnulib module obstack
1032
1033
1034 EXTRA_DIST += obstack.c obstack.h
1035
1036 EXTRA_libm4_a_SOURCES += obstack.c
1037
1038 ## end   gnulib module obstack
1039
1040 ## begin gnulib module open
1041
1042
1043 EXTRA_DIST += open.c
1044
1045 EXTRA_libm4_a_SOURCES += open.c
1046
1047 ## end   gnulib module open
1048
1049 ## begin gnulib module oset
1050
1051 libm4_a_SOURCES += gl_oset.h gl_oset.c
1052
1053 ## end   gnulib module oset
1054
1055 ## begin gnulib module pathmax
1056
1057
1058 EXTRA_DIST += pathmax.h
1059
1060 ## end   gnulib module pathmax
1061
1062 ## begin gnulib module pipe2
1063
1064 libm4_a_SOURCES += pipe2.c
1065
1066 ## end   gnulib module pipe2
1067
1068 ## begin gnulib module pipe2-safer
1069
1070 libm4_a_SOURCES += pipe2-safer.c
1071
1072 ## end   gnulib module pipe2-safer
1073
1074 ## begin gnulib module posix_spawn-internal
1075
1076
1077 EXTRA_DIST += spawn_int.h spawni.c
1078
1079 EXTRA_libm4_a_SOURCES += spawni.c
1080
1081 ## end   gnulib module posix_spawn-internal
1082
1083 ## begin gnulib module posix_spawn_file_actions_addclose
1084
1085
1086 EXTRA_DIST += spawn_faction_addclose.c spawn_int.h
1087
1088 EXTRA_libm4_a_SOURCES += spawn_faction_addclose.c
1089
1090 ## end   gnulib module posix_spawn_file_actions_addclose
1091
1092 ## begin gnulib module posix_spawn_file_actions_adddup2
1093
1094
1095 EXTRA_DIST += spawn_faction_adddup2.c spawn_int.h
1096
1097 EXTRA_libm4_a_SOURCES += spawn_faction_adddup2.c
1098
1099 ## end   gnulib module posix_spawn_file_actions_adddup2
1100
1101 ## begin gnulib module posix_spawn_file_actions_addopen
1102
1103
1104 EXTRA_DIST += spawn_faction_addopen.c spawn_int.h
1105
1106 EXTRA_libm4_a_SOURCES += spawn_faction_addopen.c
1107
1108 ## end   gnulib module posix_spawn_file_actions_addopen
1109
1110 ## begin gnulib module posix_spawn_file_actions_destroy
1111
1112
1113 EXTRA_DIST += spawn_faction_destroy.c
1114
1115 EXTRA_libm4_a_SOURCES += spawn_faction_destroy.c
1116
1117 ## end   gnulib module posix_spawn_file_actions_destroy
1118
1119 ## begin gnulib module posix_spawn_file_actions_init
1120
1121
1122 EXTRA_DIST += spawn_faction_init.c spawn_int.h
1123
1124 EXTRA_libm4_a_SOURCES += spawn_faction_init.c
1125
1126 ## end   gnulib module posix_spawn_file_actions_init
1127
1128 ## begin gnulib module posix_spawnattr_destroy
1129
1130
1131 EXTRA_DIST += spawnattr_destroy.c
1132
1133 EXTRA_libm4_a_SOURCES += spawnattr_destroy.c
1134
1135 ## end   gnulib module posix_spawnattr_destroy
1136
1137 ## begin gnulib module posix_spawnattr_init
1138
1139
1140 EXTRA_DIST += spawnattr_init.c
1141
1142 EXTRA_libm4_a_SOURCES += spawnattr_init.c
1143
1144 ## end   gnulib module posix_spawnattr_init
1145
1146 ## begin gnulib module posix_spawnattr_setflags
1147
1148
1149 EXTRA_DIST += spawnattr_setflags.c
1150
1151 EXTRA_libm4_a_SOURCES += spawnattr_setflags.c
1152
1153 ## end   gnulib module posix_spawnattr_setflags
1154
1155 ## begin gnulib module posix_spawnattr_setsigmask
1156
1157
1158 EXTRA_DIST += spawnattr_setsigmask.c
1159
1160 EXTRA_libm4_a_SOURCES += spawnattr_setsigmask.c
1161
1162 ## end   gnulib module posix_spawnattr_setsigmask
1163
1164 ## begin gnulib module posix_spawnp
1165
1166
1167 EXTRA_DIST += spawnp.c
1168
1169 EXTRA_libm4_a_SOURCES += spawnp.c
1170
1171 ## end   gnulib module posix_spawnp
1172
1173 ## begin gnulib module printf-frexp
1174
1175 libm4_a_SOURCES += printf-frexp.c
1176
1177 EXTRA_DIST += printf-frexp.h
1178
1179 ## end   gnulib module printf-frexp
1180
1181 ## begin gnulib module printf-frexpl
1182
1183 libm4_a_SOURCES += printf-frexpl.c
1184
1185 EXTRA_DIST += printf-frexp.c printf-frexpl.h
1186
1187 EXTRA_libm4_a_SOURCES += printf-frexp.c
1188
1189 ## end   gnulib module printf-frexpl
1190
1191 ## begin gnulib module progname
1192
1193 libm4_a_SOURCES += progname.h progname.c
1194
1195 ## end   gnulib module progname
1196
1197 ## begin gnulib module quotearg
1198
1199
1200 EXTRA_DIST += quotearg.c quotearg.h
1201
1202 EXTRA_libm4_a_SOURCES += quotearg.c
1203
1204 ## end   gnulib module quotearg
1205
1206 ## begin gnulib module rawmemchr
1207
1208
1209 EXTRA_DIST += rawmemchr.c rawmemchr.valgrind
1210
1211 EXTRA_libm4_a_SOURCES += rawmemchr.c
1212
1213 ## end   gnulib module rawmemchr
1214
1215 ## begin gnulib module readlink
1216
1217
1218 EXTRA_DIST += readlink.c
1219
1220 EXTRA_libm4_a_SOURCES += readlink.c
1221
1222 ## end   gnulib module readlink
1223
1224 ## begin gnulib module regex
1225
1226
1227 EXTRA_DIST += regcomp.c regex.c regex.h regex_internal.c regex_internal.h regexec.c
1228
1229 EXTRA_libm4_a_SOURCES += regcomp.c regex.c regex_internal.c regexec.c
1230
1231 ## end   gnulib module regex
1232
1233 ## begin gnulib module rename
1234
1235
1236 EXTRA_DIST += rename.c
1237
1238 EXTRA_libm4_a_SOURCES += rename.c
1239
1240 ## end   gnulib module rename
1241
1242 ## begin gnulib module rmdir
1243
1244
1245 EXTRA_DIST += rmdir.c
1246
1247 EXTRA_libm4_a_SOURCES += rmdir.c
1248
1249 ## end   gnulib module rmdir
1250
1251 ## begin gnulib module same-inode
1252
1253
1254 EXTRA_DIST += same-inode.h
1255
1256 ## end   gnulib module same-inode
1257
1258 ## begin gnulib module sched
1259
1260 BUILT_SOURCES += $(SCHED_H)
1261
1262 # We need the following in order to create a replacement for <sched.h> when
1263 # the system doesn't have one.
1264 sched.h: sched.in.h
1265         $(AM_V_GEN)rm -f $@-t $@ && \
1266         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1267           sed -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
1268               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1269               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1270               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1271               -e 's|@''NEXT_SCHED_H''@|$(NEXT_SCHED_H)|g' \
1272               -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|$(HAVE_STRUCT_SCHED_PARAM)|g' \
1273               < $(srcdir)/sched.in.h; \
1274         } > $@-t && \
1275         mv $@-t $@
1276 MOSTLYCLEANFILES += sched.h sched.h-t
1277
1278 EXTRA_DIST += sched.in.h
1279
1280 ## end   gnulib module sched
1281
1282 ## begin gnulib module sigaction
1283
1284
1285 EXTRA_DIST += sig-handler.h sigaction.c
1286
1287 EXTRA_libm4_a_SOURCES += sigaction.c
1288
1289 ## end   gnulib module sigaction
1290
1291 ## begin gnulib module signal
1292
1293 BUILT_SOURCES += signal.h
1294
1295 # We need the following in order to create <signal.h> when the system
1296 # doesn't have a complete one.
1297 signal.h: signal.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1298         $(AM_V_GEN)rm -f $@-t $@ && \
1299         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1300           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1301               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1302               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1303               -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \
1304               -e 's|@''GNULIB_SIGNAL_H_SIGPIPE''@|$(GNULIB_SIGNAL_H_SIGPIPE)|g' \
1305               -e 's|@''GNULIB_SIGPROCMASK''@|$(GNULIB_SIGPROCMASK)|g' \
1306               -e 's|@''GNULIB_SIGACTION''@|$(GNULIB_SIGACTION)|g' \
1307               -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \
1308               -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \
1309               -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \
1310               -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \
1311               -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \
1312               -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \
1313               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1314               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1315               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1316               < $(srcdir)/signal.in.h; \
1317         } > $@-t && \
1318         mv $@-t $@
1319 MOSTLYCLEANFILES += signal.h signal.h-t
1320
1321 EXTRA_DIST += signal.in.h
1322
1323 ## end   gnulib module signal
1324
1325 ## begin gnulib module signbit
1326
1327
1328 EXTRA_DIST += float+.h signbitd.c signbitf.c signbitl.c
1329
1330 EXTRA_libm4_a_SOURCES += signbitd.c signbitf.c signbitl.c
1331
1332 ## end   gnulib module signbit
1333
1334 ## begin gnulib module sigprocmask
1335
1336
1337 EXTRA_DIST += sigprocmask.c
1338
1339 EXTRA_libm4_a_SOURCES += sigprocmask.c
1340
1341 ## end   gnulib module sigprocmask
1342
1343 ## begin gnulib module size_max
1344
1345 libm4_a_SOURCES += size_max.h
1346
1347 ## end   gnulib module size_max
1348
1349 ## begin gnulib module snprintf
1350
1351
1352 EXTRA_DIST += snprintf.c
1353
1354 EXTRA_libm4_a_SOURCES += snprintf.c
1355
1356 ## end   gnulib module snprintf
1357
1358 ## begin gnulib module spawn
1359
1360 BUILT_SOURCES += spawn.h
1361
1362 # We need the following in order to create a replacement for <spawn.h> when
1363 # the system doesn't have one.
1364 spawn.h: spawn.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1365         $(AM_V_GEN)rm -f $@-t $@ && \
1366         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1367           sed -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
1368               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1369               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1370               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1371               -e 's|@''NEXT_SPAWN_H''@|$(NEXT_SPAWN_H)|g' \
1372               -e 's|@''GNULIB_POSIX_SPAWN''@|$(GNULIB_POSIX_SPAWN)|g' \
1373               -e 's|@''GNULIB_POSIX_SPAWNP''@|$(GNULIB_POSIX_SPAWNP)|g' \
1374               -e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT)|g' \
1375               -e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE)|g' \
1376               -e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2)|g' \
1377               -e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN)|g' \
1378               -e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY)|g' \
1379               -e 's|@''GNULIB_POSIX_SPAWNATTR_INIT''@|$(GNULIB_POSIX_SPAWNATTR_INIT)|g' \
1380               -e 's|@''GNULIB_POSIX_SPAWNATTR_GETFLAGS''@|$(GNULIB_POSIX_SPAWNATTR_GETFLAGS)|g' \
1381               -e 's|@''GNULIB_POSIX_SPAWNATTR_SETFLAGS''@|$(GNULIB_POSIX_SPAWNATTR_SETFLAGS)|g' \
1382               -e 's|@''GNULIB_POSIX_SPAWNATTR_GETPGROUP''@|$(GNULIB_POSIX_SPAWNATTR_GETPGROUP)|g' \
1383               -e 's|@''GNULIB_POSIX_SPAWNATTR_SETPGROUP''@|$(GNULIB_POSIX_SPAWNATTR_SETPGROUP)|g' \
1384               -e 's|@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM''@|$(GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM)|g' \
1385               -e 's|@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM''@|$(GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM)|g' \
1386               -e 's|@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY''@|$(GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY)|g' \
1387               -e 's|@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY''@|$(GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY)|g' \
1388               -e 's|@''GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT''@|$(GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT)|g' \
1389               -e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT''@|$(GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT)|g' \
1390               -e 's|@''GNULIB_POSIX_SPAWNATTR_GETSIGMASK''@|$(GNULIB_POSIX_SPAWNATTR_GETSIGMASK)|g' \
1391               -e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGMASK''@|$(GNULIB_POSIX_SPAWNATTR_SETSIGMASK)|g' \
1392               -e 's|@''GNULIB_POSIX_SPAWNATTR_DESTROY''@|$(GNULIB_POSIX_SPAWNATTR_DESTROY)|g' \
1393               -e 's|@''HAVE_POSIX_SPAWN''@|$(HAVE_POSIX_SPAWN)|g' \
1394               -e 's|@''HAVE_POSIX_SPAWNATTR_T''@|$(HAVE_POSIX_SPAWNATTR_T)|g' \
1395               -e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_T''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_T)|g' \
1396               -e 's|@''REPLACE_POSIX_SPAWN''@|$(REPLACE_POSIX_SPAWN)|g' \
1397               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1398               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1399               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1400               < $(srcdir)/spawn.in.h; \
1401         } > $@-t && \
1402         mv $@-t $@
1403 MOSTLYCLEANFILES += spawn.h spawn.h-t
1404
1405 EXTRA_DIST += spawn.in.h
1406
1407 ## end   gnulib module spawn
1408
1409 ## begin gnulib module spawn-pipe
1410
1411 libm4_a_SOURCES += spawn-pipe.h spawn-pipe.c w32spawn.h
1412
1413 ## end   gnulib module spawn-pipe
1414
1415 ## begin gnulib module stat
1416
1417
1418 EXTRA_DIST += stat.c
1419
1420 EXTRA_libm4_a_SOURCES += stat.c
1421
1422 ## end   gnulib module stat
1423
1424 ## begin gnulib module stdarg
1425
1426 BUILT_SOURCES += $(STDARG_H)
1427
1428 # We need the following in order to create <stdarg.h> when the system
1429 # doesn't have one that works with the given compiler.
1430 stdarg.h: stdarg.in.h
1431         $(AM_V_GEN)rm -f $@-t $@ && \
1432         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1433           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1434               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1435               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1436               -e 's|@''NEXT_STDARG_H''@|$(NEXT_STDARG_H)|g' \
1437               < $(srcdir)/stdarg.in.h; \
1438         } > $@-t && \
1439         mv $@-t $@
1440 MOSTLYCLEANFILES += stdarg.h stdarg.h-t
1441
1442 EXTRA_DIST += stdarg.in.h
1443
1444 ## end   gnulib module stdarg
1445
1446 ## begin gnulib module stdbool
1447
1448 BUILT_SOURCES += $(STDBOOL_H)
1449
1450 # We need the following in order to create <stdbool.h> when the system
1451 # doesn't have one that works.
1452 stdbool.h: stdbool.in.h
1453         $(AM_V_GEN)rm -f $@-t $@ && \
1454         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1455           sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \
1456         } > $@-t && \
1457         mv $@-t $@
1458 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
1459
1460 EXTRA_DIST += stdbool.in.h
1461
1462 ## end   gnulib module stdbool
1463
1464 ## begin gnulib module stddef
1465
1466 BUILT_SOURCES += $(STDDEF_H)
1467
1468 # We need the following in order to create <stddef.h> when the system
1469 # doesn't have one that works with the given compiler.
1470 stddef.h: stddef.in.h
1471         $(AM_V_GEN)rm -f $@-t $@ && \
1472         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1473           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1474               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1475               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1476               -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \
1477               -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
1478               -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
1479               < $(srcdir)/stddef.in.h; \
1480         } > $@-t && \
1481         mv $@-t $@
1482 MOSTLYCLEANFILES += stddef.h stddef.h-t
1483
1484 EXTRA_DIST += stddef.in.h
1485
1486 ## end   gnulib module stddef
1487
1488 ## begin gnulib module stdint
1489
1490 BUILT_SOURCES += $(STDINT_H)
1491
1492 # We need the following in order to create <stdint.h> when the system
1493 # doesn't have one that works with the given compiler.
1494 stdint.h: stdint.in.h
1495         $(AM_V_GEN)rm -f $@-t $@ && \
1496         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1497           sed -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
1498               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1499               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1500               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1501               -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \
1502               -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
1503               -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
1504               -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
1505               -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
1506               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
1507               -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
1508               -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \
1509               -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \
1510               -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
1511               -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
1512               -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
1513               -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
1514               -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
1515               -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
1516               -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
1517               -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
1518               -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
1519               -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
1520               -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
1521               -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
1522               -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
1523               < $(srcdir)/stdint.in.h; \
1524         } > $@-t && \
1525         mv $@-t $@
1526 MOSTLYCLEANFILES += stdint.h stdint.h-t
1527
1528 EXTRA_DIST += stdint.in.h
1529
1530 ## end   gnulib module stdint
1531
1532 ## begin gnulib module stdio
1533
1534 BUILT_SOURCES += stdio.h
1535
1536 # We need the following in order to create <stdio.h> when the system
1537 # doesn't have one that works with the given compiler.
1538 stdio.h: stdio.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1539         $(AM_V_GEN)rm -f $@-t $@ && \
1540         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1541           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1542               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1543               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1544               -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \
1545               -e 's|@''GNULIB_DPRINTF''@|$(GNULIB_DPRINTF)|g' \
1546               -e 's|@''GNULIB_FCLOSE''@|$(GNULIB_FCLOSE)|g' \
1547               -e 's|@''GNULIB_FFLUSH''@|$(GNULIB_FFLUSH)|g' \
1548               -e 's|@''GNULIB_FOPEN''@|$(GNULIB_FOPEN)|g' \
1549               -e 's|@''GNULIB_FPRINTF''@|$(GNULIB_FPRINTF)|g' \
1550               -e 's|@''GNULIB_FPRINTF_POSIX''@|$(GNULIB_FPRINTF_POSIX)|g' \
1551               -e 's|@''GNULIB_FPURGE''@|$(GNULIB_FPURGE)|g' \
1552               -e 's|@''GNULIB_FPUTC''@|$(GNULIB_FPUTC)|g' \
1553               -e 's|@''GNULIB_FPUTS''@|$(GNULIB_FPUTS)|g' \
1554               -e 's|@''GNULIB_FREOPEN''@|$(GNULIB_FREOPEN)|g' \
1555               -e 's|@''GNULIB_FSEEK''@|$(GNULIB_FSEEK)|g' \
1556               -e 's|@''GNULIB_FSEEKO''@|$(GNULIB_FSEEKO)|g' \
1557               -e 's|@''GNULIB_FTELL''@|$(GNULIB_FTELL)|g' \
1558               -e 's|@''GNULIB_FTELLO''@|$(GNULIB_FTELLO)|g' \
1559               -e 's|@''GNULIB_FWRITE''@|$(GNULIB_FWRITE)|g' \
1560               -e 's|@''GNULIB_GETDELIM''@|$(GNULIB_GETDELIM)|g' \
1561               -e 's|@''GNULIB_GETLINE''@|$(GNULIB_GETLINE)|g' \
1562               -e 's|@''GNULIB_OBSTACK_PRINTF''@|$(GNULIB_OBSTACK_PRINTF)|g' \
1563               -e 's|@''GNULIB_OBSTACK_PRINTF_POSIX''@|$(GNULIB_OBSTACK_PRINTF_POSIX)|g' \
1564               -e 's|@''GNULIB_PERROR''@|$(GNULIB_PERROR)|g' \
1565               -e 's|@''GNULIB_POPEN''@|$(GNULIB_POPEN)|g' \
1566               -e 's|@''GNULIB_PRINTF''@|$(GNULIB_PRINTF)|g' \
1567               -e 's|@''GNULIB_PRINTF_POSIX''@|$(GNULIB_PRINTF_POSIX)|g' \
1568               -e 's|@''GNULIB_PUTC''@|$(GNULIB_PUTC)|g' \
1569               -e 's|@''GNULIB_PUTCHAR''@|$(GNULIB_PUTCHAR)|g' \
1570               -e 's|@''GNULIB_PUTS''@|$(GNULIB_PUTS)|g' \
1571               -e 's|@''GNULIB_REMOVE''@|$(GNULIB_REMOVE)|g' \
1572               -e 's|@''GNULIB_RENAME''@|$(GNULIB_RENAME)|g' \
1573               -e 's|@''GNULIB_RENAMEAT''@|$(GNULIB_RENAMEAT)|g' \
1574               -e 's|@''GNULIB_SNPRINTF''@|$(GNULIB_SNPRINTF)|g' \
1575               -e 's|@''GNULIB_SPRINTF_POSIX''@|$(GNULIB_SPRINTF_POSIX)|g' \
1576               -e 's|@''GNULIB_STDIO_H_SIGPIPE''@|$(GNULIB_STDIO_H_SIGPIPE)|g' \
1577               -e 's|@''GNULIB_TMPFILE''@|$(GNULIB_TMPFILE)|g' \
1578               -e 's|@''GNULIB_VASPRINTF''@|$(GNULIB_VASPRINTF)|g' \
1579               -e 's|@''GNULIB_VDPRINTF''@|$(GNULIB_VDPRINTF)|g' \
1580               -e 's|@''GNULIB_VFPRINTF''@|$(GNULIB_VFPRINTF)|g' \
1581               -e 's|@''GNULIB_VFPRINTF_POSIX''@|$(GNULIB_VFPRINTF_POSIX)|g' \
1582               -e 's|@''GNULIB_VPRINTF''@|$(GNULIB_VPRINTF)|g' \
1583               -e 's|@''GNULIB_VPRINTF_POSIX''@|$(GNULIB_VPRINTF_POSIX)|g' \
1584               -e 's|@''GNULIB_VSNPRINTF''@|$(GNULIB_VSNPRINTF)|g' \
1585               -e 's|@''GNULIB_VSPRINTF_POSIX''@|$(GNULIB_VSPRINTF_POSIX)|g' \
1586               < $(srcdir)/stdio.in.h | \
1587           sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \
1588               -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \
1589               -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \
1590               -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \
1591               -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \
1592               -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \
1593               -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \
1594               -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \
1595               -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \
1596               -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \
1597               -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \
1598               -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \
1599               -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \
1600               -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \
1601               -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \
1602               -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \
1603               -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \
1604               -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \
1605               -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \
1606               -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \
1607               -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \
1608               -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \
1609               -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \
1610               -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \
1611               -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \
1612               -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \
1613               -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \
1614               -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \
1615               -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \
1616               -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \
1617               -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \
1618               -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \
1619               -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \
1620               -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \
1621               -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \
1622               -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \
1623               -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \
1624               -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \
1625               -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \
1626               -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \
1627               -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \
1628               -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \
1629               -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \
1630               -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \
1631               -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \
1632               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1633               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1634               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1635         } > $@-t && \
1636         mv $@-t $@
1637 MOSTLYCLEANFILES += stdio.h stdio.h-t
1638
1639 EXTRA_DIST += stdio.in.h
1640
1641 ## end   gnulib module stdio
1642
1643 ## begin gnulib module stdlib
1644
1645 BUILT_SOURCES += stdlib.h
1646
1647 # We need the following in order to create <stdlib.h> when the system
1648 # doesn't have one that works with the given compiler.
1649 stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1650         $(AM_V_GEN)rm -f $@-t $@ && \
1651         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1652           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1653               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1654               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1655               -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
1656               -e 's|@''GNULIB__EXIT''@|$(GNULIB__EXIT)|g' \
1657               -e 's|@''GNULIB_ATOLL''@|$(GNULIB_ATOLL)|g' \
1658               -e 's|@''GNULIB_CALLOC_POSIX''@|$(GNULIB_CALLOC_POSIX)|g' \
1659               -e 's|@''GNULIB_CANONICALIZE_FILE_NAME''@|$(GNULIB_CANONICALIZE_FILE_NAME)|g' \
1660               -e 's|@''GNULIB_GETLOADAVG''@|$(GNULIB_GETLOADAVG)|g' \
1661               -e 's|@''GNULIB_GETSUBOPT''@|$(GNULIB_GETSUBOPT)|g' \
1662               -e 's|@''GNULIB_GRANTPT''@|$(GNULIB_GRANTPT)|g' \
1663               -e 's|@''GNULIB_MALLOC_POSIX''@|$(GNULIB_MALLOC_POSIX)|g' \
1664               -e 's|@''GNULIB_MBTOWC''@|$(GNULIB_MBTOWC)|g' \
1665               -e 's|@''GNULIB_MKDTEMP''@|$(GNULIB_MKDTEMP)|g' \
1666               -e 's|@''GNULIB_MKOSTEMP''@|$(GNULIB_MKOSTEMP)|g' \
1667               -e 's|@''GNULIB_MKOSTEMPS''@|$(GNULIB_MKOSTEMPS)|g' \
1668               -e 's|@''GNULIB_MKSTEMP''@|$(GNULIB_MKSTEMP)|g' \
1669               -e 's|@''GNULIB_MKSTEMPS''@|$(GNULIB_MKSTEMPS)|g' \
1670               -e 's|@''GNULIB_PTSNAME''@|$(GNULIB_PTSNAME)|g' \
1671               -e 's|@''GNULIB_PUTENV''@|$(GNULIB_PUTENV)|g' \
1672               -e 's|@''GNULIB_RANDOM_R''@|$(GNULIB_RANDOM_R)|g' \
1673               -e 's|@''GNULIB_REALLOC_POSIX''@|$(GNULIB_REALLOC_POSIX)|g' \
1674               -e 's|@''GNULIB_REALPATH''@|$(GNULIB_REALPATH)|g' \
1675               -e 's|@''GNULIB_RPMATCH''@|$(GNULIB_RPMATCH)|g' \
1676               -e 's|@''GNULIB_SETENV''@|$(GNULIB_SETENV)|g' \
1677               -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \
1678               -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \
1679               -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \
1680               -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \
1681               -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \
1682               -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \
1683               -e 's|@''GNULIB_WCTOMB''@|$(GNULIB_WCTOMB)|g' \
1684               < $(srcdir)/stdlib.in.h | \
1685           sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
1686               -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
1687               -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
1688               -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
1689               -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
1690               -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
1691               -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
1692               -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
1693               -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
1694               -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
1695               -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
1696               -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
1697               -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
1698               -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
1699               -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
1700               -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
1701               -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
1702               -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
1703               -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
1704               -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
1705               -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
1706               -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
1707               -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
1708               -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
1709               -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \
1710               -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
1711               -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \
1712               -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
1713               -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
1714               -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
1715               -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \
1716               -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
1717               -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
1718               -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
1719               -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
1720               -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
1721               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1722               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1723               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1724         } > $@-t && \
1725         mv $@-t $@
1726 MOSTLYCLEANFILES += stdlib.h stdlib.h-t
1727
1728 EXTRA_DIST += stdlib.in.h
1729
1730 ## end   gnulib module stdlib
1731
1732 ## begin gnulib module stdlib-safer
1733
1734
1735 EXTRA_DIST += mkstemp-safer.c stdlib--.h stdlib-safer.h
1736
1737 EXTRA_libm4_a_SOURCES += mkstemp-safer.c
1738
1739 ## end   gnulib module stdlib-safer
1740
1741 ## begin gnulib module strchrnul
1742
1743
1744 EXTRA_DIST += strchrnul.c strchrnul.valgrind
1745
1746 EXTRA_libm4_a_SOURCES += strchrnul.c
1747
1748 ## end   gnulib module strchrnul
1749
1750 ## begin gnulib module streq
1751
1752
1753 EXTRA_DIST += streq.h
1754
1755 ## end   gnulib module streq
1756
1757 ## begin gnulib module strerror
1758
1759
1760 EXTRA_DIST += strerror.c
1761
1762 EXTRA_libm4_a_SOURCES += strerror.c
1763
1764 ## end   gnulib module strerror
1765
1766 ## begin gnulib module string
1767
1768 BUILT_SOURCES += string.h
1769
1770 # We need the following in order to create <string.h> when the system
1771 # doesn't have one that works with the given compiler.
1772 string.h: string.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1773         $(AM_V_GEN)rm -f $@-t $@ && \
1774         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
1775           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1776               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1777               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1778               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
1779               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
1780               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
1781               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
1782               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
1783               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
1784               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
1785               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
1786               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
1787               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
1788               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
1789               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
1790               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
1791               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
1792               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
1793               -e 's|@''GNULIB_MEMCHR''@|$(GNULIB_MEMCHR)|g' \
1794               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
1795               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
1796               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
1797               -e 's|@''GNULIB_RAWMEMCHR''@|$(GNULIB_RAWMEMCHR)|g' \
1798               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
1799               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
1800               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
1801               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
1802               -e 's|@''GNULIB_STRNCAT''@|$(GNULIB_STRNCAT)|g' \
1803               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
1804               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
1805               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
1806               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
1807               -e 's|@''GNULIB_STRSTR''@|$(GNULIB_STRSTR)|g' \
1808               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
1809               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
1810               -e 's|@''GNULIB_STRERROR''@|$(GNULIB_STRERROR)|g' \
1811               -e 's|@''GNULIB_STRERROR_R''@|$(GNULIB_STRERROR_R)|g' \
1812               -e 's|@''GNULIB_STRSIGNAL''@|$(GNULIB_STRSIGNAL)|g' \
1813               -e 's|@''GNULIB_STRVERSCMP''@|$(GNULIB_STRVERSCMP)|g' \
1814               < $(srcdir)/string.in.h | \
1815           sed -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \
1816               -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \
1817               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
1818               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
1819               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
1820               -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \
1821               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
1822               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
1823               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
1824               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
1825               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
1826               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
1827               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
1828               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
1829               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
1830               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
1831               -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \
1832               -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
1833               -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
1834               -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \
1835               -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
1836               -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
1837               -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \
1838               -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \
1839               -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \
1840               -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
1841               -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \
1842               -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \
1843               -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \
1844               -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \
1845               -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \
1846               -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \
1847               -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \
1848               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1849               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1850               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
1851               < $(srcdir)/string.in.h; \
1852         } > $@-t && \
1853         mv $@-t $@
1854 MOSTLYCLEANFILES += string.h string.h-t
1855
1856 EXTRA_DIST += string.in.h
1857
1858 ## end   gnulib module string
1859
1860 ## begin gnulib module strndup
1861
1862
1863 EXTRA_DIST += strndup.c
1864
1865 EXTRA_libm4_a_SOURCES += strndup.c
1866
1867 ## end   gnulib module strndup
1868
1869 ## begin gnulib module strnlen
1870
1871
1872 EXTRA_DIST += strnlen.c
1873
1874 EXTRA_libm4_a_SOURCES += strnlen.c
1875
1876 ## end   gnulib module strnlen
1877
1878 ## begin gnulib module strsignal
1879
1880
1881 EXTRA_DIST += siglist.h strsignal.c
1882
1883 EXTRA_libm4_a_SOURCES += strsignal.c
1884
1885 ## end   gnulib module strsignal
1886
1887 ## begin gnulib module strstr-simple
1888
1889
1890 EXTRA_DIST += str-two-way.h strstr.c
1891
1892 EXTRA_libm4_a_SOURCES += strstr.c
1893
1894 ## end   gnulib module strstr-simple
1895
1896 ## begin gnulib module strtod
1897
1898
1899 EXTRA_DIST += strtod.c
1900
1901 EXTRA_libm4_a_SOURCES += strtod.c
1902
1903 ## end   gnulib module strtod
1904
1905 ## begin gnulib module strtol
1906
1907
1908 EXTRA_DIST += strtol.c
1909
1910 EXTRA_libm4_a_SOURCES += strtol.c
1911
1912 ## end   gnulib module strtol
1913
1914 ## begin gnulib module sys_stat
1915
1916 BUILT_SOURCES += sys/stat.h
1917
1918 # We need the following in order to create <sys/stat.h> when the system
1919 # has one that is incomplete.
1920 sys/stat.h: sys_stat.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1921         $(AM_V_at)$(MKDIR_P) sys
1922         $(AM_V_GEN)rm -f $@-t $@ && \
1923         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1924           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1925               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1926               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1927               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
1928               -e 's|@''GNULIB_FCHMODAT''@|$(GNULIB_FCHMODAT)|g' \
1929               -e 's|@''GNULIB_FSTATAT''@|$(GNULIB_FSTATAT)|g' \
1930               -e 's|@''GNULIB_FUTIMENS''@|$(GNULIB_FUTIMENS)|g' \
1931               -e 's|@''GNULIB_LCHMOD''@|$(GNULIB_LCHMOD)|g' \
1932               -e 's|@''GNULIB_LSTAT''@|$(GNULIB_LSTAT)|g' \
1933               -e 's|@''GNULIB_MKDIRAT''@|$(GNULIB_MKDIRAT)|g' \
1934               -e 's|@''GNULIB_MKFIFO''@|$(GNULIB_MKFIFO)|g' \
1935               -e 's|@''GNULIB_MKFIFOAT''@|$(GNULIB_MKFIFOAT)|g' \
1936               -e 's|@''GNULIB_MKNOD''@|$(GNULIB_MKNOD)|g' \
1937               -e 's|@''GNULIB_MKNODAT''@|$(GNULIB_MKNODAT)|g' \
1938               -e 's|@''GNULIB_STAT''@|$(GNULIB_STAT)|g' \
1939               -e 's|@''GNULIB_UTIMENSAT''@|$(GNULIB_UTIMENSAT)|g' \
1940               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
1941               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
1942               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
1943               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
1944               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
1945               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
1946               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
1947               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
1948               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
1949               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
1950               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
1951               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
1952               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
1953               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
1954               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
1955               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
1956               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
1957               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
1958               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
1959               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
1960               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1961               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1962               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1963               < $(srcdir)/sys_stat.in.h; \
1964         } > $@-t && \
1965         mv $@-t $@
1966 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
1967 MOSTLYCLEANDIRS += sys
1968
1969 EXTRA_DIST += sys_stat.in.h
1970
1971 ## end   gnulib module sys_stat
1972
1973 ## begin gnulib module sys_time
1974
1975 BUILT_SOURCES += sys/time.h
1976
1977 # We need the following in order to create <sys/time.h> when the system
1978 # doesn't have one that works with the given compiler.
1979 sys/time.h: sys_time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
1980         $(AM_V_at)$(MKDIR_P) sys
1981         $(AM_V_GEN)rm -f $@-t $@ && \
1982         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
1983           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
1984               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
1985               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
1986               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
1987               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
1988               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
1989               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
1990               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
1991               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
1992               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1993               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1994               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1995               < $(srcdir)/sys_time.in.h; \
1996         } > $@-t && \
1997         mv $@-t $@
1998 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
1999
2000 EXTRA_DIST += sys_time.in.h
2001
2002 ## end   gnulib module sys_time
2003
2004 ## begin gnulib module sys_wait
2005
2006 BUILT_SOURCES += sys/wait.h
2007
2008 # We need the following in order to create <sys/wait.h> when the system
2009 # has one that is incomplete.
2010 sys/wait.h: sys_wait.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
2011         $(AM_V_at)$(MKDIR_P) sys
2012         $(AM_V_GEN)rm -f $@-t $@ && \
2013         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2014           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2015               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2016               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2017               -e 's|@''NEXT_SYS_WAIT_H''@|$(NEXT_SYS_WAIT_H)|g' \
2018               -e 's|@''GNULIB_WAITPID''@|$(GNULIB_WAITPID)|g' \
2019               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2020               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2021               < $(srcdir)/sys_wait.in.h; \
2022         } > $@-t && \
2023         mv $@-t $@
2024 MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t
2025 MOSTLYCLEANDIRS += sys
2026
2027 EXTRA_DIST += sys_wait.in.h
2028
2029 ## end   gnulib module sys_wait
2030
2031 ## begin gnulib module tempname
2032
2033
2034 EXTRA_DIST += tempname.c tempname.h
2035
2036 EXTRA_libm4_a_SOURCES += tempname.c
2037
2038 ## end   gnulib module tempname
2039
2040 ## begin gnulib module threadlib
2041
2042 libm4_a_SOURCES += glthread/threadlib.c
2043
2044 EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath
2045
2046 ## end   gnulib module threadlib
2047
2048 ## begin gnulib module time
2049
2050 BUILT_SOURCES += time.h
2051
2052 # We need the following in order to create <time.h> when the system
2053 # doesn't have one that works with the given compiler.
2054 time.h: time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2055         $(AM_V_GEN)rm -f $@-t $@ && \
2056         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
2057           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2058               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2059               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2060               -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \
2061               -e 's|@''GNULIB_MKTIME''@|$(GNULIB_MKTIME)|g' \
2062               -e 's|@''GNULIB_NANOSLEEP''@|$(GNULIB_NANOSLEEP)|g' \
2063               -e 's|@''GNULIB_STRPTIME''@|$(GNULIB_STRPTIME)|g' \
2064               -e 's|@''GNULIB_TIMEGM''@|$(GNULIB_TIMEGM)|g' \
2065               -e 's|@''GNULIB_TIME_R''@|$(GNULIB_TIME_R)|g' \
2066               -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \
2067               -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \
2068               -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \
2069               -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \
2070               -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \
2071               -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \
2072               -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \
2073               -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \
2074               -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
2075               -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2076               -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
2077               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2078               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2079               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2080               < $(srcdir)/time.in.h; \
2081         } > $@-t && \
2082         mv $@-t $@
2083 MOSTLYCLEANFILES += time.h time.h-t
2084
2085 EXTRA_DIST += time.in.h
2086
2087 ## end   gnulib module time
2088
2089 ## begin gnulib module tls
2090
2091 libm4_a_SOURCES += glthread/tls.h glthread/tls.c
2092
2093 ## end   gnulib module tls
2094
2095 ## begin gnulib module tmpdir
2096
2097 libm4_a_SOURCES += tmpdir.h tmpdir.c
2098
2099 ## end   gnulib module tmpdir
2100
2101 ## begin gnulib module unistd
2102
2103 BUILT_SOURCES += unistd.h
2104
2105 # We need the following in order to create an empty placeholder for
2106 # <unistd.h> when the system doesn't have one.
2107 unistd.h: unistd.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2108         $(AM_V_GEN)rm -f $@-t $@ && \
2109         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2110           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
2111               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2112               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2113               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2114               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
2115               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
2116               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
2117               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
2118               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
2119               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
2120               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
2121               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
2122               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
2123               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
2124               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
2125               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
2126               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
2127               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
2128               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
2129               -e 's|@''GNULIB_GETGROUPS''@|$(GNULIB_GETGROUPS)|g' \
2130               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
2131               -e 's|@''GNULIB_GETLOGIN''@|$(GNULIB_GETLOGIN)|g' \
2132               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
2133               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
2134               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
2135               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
2136               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
2137               -e 's|@''GNULIB_LINKAT''@|$(GNULIB_LINKAT)|g' \
2138               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
2139               -e 's|@''GNULIB_PIPE''@|$(GNULIB_PIPE)|g' \
2140               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
2141               -e 's|@''GNULIB_PREAD''@|$(GNULIB_PREAD)|g' \
2142               -e 's|@''GNULIB_PWRITE''@|$(GNULIB_PWRITE)|g' \
2143               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
2144               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
2145               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
2146               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
2147               -e 's|@''GNULIB_SYMLINK''@|$(GNULIB_SYMLINK)|g' \
2148               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
2149               -e 's|@''GNULIB_TTYNAME_R''@|$(GNULIB_TTYNAME_R)|g' \
2150               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
2151               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
2152               -e 's|@''GNULIB_UNLINK''@|$(GNULIB_UNLINK)|g' \
2153               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
2154               -e 's|@''GNULIB_USLEEP''@|$(GNULIB_USLEEP)|g' \
2155               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
2156               < $(srcdir)/unistd.in.h | \
2157           sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \
2158               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
2159               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
2160               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
2161               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
2162               -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \
2163               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
2164               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
2165               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
2166               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
2167               -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \
2168               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
2169               -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \
2170               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
2171               -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \
2172               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
2173               -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \
2174               -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \
2175               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
2176               -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \
2177               -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \
2178               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
2179               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
2180               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
2181               -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \
2182               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
2183               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
2184               -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \
2185               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
2186               -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \
2187               -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \
2188               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
2189               -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \
2190               -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \
2191               -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \
2192               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
2193               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
2194           | \
2195           sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
2196               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
2197               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
2198               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
2199               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
2200               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
2201               -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \
2202               -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \
2203               -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \
2204               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
2205               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
2206               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
2207               -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \
2208               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
2209               -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \
2210               -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \
2211               -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \
2212               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
2213               -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \
2214               -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \
2215               -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \
2216               -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \
2217               -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \
2218               -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \
2219               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
2220               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
2221               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
2222               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2223               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2224               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2225         } > $@-t && \
2226         mv $@-t $@
2227 MOSTLYCLEANFILES += unistd.h unistd.h-t
2228
2229 EXTRA_DIST += unistd.in.h
2230
2231 ## end   gnulib module unistd
2232
2233 ## begin gnulib module unistd-safer
2234
2235
2236 EXTRA_DIST += dup-safer.c fd-safer.c pipe-safer.c unistd--.h unistd-safer.h
2237
2238 EXTRA_libm4_a_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
2239
2240 ## end   gnulib module unistd-safer
2241
2242 ## begin gnulib module unlocked-io
2243
2244
2245 EXTRA_DIST += unlocked-io.h
2246
2247 ## end   gnulib module unlocked-io
2248
2249 ## begin gnulib module update-copyright
2250
2251
2252 EXTRA_DIST += $(top_srcdir)/build-aux/update-copyright
2253
2254 ## end   gnulib module update-copyright
2255
2256 ## begin gnulib module useless-if-before-free
2257
2258
2259 EXTRA_DIST += $(top_srcdir)/build-aux/useless-if-before-free
2260
2261 ## end   gnulib module useless-if-before-free
2262
2263 ## begin gnulib module vasnprintf
2264
2265
2266 EXTRA_DIST += asnprintf.c float+.h printf-args.c printf-args.h printf-parse.c printf-parse.h vasnprintf.c vasnprintf.h
2267
2268 EXTRA_libm4_a_SOURCES += asnprintf.c printf-args.c printf-parse.c vasnprintf.c
2269
2270 ## end   gnulib module vasnprintf
2271
2272 ## begin gnulib module vasprintf
2273
2274
2275 EXTRA_DIST += asprintf.c vasprintf.c
2276
2277 EXTRA_libm4_a_SOURCES += asprintf.c vasprintf.c
2278
2279 ## end   gnulib module vasprintf
2280
2281 ## begin gnulib module vc-list-files
2282
2283
2284 EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files
2285
2286 ## end   gnulib module vc-list-files
2287
2288 ## begin gnulib module verify
2289
2290 libm4_a_SOURCES += verify.h
2291
2292 ## end   gnulib module verify
2293
2294 ## begin gnulib module verror
2295
2296 libm4_a_SOURCES += verror.h verror.c
2297
2298 ## end   gnulib module verror
2299
2300 ## begin gnulib module version-etc
2301
2302 libm4_a_SOURCES += version-etc.h version-etc.c
2303
2304 ## end   gnulib module version-etc
2305
2306 ## begin gnulib module version-etc-fsf
2307
2308 libm4_a_SOURCES += version-etc-fsf.c
2309
2310 ## end   gnulib module version-etc-fsf
2311
2312 ## begin gnulib module wait-process
2313
2314 libm4_a_SOURCES += wait-process.h wait-process.c
2315
2316 ## end   gnulib module wait-process
2317
2318 ## begin gnulib module waitpid
2319
2320
2321 EXTRA_DIST += waitpid.c
2322
2323 EXTRA_libm4_a_SOURCES += waitpid.c
2324
2325 ## end   gnulib module waitpid
2326
2327 ## begin gnulib module warn-on-use
2328
2329 BUILT_SOURCES += warn-on-use.h
2330 # The warn-on-use.h that gets inserted into generated .h files is the same as
2331 # build-aux/warn-on-use.h, except that it has the copyright header cut off.
2332 warn-on-use.h: $(top_srcdir)/build-aux/warn-on-use.h
2333         $(AM_V_GEN)rm -f $@-t $@ && \
2334         sed -n -e '/^.ifndef/,$$p' \
2335           < $(top_srcdir)/build-aux/warn-on-use.h \
2336           > $@-t && \
2337         mv $@-t $@
2338 MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t
2339
2340 WARN_ON_USE_H=warn-on-use.h
2341
2342 EXTRA_DIST += $(top_srcdir)/build-aux/warn-on-use.h
2343
2344 ## end   gnulib module warn-on-use
2345
2346 ## begin gnulib module wchar
2347
2348 BUILT_SOURCES += wchar.h
2349
2350 # We need the following in order to create <wchar.h> when the system
2351 # version does not work standalone.
2352 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
2353         $(AM_V_GEN)rm -f $@-t $@ && \
2354         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2355           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2356               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2357               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2358               -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
2359               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
2360               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
2361               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
2362               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
2363               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
2364               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
2365               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
2366               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
2367               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
2368               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
2369               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
2370               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
2371               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
2372               -e 's|@''GNULIB_WMEMCHR''@|$(GNULIB_WMEMCHR)|g' \
2373               -e 's|@''GNULIB_WMEMCMP''@|$(GNULIB_WMEMCMP)|g' \
2374               -e 's|@''GNULIB_WMEMCPY''@|$(GNULIB_WMEMCPY)|g' \
2375               -e 's|@''GNULIB_WMEMMOVE''@|$(GNULIB_WMEMMOVE)|g' \
2376               -e 's|@''GNULIB_WMEMSET''@|$(GNULIB_WMEMSET)|g' \
2377               -e 's|@''GNULIB_WCSLEN''@|$(GNULIB_WCSLEN)|g' \
2378               -e 's|@''GNULIB_WCSNLEN''@|$(GNULIB_WCSNLEN)|g' \
2379               -e 's|@''GNULIB_WCSCPY''@|$(GNULIB_WCSCPY)|g' \
2380               -e 's|@''GNULIB_WCPCPY''@|$(GNULIB_WCPCPY)|g' \
2381               -e 's|@''GNULIB_WCSNCPY''@|$(GNULIB_WCSNCPY)|g' \
2382               -e 's|@''GNULIB_WCPNCPY''@|$(GNULIB_WCPNCPY)|g' \
2383               -e 's|@''GNULIB_WCSCAT''@|$(GNULIB_WCSCAT)|g' \
2384               -e 's|@''GNULIB_WCSNCAT''@|$(GNULIB_WCSNCAT)|g' \
2385               -e 's|@''GNULIB_WCSCMP''@|$(GNULIB_WCSCMP)|g' \
2386               -e 's|@''GNULIB_WCSNCMP''@|$(GNULIB_WCSNCMP)|g' \
2387               -e 's|@''GNULIB_WCSCASECMP''@|$(GNULIB_WCSCASECMP)|g' \
2388               -e 's|@''GNULIB_WCSNCASECMP''@|$(GNULIB_WCSNCASECMP)|g' \
2389               -e 's|@''GNULIB_WCSCOLL''@|$(GNULIB_WCSCOLL)|g' \
2390               -e 's|@''GNULIB_WCSXFRM''@|$(GNULIB_WCSXFRM)|g' \
2391               -e 's|@''GNULIB_WCSDUP''@|$(GNULIB_WCSDUP)|g' \
2392               -e 's|@''GNULIB_WCSCHR''@|$(GNULIB_WCSCHR)|g' \
2393               -e 's|@''GNULIB_WCSRCHR''@|$(GNULIB_WCSRCHR)|g' \
2394               -e 's|@''GNULIB_WCSCSPN''@|$(GNULIB_WCSCSPN)|g' \
2395               -e 's|@''GNULIB_WCSSPN''@|$(GNULIB_WCSSPN)|g' \
2396               -e 's|@''GNULIB_WCSPBRK''@|$(GNULIB_WCSPBRK)|g' \
2397               -e 's|@''GNULIB_WCSSTR''@|$(GNULIB_WCSSTR)|g' \
2398               -e 's|@''GNULIB_WCSTOK''@|$(GNULIB_WCSTOK)|g' \
2399               -e 's|@''GNULIB_WCSWIDTH''@|$(GNULIB_WCSWIDTH)|g' \
2400               < $(srcdir)/wchar.in.h | \
2401           sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
2402               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
2403               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
2404               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
2405               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
2406               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
2407               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
2408               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
2409               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
2410               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
2411               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
2412               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
2413               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
2414               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
2415               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
2416               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
2417               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
2418               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
2419               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
2420               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
2421               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
2422               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
2423               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
2424               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
2425               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
2426               -e 's|@''HAVE_WCSCASECMP''@|$(HAVE_WCSCASECMP)|g' \
2427               -e 's|@''HAVE_WCSNCASECMP''@|$(HAVE_WCSNCASECMP)|g' \
2428               -e 's|@''HAVE_WCSCOLL''@|$(HAVE_WCSCOLL)|g' \
2429               -e 's|@''HAVE_WCSXFRM''@|$(HAVE_WCSXFRM)|g' \
2430               -e 's|@''HAVE_WCSDUP''@|$(HAVE_WCSDUP)|g' \
2431               -e 's|@''HAVE_WCSCHR''@|$(HAVE_WCSCHR)|g' \
2432               -e 's|@''HAVE_WCSRCHR''@|$(HAVE_WCSRCHR)|g' \
2433               -e 's|@''HAVE_WCSCSPN''@|$(HAVE_WCSCSPN)|g' \
2434               -e 's|@''HAVE_WCSSPN''@|$(HAVE_WCSSPN)|g' \
2435               -e 's|@''HAVE_WCSPBRK''@|$(HAVE_WCSPBRK)|g' \
2436               -e 's|@''HAVE_WCSSTR''@|$(HAVE_WCSSTR)|g' \
2437               -e 's|@''HAVE_WCSTOK''@|$(HAVE_WCSTOK)|g' \
2438               -e 's|@''HAVE_WCSWIDTH''@|$(HAVE_WCSWIDTH)|g' \
2439               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
2440               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
2441           | \
2442           sed -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
2443               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
2444               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
2445               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
2446               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
2447               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
2448               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
2449               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
2450               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
2451               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
2452               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
2453               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
2454               -e 's|@''REPLACE_WCSWIDTH''@|$(REPLACE_WCSWIDTH)|g' \
2455               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2456               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
2457               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
2458         } > $@-t && \
2459         mv $@-t $@
2460 MOSTLYCLEANFILES += wchar.h wchar.h-t
2461
2462 EXTRA_DIST += wchar.in.h
2463
2464 ## end   gnulib module wchar
2465
2466 ## begin gnulib module wcrtomb
2467
2468
2469 EXTRA_DIST += wcrtomb.c
2470
2471 EXTRA_libm4_a_SOURCES += wcrtomb.c
2472
2473 ## end   gnulib module wcrtomb
2474
2475 ## begin gnulib module wctype-h
2476
2477 BUILT_SOURCES += wctype.h
2478
2479 # We need the following in order to create <wctype.h> when the system
2480 # doesn't have one that works with the given compiler.
2481 wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
2482         $(AM_V_GEN)rm -f $@-t $@ && \
2483         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
2484           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
2485               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
2486               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
2487               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
2488               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
2489               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
2490               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
2491               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
2492               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
2493               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
2494               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
2495               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
2496               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
2497               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
2498               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
2499               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
2500               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
2501               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
2502               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
2503               < $(srcdir)/wctype.in.h; \
2504         } > $@-t && \
2505         mv $@-t $@
2506 MOSTLYCLEANFILES += wctype.h wctype.h-t
2507
2508 EXTRA_DIST += wctype.in.h
2509
2510 ## end   gnulib module wctype-h
2511
2512 ## begin gnulib module xalloc
2513
2514
2515 EXTRA_DIST += xalloc.h xmalloc.c
2516
2517 EXTRA_libm4_a_SOURCES += xmalloc.c
2518
2519 ## end   gnulib module xalloc
2520
2521 ## begin gnulib module xalloc-die
2522
2523 libm4_a_SOURCES += xalloc-die.c
2524
2525 ## end   gnulib module xalloc-die
2526
2527 ## begin gnulib module xlist
2528
2529 libm4_a_SOURCES += gl_xlist.h gl_xlist.c
2530
2531 ## end   gnulib module xlist
2532
2533 ## begin gnulib module xmalloca
2534
2535 libm4_a_SOURCES += xmalloca.c
2536
2537 EXTRA_DIST += xmalloca.h
2538
2539 ## end   gnulib module xmalloca
2540
2541 ## begin gnulib module xoset
2542
2543 libm4_a_SOURCES += gl_xoset.h gl_xoset.c
2544
2545 ## end   gnulib module xoset
2546
2547 ## begin gnulib module xprintf
2548
2549 libm4_a_SOURCES += xprintf.h xprintf.c
2550
2551 ## end   gnulib module xprintf
2552
2553 ## begin gnulib module xsize
2554
2555 libm4_a_SOURCES += xsize.h
2556
2557 ## end   gnulib module xsize
2558
2559 ## begin gnulib module xstrndup
2560
2561 libm4_a_SOURCES += xstrndup.h xstrndup.c
2562
2563 ## end   gnulib module xstrndup
2564
2565 ## begin gnulib module xvasprintf
2566
2567 libm4_a_SOURCES += xvasprintf.h xvasprintf.c xasprintf.c
2568
2569 EXTRA_DIST += xalloc.h
2570
2571 ## end   gnulib module xvasprintf
2572
2573
2574 mostlyclean-local: mostlyclean-generic
2575         @for dir in '' $(MOSTLYCLEANDIRS); do \
2576           if test -n "$$dir" && test -d $$dir; then \
2577             echo "rmdir $$dir"; rmdir $$dir; \
2578           fi; \
2579         done; \
2580         :