diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-21 15:45:17 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-21 15:45:17 +0100 |
commit | 94c28cc5e9e28d1215619721901d3e0580a758ef (patch) | |
tree | c12102642e7c057e01c790d777dd91f0423e623b | |
parent | bb7e8f79d92f0030ad538ecac06fad0cfdddc407 (diff) | |
download | automake-94c28cc5e9e28d1215619721901d3e0580a758ef.tar.gz |
tests: more information about Lex and Yacc programs
* t/get-sysconf.sh: Try to also get the version of '$LEX' and '$YACC'.
This will help debugging of user-reported problems.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rwxr-xr-x | t/get-sysconf.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/get-sysconf.sh b/t/get-sysconf.sh index 4c681081e..bd4932f4c 100755 --- a/t/get-sysconf.sh +++ b/t/get-sysconf.sh @@ -46,6 +46,14 @@ $PERL -V || st=1 # happen with older perl installation, or on MinGW/MSYS. $PERL -e 'use TAP::Parser; print $TAP::Parser::VERSION, "\n"' || : +# It's OK if the selected Lex and Yacc programs don't know how to print +# the version number or the help screen; those are usually available only +# for Flex and Bison. +$LEX --version || : +$LEX --help || : +$YACC --version || : +$YACC --help || : + cat "$am_top_builddir/config.log" || st=1 cat "$am_top_builddir/t/wrap/aclocal-$APIVERSION" || st=1 cat "$am_top_builddir/t/wrap/automake-$APIVERSION" || st=1 |