configure: look for a yacc program to be used by the testsuite
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 22 Jan 2011 20:11:06 +0000 (21:11 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 23 Jan 2011 11:13:23 +0000 (12:13 +0100)
commitd86a273998952c09a569121c252512556b00d985
tree31dee9e19219084513ac44fdae01e7a312b70da8
parent0283a956cd5f0a4522e2c3f1fa7155944464348e
configure: look for a yacc program to be used by the testsuite

Instead of forcing the user to manually export 'YACC' in the
testsuite to use a non-bison yacc, we now look for a yacc program
at configure time, and use that as the default in the testsuite.

* configure.ac: Look for a yacc program, using AC_CHECK_PROGS.
* tests/defs.in: Updated to use the value of $YACC precomputed by
configure, unless the user overrides that in the environment.
12 files changed:
ChangeLog
Makefile.in
configure
configure.ac
doc/Makefile.in
lib/Automake/Makefile.in
lib/Automake/tests/Makefile.in
lib/Makefile.in
lib/am/Makefile.in
m4/Makefile.in
tests/Makefile.in
tests/defs.in