From 01c56de45cb6b01faa84dbdf15459b1e22640921 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 18 Apr 2002 16:41:19 +0000 Subject: [PATCH] Add bootstrap. --- README-cvs | 14 +------------- TODO | 5 +++++ bootstrap | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 13 deletions(-) create mode 100755 bootstrap diff --git a/README-cvs b/README-cvs index c7043333..92209fb2 100644 --- a/README-cvs +++ b/README-cvs @@ -22,19 +22,7 @@ information on: The next step is asking the installation of all the missing files: - $ autoreconf -f -v -i - -Unfortunately, this will change a few files that should not have been -replaced, so remove them, and ask for the original copies: - - $ rm Makefile.am configure.in m4/Makefile.am - $ cvs update - -(Hopefully, these steps will no longer be needed in the future.) -Because of these changes, running autoreconf a second, and last time, -is needed. Pay attention that the options are different this time: - - $ autoreconf -v -f + $ ./bootstrap And there you are! Just diff --git a/TODO b/TODO index 01e1a081..c39f2442 100644 --- a/TODO +++ b/TODO @@ -152,6 +152,11 @@ src/bison/tests % cd ./testsuite.dir/51 tests/testsuite.dir/51 % echo "()" | ./calc 1.2-1.3: parse error, unexpected ')', expecting error or "number" or '-' or '(' +* yyerror, yyprint interface +It should be improved, in particular when using Bison features such as +locations, and YYPARSE_PARAMS. For the time being, it is recommended +to #define yyerror and yyprint to steal internal variables... + * read_pipe.c This is not portable to DOS for instance. Implement a more portable scheme. Sources of inspiration include GNU diff, and Free Recode. diff --git a/bootstrap b/bootstrap new file mode 100755 index 00000000..e6c3831d --- /dev/null +++ b/bootstrap @@ -0,0 +1,14 @@ +#! /bin/sh + +echo "Bootstrapping CVS Bison..." + +autoreconf --force --install --verbose + +# Because of Gettext +mv m4/Makefile.am~ m4/Makefile.am +mv Makefile.am~ Makefile.am +mv configure.in~ configure.in +touch m4/Makefile.am Makefile.am configure.in +rm po/Makevars.template + +autoreconf --verbose -- 2.45.2