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