summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2020-05-19 22:05:22 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-05-20 08:09:27 +0200
commited7d5c2b5b777486add9806dc2c9041fcfcb5631 (patch)
tree05302a3097daad4922febd1808bb3d3f70bf8be2 /bootstrap.conf
parent1ce02e13c3163b50de8dadf8ba4db00ecea2d389 (diff)
downloadbison-ed7d5c2b5b777486add9806dc2c9041fcfcb5631.tar.gz
src: make path to m4 relocatable
Commit a4ede8f85b0c9a254fcb01e5888cee1983095669 ("package: make bison a relocatable package") made Bison relocatable, but in fact it still contains one absolute reference: the M4 variable, which points to the M4 program. Let's fix that by using relocate(), see if an M4 binary is available at the relocated location, and otherwise fallback to the original M4 location. See https://lists.gnu.org/r/bison-patches/2020-05/msg00078.html, and https://lists.gnu.org/r/bison-patches/2020-05/msg00087.html. * src/files.h, src/files.c (m4path): New. * src/output.c: Use it.
Diffstat (limited to 'bootstrap.conf')
0 files changed, 0 insertions, 0 deletions