tests: don't define YACC and LEX in the Makefiles
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 29 Jan 2011 18:47:46 +0000 (19:47 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 29 Jan 2011 18:47:46 +0000 (19:47 +0100)
commit34ca92b99405c5d0361a64a2eb9a70d0f6f0c3cd
tree9e716bf45bf1671a1c1d392f4cad2f416efc2f6d
parent076f8a295193344e77e1f9e37a908978688c3600
tests: don't define YACC and LEX in the Makefiles

We don't want YACC and LEX defined as make variables, otherwise
the values determined at configure time will override those from
the environment, even in the make-spawned testcases.  For example,
before this change, with the following usage:
  $ ./configure YACC=yacc
  $ export YACC='bison -y'
  $ make check
the testsuite would have ended up, very counterintuitively, with
YACC defined to 'yacc' in the testcases' environment.

* configure.ac: Call `AM_SUBST_NOTMAKE' on YACC and LEX.
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