]> git.ipfire.org Git - thirdparty/automake.git/commit
configure: look for a lex program to be used by the testsuite
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 28 Jan 2011 22:04:14 +0000 (23:04 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 29 Jan 2011 11:57:56 +0000 (12:57 +0100)
commitaa9a269b397af1c29de1f1fa40bd36b8d2759699
treeb83fdd19eae557c784261b823c7ee70911eaf313
parentd86a273998952c09a569121c252512556b00d985
configure: look for a lex program to be used by the testsuite

This will allow the testcases requiring a 'lex' program to run also
with vendor/legacy lex implementations, not only with 'flex'.

* configure.ac: Look for a lex program, using AC_CHECK_PROGS.
* tests/defs.in: New required entry 'lex'.
($LEX): Let the user override the lex program to be used by the
testsuite.
* tests/cond35.test ($required): Require 'lex', not 'flex'.
* tests/cond36.test: Likewise.
* tests/lexv3.test: Likewise.
* tests/lexv3.test: Likewise.
* tests/silent-lex-gcc.test: Likewise.
* tests/silent-lex-generic.test: Likewise.
* tests/silent-many-gcc.test: Likewise.
* tests/silent-many-generic.test:likewise.
* tests/lexvpath.test: Likewise, and fix typo in comments.
21 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/cond35.test
tests/cond36.test
tests/defs.in
tests/lex3.test
tests/lex5.test
tests/lexvpath.test
tests/silent-lex-gcc.test
tests/silent-lex-generic.test
tests/silent-many-gcc.test
tests/silent-many-generic.test