]> git.ipfire.org Git - thirdparty/gettext.git/commit
build: Fix VPATH build failures with old bison when the *.y files are modified.
authorBruno Haible <bruno@clisp.org>
Fri, 1 May 2020 19:35:43 +0000 (21:35 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 1 May 2020 19:35:43 +0000 (21:35 +0200)
commit42c37e2889fb0cf7b8dbe033dcb573b3ef62f697
treedd720077159d56550ddfd25b5ff207dccf93c7f7
parentde70fa53318d38918c83ad7310db0b90b69a32c3
build: Fix VPATH build failures with old bison when the *.y files are modified.

* gettext-runtime/intl/Makefile.am (BISON): New variable.
(YACC): Use it.
(plural.c): Don't do the post-processing if a suitable version of bison was not
found.
* gettext-tools/src/Makefile.am (BISON): New variable.
(po-gram-gen.c, cldr-plural.c): Don't do the post-processing if a suitable
version of bison was not found.
gettext-runtime/intl/Makefile.am
gettext-tools/src/Makefile.am