diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-12-25 08:19:50 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-12-25 10:05:36 +0100 |
commit | a4ede8f85b0c9a254fcb01e5888cee1983095669 (patch) | |
tree | ec4bc084c53007c856c87f0496b9d9b1b85b4b65 /build-aux | |
parent | 53f1a0b114d1f8e52d4a9708e31e4bcbd160aae1 (diff) | |
download | bison-a4ede8f85b0c9a254fcb01e5888cee1983095669.tar.gz |
package: make bison a relocatable package
Suggested by David Barto
https://lists.gnu.org/archive/html/help-bison/2015-02/msg00004.html
and Victor Zverovich.
https://lists.gnu.org/archive/html/bison-patches/2018-10/msg00121.html
This is very easy to do, thanks to work by Bruno Haible in gnulib.
See "Supporting Relocation" in gnulib's documentation.
* bootstrap.conf: We need relocatable-prog and relocatable-script (for yacc).
* src/yacc.in: New.
* configure.ac, src/local.mk: Instantiate it.
* src/main.c, src/output.c (main, pkgdatadir): Use relocatable2.
* doc/bison.texi (FAQ): Document it.
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/.gitignore | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/.gitignore b/build-aux/.gitignore index 0d8a2b30..e108a7fb 100644 --- a/build-aux/.gitignore +++ b/build-aux/.gitignore @@ -23,3 +23,7 @@ /useless-if-before-free /vc-list-files /ylwrap +/config.libpath +/install-reloc +/reloc-ldflags +/relocatable.sh.in |