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