yacc: warn about conditional content in *YFLAGS variables
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 10 Jan 2011 14:50:35 +0000 (15:50 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 10 Jan 2011 23:51:15 +0000 (00:51 +0100)
commit834dc3a98272e7eb1869e2a1972ac14ea45e0ec0
tree05d8e1223452c45267bba5f123bf557cc82d454e
parent3544a43c4923f767467536d02abb511d7e04ab2c
yacc: warn about conditional content in *YFLAGS variables

This commit fixes automake bug#7804.

* automake.in (lang_yacc_target_hook): Warn if any of the relevant
*YFLAGS variables has conditional contents (not only a conditional
definition).  Related refactoring.
* NEWS: Updated.
* tests/yflags-conditional.test: Updated and extended.
* tests/yflags-conditional-force.test: New test.
* tests/Makefile.am (TESTS): Updated.
ChangeLog
NEWS
automake.in
tests/Makefile.am
tests/Makefile.in
tests/yflags-conditional.test
tests/yflags-force-conditional.test [new file with mode: 0755]