Add bootstrap.

This commit is contained in:
Akim Demaille
2002-04-18 16:41:19 +00:00
parent 8b3ba7ff05
commit 01c56de45c
3 changed files with 20 additions and 13 deletions

View File

@@ -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

5
TODO
View File

@@ -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.

14
bootstrap Executable file
View File

@@ -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