summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* regenAkim Demaille2013-01-091-1/+1
|
* gnulib: updateAkim Demaille2012-12-311-7/+8
|
* Merge remote-tracking branch 'origin/maint'Akim Demaille2012-07-191-47/+66
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/maint: maint: update gnu-web-doc-update. maint: post-release administrivia version 2.6 maint: prepare for release 2.6 maint: post-release administrivia version 2.5.91 maint: prepare NEWS. maint: fix spaces. tests: adjust to case where the C compiler is actually a C++ compiler tests: fix dependencies doc: fix Texinfo command maint: Valgrind on OS X. tests: be sure that backups are safe. maint: dead comment. tests: refactor for legibility. tests: refactor the bison invocations. maint: fix syntax-check ignore patterns. gnulib: update gnulib: update. gnulib: update Conflicts: build-aux/Makefile.am cfg.mk tests/Makefile.am
| * gnulib: updateAkim Demaille2012-07-101-47/+64
|/ | | | * bootstrap, build-aux/.gitignore, gnulib, m4/.gitignore: update.
* gnulib: update.Akim Demaille2012-07-051-5/+6
| | | | | * bootstrap, gnulib: Update. * cfg.mk (syntax-check): Don't check "error" usage in bison.texi.
* build: fix ChangeLog generation.Akim Demaille2012-05-231-56/+81
| | | | | | * gnulib: Update to get newest gitlog-to-changelog. * bootstrap: Update. * Makefile.am (gen-ChangeLog): Fix for Bison's git log style.
* maint: update gnulib.Akim Demaille2012-05-111-4/+38
| | | | * bootstrap, gnulib: Update.
* build: fix previous commit.Akim Demaille2012-04-161-3/+2
| | | | * bootstrap: Update from gnulib.
* install-pdf: fix.Akim Demaille2012-04-161-2/+5
| | | | | | | * gnulib: Fix install-pdf in po/ and runtime-po/. Reported by Hans Aberg. Fixed by Joel E. Denny. http://lists.gnu.org/archive/html/bug-bison/2011-05/msg00008.html
* gnulib: update.Akim Demaille2012-04-071-5/+6
| | | | | | | * bootstrap.conf (bootstrap_sync): True again. It was disabled while waiting for changes to be integrated in gnulib's bootstrap, which was done long ago. * bootstrap, gnulib: Update.
* build: manually update bootstrap from gnulib, and adaptJim Meyering2012-01-231-190/+122
| | | | | | | | | | | | | | | | | | | Updating to the latest bootstrap from gnulib involves more of a change than usual, and updating to the latest gnulib would involve its own set of challenges with the upcoming quoting changes, so we update bootstrap manually and separately. * bootstrap: Update from gnulib. * lib/Makefile.am: Initialize more variables to empty, so that gnulib.mk can append to them with "+=". * bootstrap.conf (gnulib_mk_hook): Remove. No longer honored. (gnulib_tool_option_extras): Generate gnulib.mk. (cherry picked from commit 85ad742d4e94345d5ac07755f6722344cfd49603) Conflicts: Makefile.am bootstrap.conf etc/prefix-gnulib-mk
* gnulib, autoconf: update.Joel E. Denny2011-04-161-52/+86
| | | | | | | | | | | | | | | | | * README-hacking (Updating a submodule): Give advice on how to determine the versions of gnulib and autoconf to which we should update. (Release Procedure): Note that submodules should be updated. * bootstrap.conf (gnulib_modules): Rename pipe to spawn-pipe as suggested in updated gnulib NEWS. * gnulib: Choose a stable snapshot according to advice in Bison's README-hacking. * po/POTFILES.in (lib/pipe.c): Rename to... (lib/spawn-pipe.c): ... this. * src/output.c: Update to include spawn-pipe.h. * submodules/autoconf: Update to latest for improvement in m4.m4 that excludes M4 with buggy strstr. The only other changes to files that we use are copyright updates.
* maint: don't update copyright years in bootstrap.Joel E. Denny2011-01-031-1/+1
| | | | | | | | | | * .x-update-copyright: Add entry for bootstrap. * bootstrap: Remove 2011 from copyright years. The bootstrap version we're currently using comes from an older version of gnulib. * bootstrap.conf (bootstrap_sync): Add comments explaining this issue. (cherry picked from commit 355bdbdc723fe79beb6a8aeb04b516eac64c3ec8)
* maint: run "make update-copyright".Joel E. Denny2011-01-021-1/+1
|
* build: use gnulib's new bootstrap_sync option.Joel E. Denny2010-11-211-9/+34
| | | | | | | | | Now, whenever we update bison's copy of gnulib, bootstrap will update itself the next time it's run. * bootstrap: Copy from latest gnulib for bootstrap_sync support. * bootstrap.conf (bootstrap_sync): Set to true. * gnulib: Update to latest so bootstrap is in sync now. (cherry picked from commit 10bae98af27edbb84a06d82a20a63ad7a0cca688)
* maint: re-anchor all .gitignore entries.Joel E. Denny2010-10-171-5/+20
| | | | | | | | | | | | | | | | * bootstrap: Copy from gnulib's latest for the fix to automatically anchor entries it constructs. * gnulib: Update to latest just so it has the same bootstrap. * .gitignore, build-aux/.gitignore, doc/.gitignore: * lib/.gitignore, m4/.gitignore, po/.gitignore: * runtime-po/.gitignore: Re-anchor all entries. (cherry picked from commit e503b9cbbebde5e0ecccdcc864969b9a609b940d) Conflicts: build-aux/.gitignore doc/.gitignore src/.gitignore
* Adjust to recent changes to gnulib bootstrap.Paul Eggert2010-10-161-94/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .cvsignore, build-aux/.cvsignore, doc/.cvsignore, etc/.cvsignore: * examples/calc++/.cvsignore, lib/.cvsignore, m4/.cvsignore: * po/.cvsignore, runtime-po/.cvsignore, src/.cvsignore: * tests/.cvsignore: Remove; I don't use CVS to maintain Bison anymore and don't know of anybody else who does. If someone needs these files, they can resurrect them. * .gitignore, build-aux/.gitignore, doc/.gitignore, lib/.gitignore: * m4/.gitignore, po/.gitignore, runtime-po/.gitignore: Omit leading '/', since bootstrap omits it. Adjust file names to match current contents better. * bootstrap: Sync from gnulib: this contains the new gnulib_mk_hook installed just for us. * bootstrap.conf (excluded_files): Don't exclude codeset.m4, glibc21.m4, inttypes_h.m4, size_max.m4, xsize.m4, as they are now needed somehow. Don't have time to look into why. (gnulib_modules): Change malloc to malloc-gnu. Do we really assume the GNU malloc behavior, where malloc (0) != NULL unless we're out of storage? If not, we can omit malloc-gnu; but for now I left it in to be safe. (vc_ignore): Remove. * README-hacking: Renamed from HACKING, since gnulib bootstrap now uses that convention. (cherry picked from commit 95aed8db15a0bb0f7819bf77586d0cf6812ffdfd) Conflicts: bootstrap build-aux/.cvsignore build-aux/.gitignore doc/.cvsignore doc/.gitignore etc/.cvsignore m4/.cvsignore m4/.gitignore src/.cvsignore src/.gitignore tests/.cvsignore
* Do not use date ranges in copyright notices.Paul Eggert2010-06-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices * HACKING, Makefile.am, NEWS, PACKAGING, README, README-alpha: * TODO, bootstrap, bootstrap.conf: * build-aux/update-b4-copyright, cfg.mk, configure.ac: * data/README, data/bison.m4, data/c++-skel.m4, data/c++.m4: * data/c-skel.m4, data/c.m4, data/glr.c, data/glr.cc: * data/java-skel.m4, data/java.m4, data/lalr1.cc: * data/lalr1.java, data/location.cc: * data/xslt/bison.xsl: * data/xslt/xml2dot.xsl, data/xslt/xml2text.xsl: * data/xslt/xml2xhtml.xsl, data/yacc.c, djgpp/Makefile.maint: * djgpp/README.in, djgpp/config.bat, djgpp/config.sed: * djgpp/config.site, djgpp/config_h.sed, djgpp/djunpack.bat: * djgpp/subpipe.c, djgpp/subpipe.h: * djgpp/testsuite.sed, doc/bison.texinfo: * doc/refcard.tex, etc/README, etc/bench.pl.in: * examples/calc++/Makefile.am, examples/extexi: * lib/abitset.c, lib/abitset.h: * lib/bbitset.h, lib/bitset.c, lib/bitset.h: * lib/bitset_stats.c, lib/bitset_stats.h, lib/bitsetv-print.c: * lib/bitsetv-print.h, lib/bitsetv.c, lib/bitsetv.h: * lib/ebitset.c, lib/ebitset.h, lib/get-errno.c: * lib/get-errno.h, lib/lbitset.c, lib/lbitset.h: * lib/libiberty.h, lib/main.c, lib/timevar.c: * lib/timevar.def, lib/timevar.h, lib/vbitset.c: * lib/vbitset.h, lib/yyerror.c, m4/bison-i18n.m4: * m4/c-working.m4, m4/cxx.m4, m4/subpipe.m4, m4/timevar.m4: * src/AnnotationList.c, src/AnnotationList.h: * src/InadequacyList.c, src/InadequacyList.h, src/LR0.c: * src/LR0.h, src/Sbitset.c, src/Sbitset.h, src/assoc.c: * src/assoc.h, src/closure.c, src/closure.h, src/complain.c: * src/complain.h, src/conflicts.c, src/conflicts.h: * src/derives.c, src/derives.h, src/files.c, src/files.h: * src/flex-scanner.h, src/getargs.c, src/getargs.h: * src/gram.c, src/gram.h, src/graphviz.c, src/ielr.c: * src/ielr.h, src/lalr.c, src/lalr.h: * src/location.c, src/location.h, src/main.c: * src/muscle-tab.c, src/muscle-tab.h, src/named-ref.c: * src/named-ref.h, src/nullable.c, src/nullable.h: * src/output.c, src/output.h, src/parse-gram.y: * src/print-xml.c, src/print-xml.h, src/print.c, src/print.h: * src/print_graph.c, src/print_graph.h, src/reader.c: * src/reader.h, src/reduce.c, src/reduce.h, src/relation.c: * src/relation.h, src/scan-code.h, src/scan-code.l: * src/scan-gram.h, src/scan-gram.l, src/scan-skel.h: * src/scan-skel.l, src/state.c, src/state.h, src/symlist.c: * src/symlist.h, src/symtab.c, src/symtab.h, src/system.h: * src/tables.c, src/tables.h, src/uniqstr.c, src/uniqstr.h: * tests/actions.at, tests/atlocal.in, tests/c++.at: * tests/calc.at, tests/conflicts.at, tests/cxx-type.at: * tests/existing.at, tests/glr-regression.at: * tests/headers.at, tests/input.at, tests/java.at: * tests/local.at, tests/named-refs.at: * tests/output.at, tests/push.at, tests/reduce.at: * tests/regression.at, tests/sets.at, tests/skeletons.at: * tests/synclines.at, tests/testsuite.at, tests/torture.at: * data/Makefile.am, data/location.cc, doc/Makefile.am, src/Makefile.am: * tests/Makefile.am, lib/Makefile.am, examples/Makefile.am: * etc/Makefile.am: Don't use date ranges in copyright notices. Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
* * bootstrap: Import improvements from latest gnulib.Joel E. Denny2010-01-201-163/+318
| | | | (cherry picked from commit 73edad9a25ff7dd15f276a071a39e95bc8cca07a)
* maint: run "make update-copyright"Joel E. Denny2010-01-041-2/+1
|
* bootstrap: fix/improve find_tool.Akim Demaille2009-09-031-6/+14
| | | | | | * bootstrap (find_tool): Improve error messages. Fix typo about find_tool_names. (cherry-picked from 1deef26d0ca3df3d1c845a8cf41fc0cdef009d79).
* bootstrap: --help to stdout.Akim Demaille2009-03-311-2/+2
| | | | | * bootstrap (usage): Don't send --help to stderr. Use a here doc instead of a long string.
* bootstrap: README-hacking no longer existsAkim Demaille2009-03-311-3/+3
| | | | * bootstrap (checkout_only_file): Set to HACKING.
* Update for recent .gitignore fix in Gnulib.Joel E. Denny2008-08-021-6/+0
| | | | | * bootstrap: Back out 2008-07-18 hack now that gnulib-tool creates anchored .gitignore entries.
* document and support usage of git-merge-changelogPaolo Bonzini2008-07-311-0/+14
| | | | | | | | | | 2008-07-31 Paolo Bonzini <bonzini@gnu.org> Support usage of git-merge-changelog. * .gitattributes: New. * HACKING: Document usage of git-merge-changelog. * bootstrap: Install git-merge-changelog entries in .git/config if appropriate.
* Use git-version-gen for version names between releases.Joel E. Denny2008-07-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * .cvsignore (.tarball-version, GNUmakefile, *~): Add. * .gitignore (/.tarball-version, /GNUmakefile, /*~): Add. * .prev-version: New. * .version.in: Remove. * ChangeLog: Remove the $Id$ previously used for capturing the CVS revision. * GNUmakefile: Remove, now copied from Gnulib. * Makefile.am: Add code suggested by comments in build-aux/git-version-gen. (EXTRA_DIST): Remove GNUmakefile, handled by Gnulib. Add maint.mk, .prev-version, and .version. * NEWS (2.3b+): Rename to... (?.?): ... this because we're dropping the "+" version naming scheme, but, in general, we still can't be sure of our next release name. * bootstrap: Add a quick hack to remove from .gitignore the GNUmakefile entry that gnulib adds. We already have a /GNUmakefile entry. This should really be fixed in gnulib instead. * bootstrap.conf (gnulib_modules): Add gnumakefile. * configure.ac (AC_INIT): Set version name by invoking build-aux/git-version-gen. (AC_CONFIG_FILES): Remove .version, now generated by build-aux/git-version-gen. * maint.mk: New, copied from coreutils. * doc/.cvsignore (bison.1): Add. * doc/.gitignore (/bison.1): Add. * doc/bison.1: Remove, generated. * src/.cvsignore (revision.c): Remove. * src/.gitignore (/revision.c): Remove. * src/Makefile.am (bison_SOURCES): Remove revision.c and revision.h. (BUILT_SOURCES): Remove revision.c. (revision.c): Remove. * src/getargs.c (version): Don't print revision after the VERSION. * src/revision.h: Remove.
* Fix some .gitignore and .cvsignore problems.Joel E. Denny2008-07-161-6/+21
| | | | | | | | | | | | | | | | | | | * bootstrap (insert_sorted_if_absent): Replace all uses with... (insert_vc_ignore): ... this new function, which prepends `/' to all .gitignore entries before passing them to insert_sorted_if_absent. * bootstrap.conf (vc_ignore): Set to '.cvsignore .gitignore' so that .cvsignore files are maintained even though Bison developers run bootstrap while using Git. * .cvsignore (*.patch *.log log patches applied): Remove, apparently unneeded by Bison. (gnulib): Add. * .gitignore (/*.patch *.log log patches applied): Remove, broken and unneeded. Reported by Eric Blake. * lib/.gitignore (/*~): Add. * po/.cvsignore, runtime-po/.cvsignore: Sync with .gitignore. * examples/calc++/.gitignore (/calc++.exe): Add. Reported by Eric Blake. * src/.gitignore (/bison.exe): Add. Reported by Eric Blake.
* Update to the current gnulib CVS repository, and fix trigraph handlingJoel E. Denny2008-04-211-18/+26
| | | | | | | | | | | | | | | | | | | in Bison. * bootstrap: Update gnulib CVS repository URL. (symlink_to_dir): Encapsulate the code that guarantees the destination directory exists into... (check_dst_dir): ... this new function, and... (cp_mark_as_generated): ... reuse it here so that bootstrap doesn't fail when copying files into lib/uniwidth/. * src/output.c (prepare_symbols): When writing yytname muscles, where symbol names will be encoded in C-string literals, tell quotearg to escape trigraphs. This used to be the default in gnulib. * tests/regression.at (Token definitions): Because of the change in gnulib's quotearg behavior, string_as_id in parse-gram.y no longer escapes trigraphs in symbol names. Thus, yytname no longer has trigraphs unnecessarily doubly escaped. Update test case output. Extend test case to be sure Bison's own error messages will no longer have trigraphs in symbol names unnecessarily escaped once.
* Find sha1sum when named gsha1sum.Akim Demaille2007-11-041-10/+41
| | | | | * bootstrap (find_tool): New. ($SHA1SUM): New.
* * GNUmakefile: Switch to coreutils's version.Paul Eggert2007-09-211-78/+136
| | | | | | | | | | | | | | * bootstrap: Likewise. * Makefile.cfg: Adjust to new GNUmakefile. * README-hacking: Likewise. Import from gnulib: 2006-08-18 Paul Eggert <eggert@cs.ucla.edu> Bruno Haible <bruno@clisp.org> * m4/bison-i18n.m4 (BISON_I18N): Also handle the case where yacc exists and is a script that invokes bison. Tighten the code. Add comments.
* Update to GPLv3.Paul Eggert2007-08-151-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/gpl-3.0.texi: New file. * doc/gpl.texi: Remove. * COPYING, GNUmakefile, HACKING, Makefile.am, Makefile.cfg: * Makefile.maint, NEWS, PACKAGING, README, README-alpha: * README-hacking, TODO, bootstrap, bootstrap.conf: * configure.ac, data/Makefile.am, data/README, data/bison.m4: * data/c++-skel.m4, data/c++.m4, data/c-skel.m4, data/c.m4: * data/glr.c, data/glr.cc, data/java-skel.m4, data/java.m4: * data/lalr1.cc, data/lalr1.java, data/location.cc: * data/push.c, data/yacc.c, data/m4sugar/m4sugar.m4: * djgpp/Makefile.maint, djgpp/README.in, djgpp/config.bat: * djgpp/config.sed, djgpp/config.site, djgpp/config_h.sed: * djgpp/djunpack.bat, djgpp/subpipe.c, djgpp/subpipe.h: * djgpp/testsuite.sed, doc/Makefile.am, doc/bison.texinfo: * doc/fdl.texi, doc/refcard.tex, etc/Makefile.am, etc/README: * etc/bench.pl.in, examples/Makefile.am, examples/extexi: * examples/calc++/Makefile.am, lib/Makefile.am, lib/abitset.c: * lib/abitset.h, lib/bbitset.h, lib/bitset.c, lib/bitset.h: * lib/bitset_stats.c, lib/bitset_stats.h, lib/bitsetv-print.c: * lib/bitsetv-print.h, lib/bitsetv.c, lib/bitsetv.h: * lib/ebitset.c, lib/ebitset.h, lib/get-errno.c: * lib/get-errno.h, lib/lbitset.c, lib/lbitset.h: * lib/libiberty.h, lib/main.c, lib/subpipe.c, lib/subpipe.h: * lib/timevar.c, lib/timevar.def, lib/timevar.h: * lib/vbitset.c, lib/vbitset.h, lib/yyerror.c: * m4/c-working.m4, m4/cxx.m4, m4/m4.m4, m4/subpipe.m4: * m4/timevar.m4, src/LR0.c, src/LR0.h, src/Makefile.am: * src/assoc.c, src/assoc.h, src/closure.c, src/closure.h: * src/complain.c, src/complain.h, src/conflicts.c: * src/conflicts.h, src/derives.c, src/derives.h, src/files.c: * src/files.h, src/flex-scanner.h, src/getargs.c: * src/getargs.h, src/gram.c, src/gram.h, src/graphviz.c: * src/lalr.c, src/lalr.h, src/location.c, src/location.h: * src/main.c, src/muscle_tab.c, src/muscle_tab.h: * src/nullable.c, src/nullable.h, src/output.c, src/output.h: * src/parse-gram.c, src/parse-gram.h, src/parse-gram.y: * src/print.c, src/print.h, src/print_graph.c: * src/print_graph.h, src/reader.c, src/reader.h, src/reduce.c: * src/reduce.h, src/relation.c, src/relation.h: * src/revision.h, src/scan-code.h, src/scan-code.l: * src/scan-gram.h, src/scan-gram.l, src/scan-skel.h: * src/scan-skel.l, src/state.c, src/state.h, src/symlist.c: * src/symlist.h, src/symtab.c, src/symtab.h, src/system.h: * src/tables.c, src/tables.h, src/uniqstr.c, src/uniqstr.h: * tests/Makefile.am, tests/actions.at, tests/c++.at: * tests/calc.at, tests/conflicts.at, tests/cxx-type.at: * tests/existing.at, tests/glr-regression.at: * tests/headers.at, tests/input.at, tests/java.at: * tests/local.at, tests/output.at, tests/push.at: * tests/reduce.at, tests/regression.at, tests/sets.at: * tests/skeletons.at, tests/synclines.at, tests/testsuite.at: * tests/torture.at: Update to GPLv3.
* * bootstrap (slurp): Create target directories that don't exist.Joel E. Denny2007-07-171-1/+6
| | | | Specifically, we need lib/uniwidth/ because of recent Gnulib changes.
* * README-hacking: New file, taken mostly from coreutils, with changesPaul Eggert2007-04-041-60/+114
| | | | | | | | | | | for Bison. Contains much of the contents of: * README-cvs: Remove. * bootstrap: Sync from gnulib. * build-aux/.cvsignore: Remove *.t, mkinstalldirs. * lib/.cvsignore: Add wchar.h, wctype.h. Remove exit.h. SCALAR(0x82833fc) redefinitions.
* * bootstrap: Remove occurrences of .#bootmp from lib/Makefile.Joel E. Denny2007-02-191-1/+4
|
* Implement support for relative and absolute skeleton file names.Joel E. Denny2007-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | Discussed starting at <http://lists.gnu.org/archive/html/bison-patches/2006-12/msg00071.html>. * doc/bison.texinfo (Decl Summary): Document in %skeleton entry. (Bison Options): Document in --skeleton entry. * src/output.c (output_skeleton): Use strncpy rather than strcpy since full_skeleton can't necessarily hold all of pkgdatadir. If the specified skeleton file name contains a `/', don't prepend pkgdatadir. * src/parse-gram.y (prologue_declaration): If the specified skeleton file name contains a `/', prepend the grammar file directory. * tests/Makefile.am (TESTSUITE_AT): Add skeletons.at. * skeletons.at: New file. (relative skeleton file names): New test case. (installed skeleton file names): New test case. * tests/testsuite.at: Include skeletons.at. * bootstrap: Update copyright to 2007.
* 2007-01-17 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-01-171-2/+2
| | | | * bootstrap: Remove occurrences of .#bootmp from the files.
* * bootstrap: Sync from coreutils.Paul Eggert2006-12-181-5/+8
| | | | | | | (gnulib_extra_files): Add build-aux/announce.gen. (slurp): Adjust .gitignore files like .cvsignore files. * build-aux/announce-gen: Remove from CVS, since bootstrap now creates this.
* * bootstrap (runtime-po/Makevars): Derive from po/MakevarsPaul Eggert2006-11-081-10/+5
| | | | | | instead of from the template, to simplify configuration a bit. * bootstrap.conf (excluded_files): Don't exclude m4/codeset.m4 and m4/wint_t.m4, as they are needed with the latest gnulib.
* * lib/Makefile.am (AM_CFLAGS): Remove $(WERROR_CFLAGS).Paul Eggert2006-10-151-8/+23
| | | | | | | | | | | | | | | | | Problem reported by Joel E. Denny. 2006-10-14 Jim Meyering <jim@meyering.net> (Sync from coreutils.) Work also when the working directory (with e.g. coreutils sources) is version controlled with git, rather than CVS. * bootstrap (CVS_only_file): Test for the existence of README-cvs, rather than CVS. In messages and comments, say e.g., "checked-out sources", rather than "CVS sources". (version_controlled_file): New function. Work for git as well as for CVS. Don't use grep's -q option. (slurp): Call it here, in place of CVS-specific code.
* * bootstrap: Sync from coreutils, as follows:Paul Eggert2006-10-131-26/+43
| | | | | | | | | | | | | | | | | | 2006-10-11 Paul Eggert <eggert@cs.ucla.edu> * bootstrap (symlink_to_gnulib): Fix bug: the dot_dots shell variable was sometimes used without being initialized. This messed up the installation of the INSTALL file in some cases. 2006-10-09 Paul Eggert <eggert@cs.ucla.edu> * bootstrap (usage, main program, symlink_to_gnulib): Add option --copy. Inspired by a suggestion from Bruno Haible. 2006-10-03 Jim Meyering <jim@meyering.net> * bootstrap: Undo last change to this file, since now gnulib-tool sticks with the automake default in generating dependencies.
* Fix problems with translating English-language diagnostics.Paul Eggert2006-10-011-5/+10
| | | | | | | | | * bootstrap: Fix bug introduced in recent bootstrap changes, with respect to bison-runtime pot generation. The YY_ stuff wasn't being captured. * bootstrap.conf (XGETTEXT_OPTIONS_RUNTIME): New var. * po/POTFILES.in: Add src/location.c, src/scan-code.l. * runtime-po/POTFILES.in: Add data/push.c.
* Merge bootstrap changes from coreutils.Paul Eggert2006-09-301-3/+40
| | | | | | | | | | | | | | | | | | | 2006-09-28 Jim Meyering <jim@meyering.net> Automatically generated dependencies are important even when all of the sources in a directory come from gnulib. * bootstrap (gnulib_tool): Remove the "no-dependencies" automake option that gnulib-tool adds to what becomes our lib/gnulib.mk. 2006-09-23 Jim Meyering <jim@meyering.net> * bootstrap (gnulib_tool_options): Add "--local-dir gl". 2006-09-20 Paul Eggert <eggert@cs.ucla.edu> * bootstrap: Add support for --force. (usage): New function. Describe usage less tersely. (CVS_only_file): New var.
* * stamp-h.in: Remove; no longer needed.Paul Eggert2006-09-201-29/+73
| | | | | | | | | * .cvsignore: Replace autom4te.cache and config.cache with *.cache. Remove config.h, config.hin, intl (no longer created). * lib/.cvsignore: Add config.h, config.hin, configmake.h, inttypes.h, stamp-h1. Sync bootstrap from coreutils.
* Use some of gnulib's new modules, taken from coreutils.Paul Eggert2006-09-151-203/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootstrap: Sync from coreutils, except add support for gnulib_files. * bootstrap.conf: New file. (gnulib_modules): Add configmake, inttypes, unistd. (XGETTEXT_OPTIONS): Add complain, complain_at, fatal, fatal_at, warn, warn_at, unexpected_end. * configure.ac (AC_CONFIG_HEADERS): config.h is now in lib, not here. (gl_USE_SYSTEM_EXTENSIONS): Remove; gl_EARLY now does this. (gl_EARLY): Add. (AM_STDBOOL_H): Remove; gl_INIT now dows this. (gl_INIT): Add (GNULIB_AUTOCONF_SNIPPET): Remove. (AM_GNU_GETTEXT): Add; require formatstring macros since that's the pickiest. * lib/.cvsignore: Add inttypes_.h. * lib/Makefile.am: Include gnulib.mk first so we can append to it. (AM_CFLAGS): Add WERROR_CFLAGS, to be more like coreutils. (BUILT_SOURCES, EXTRA_DIST, MOSTLYCLEANFILES): Remove no-longer-necessary initializations. (lib_SOURCES): Remove, replacing by libbison_a_SOURCES. * lib/subpipe.c: Include <unistd.h> unconditionally, now that we use the unistd module. * src/system.h: Likewise. * m4/.cvsignore: Remove *_gl.m4, gnulib.m4, inttypes_h.m4, uintmax_t.m4, ulonglong.m4. Add gettext.m4, gnulib-cache.m4, gnulib-comp.m4, gnulib-tool.m4, inttypes-h.m4, inttypes-pri.m4, inttypes.m4. * src/Makefile.am (DEFS): Remove, since configmake does this for us. (AM_CPPFLAGS): Remove -I../lib, since Automake does that for us. * src/system.h: Include inttypes.h unconditionally, now that we use the inttypes module. Don't bother to include stdint.h, since inttypes.h now does that for us. (LOCALEDIR): Remove, now that we use the configmake module. * src/getargs.c: Include configmake.h. * src/main.c: Likewise. * src/output.c: Likewise. * tests/atlocal.in (CPPFLAGS): Include from $abs_top_builddir/lib, not from $abs_top_builddir, since config.h moved.
* * bootstrap: Put in need-ngettext argument to AM_GNU_GETTEXT,Paul Eggert2006-08-111-4/+17
| | | | | | | | to prevent failures when building on older platforms. Check for autopoint failure. Set XGETTEXT_OPTIONS to values that check for C format strings, so that translators are warned about them (this also helps prevent core dumps).
* * m4/.cvsignore: Add inttypes_h.m4,lib-ld.m4, lib-prefix.m4,Paul Eggert2006-08-021-3/+3
| | | | | | | | | po.m4, stdint_h.m4, uintmax_t.m4, ulonglong.m4, warning.m4. * bootstrap (gnulib_tool): Stop using --assume-autoconf; the latest gnulib does this a different way. (get_translations): Sharuzzaman Ahmat Raslan reported that the ms translation was patched, so stop omitting it.
* Update to latest gnulib and gettext versions.Paul Eggert2006-07-251-37/+32
| | | | | | | | | | | | | | | | | | | | | | | | * bootstrap (gnulib-modules): Remove hard-locale, stdio-safer. Add fopen-safer. (gnulib_files): Add m4/warning.m4. Don't worry about files overwritten by autopoint. Replace gt_INTL_SUBDIR_CORE with an empty body in m4/gettext_gl.m4. Suppress "id", "ms", "tr" translations for now, since gettext 0.15 rejects them. Don't use autoreconf; instead, invoke autopoint etc. by hand, so that we can remove the intl files at a better time. (intl_files_to_remove): Remove aclocal.m4, since it gets rebuilt anyway. Remove m4/inttypes_h.m4, m4/inttypes.m4, m4/isc-posix.m4, m4/lib-ld.m4, m4/lib-prefix.m4, m4/po.m4, m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4. Add m4/inttypes-h.m4, m4/lock.m4, m4/visibility.m4. Remove datarootdir hack; no longer needed. * configure.ac: Use gl_WARNING_CFLAGS rather than BISON_WARNING. (AM_GNU_GETTEXT_VERSION): Bump from 0.12 to 0.15. * lib/.cvsignore: Remove hard-locale.c, hard-locale.h, strdup.c, strdup.h. * m4/.cvsignore: Remove hard-locale.m4, strdup.m4. * m4/warning.m4: Remove from CVS, since we now use gnulib's version.
* * bootstrap: Adjust to today's change to gnulib-tool by invokingPaul Eggert2006-07-201-4/+5
| | | | it with --assume-autoconf='latest-stable'.
* Adjust to Autoconf 2.60 and today's gnulib.Paul Eggert2006-07-091-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootstrap (gnulib_modules): Add stdint. Remove special case for m4/onceonly_2_57.m4, since gnulib-tool no longer copies it. (intl_files_to_remove): Remove m4/longlong.m4 and m4/wchar_t.m4, since stdint needs the former and wcwidth (which is now required by mbswidth) needs the latter. Append 'datarootdir = @datarootdir@' to po/Makefile.in.in, to work around a compatibility glitch between gettext 0.14.6 and Autoconf 2.60. * configure.ac (AC_PREREQ): Require Autoconf 2.60. Do not check for uintptr_t, since new stdint module does the right thing. * lib/.cvsignore: Remove alloca.c, alloca.h, alloca_.h. Add stdint.h, stdint_.h, wcwidth.h. * m4/.cvsignore: Remove alloca.m4, onceonly.m4. Add absolute-header.m4, double-slash-root.m4, longlong.m4, stdint.m4, wchar_t.m4, wcwidth.m4. * src/files.c: Include <dirname.h> and <stdio-safer.h> in the usual order for ../lib/*.h files. (file_name_split): Use last_component, not base_name, to adjust to gnulib changes. * src/parse-gram.h: Include <strverscmp.h> in the usual order for ../lib/*.h files. (YYTYPE_INT16, YYTYPE_INT8, YYTYPE_UINT16, YYTYPE_UINT8): Define unconditionally, since we now assume the stdint module. * src/scan-skel.l: Include <dirname.h>. (BASE_QPUTS): Use last_component, not base_name. * src/system.h: Include <unlocked-io.h> in the usual order for ../lib/*.h files. Include <stdint.h> unconditionally, since we now use the stdint module. (uintptr_t): Declare if UINTPTR_MAX is not defined, not HAVE_UINTPTR_T, since we now use the stdint module. (base_name): Remove decl, since files now include <dirname.h> to get the decl.
* * bootstrap (TP_URL, WGET_COMMAND): New vars.Paul Eggert2006-06-191-42/+36
| | | | | | | | (get_translations): New function, which uses HTML scraping to deduce locations of latest translations. Use this function to grab both bison and bison-runtime .po files. Don't bother priming the pump for the runtime-po domain any more, as it's now translated better than bison is.