+2011-01-29 Stefano Lattarini <stefano.lattarini@gmail.com>
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ tests init: better messages for 'yacc' and 'lex' requirements
+ * tests/defs.in: Give better diagnostic messages when a test must
+ be skipped to the unavailability of yacc or lex program. Also,
+ improve syncing between code for requiring yacc and lex.
+
2011-01-28 Stefano Lattarini <stefano.lattarini@gmail.com>
configure: look for a lex program to be used by the testsuite
;;
lex)
if test x"$LEX" = x"false"; then
- # No lex program was found at configure time, or the user has
- # explicitly told he doesn't want a lex program to be used.
- echo "$me: \$LEX is \"false\", skipping test" >&2
+ echo "$me: no working \$LEX found at configure time," \
+ "or explicitly disabled" >&2
exit 77
fi
export LEX
;;
yacc)
if test x"$YACC" = x"false"; then
- # No yacc program was found at configure time, or the user has
- # explicitly told he doesn't want a yacc program to be used.
- echo "$me: \$YACC is \"false\", skipping test" >&2
+ echo "$me: no working \$YACC found at configure time," \
+ "or explicitly disabled" >&2
exit 77
- else
- # Make YACC available to configure by exporting it.
- export YACC
fi
+ export YACC
;;
# Generic case: the tool must support --version.
*)