From: Stefano Lattarini Date: Mon, 21 Jan 2013 14:45:17 +0000 (+0100) Subject: tests: more information about Lex and Yacc programs X-Git-Tag: v1.13b~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94c28cc5e9e28d1215619721901d3e0580a758ef;p=thirdparty%2Fautomake.git 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 --- 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