AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
definition used by Automake where LEX is +/- "${missing} lex" and
`missing' itself contains variables.
+2001-11-12 Akim Demaille <akim@epita.fr>
+
+ * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
+ AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
+ definition used by Automake where LEX is +/- "${missing} lex" and
+ `missing' itself contains variables.
+
2001-11-12 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
%%
%%
_ACEOF
-AC_TRY_COMMAND($LEX conftest.l)
+AC_TRY_EVAL(LEX conftest.l)
if test -f lex.yy.c; then
ac_cv_prog_lex_root=lex.yy
elif test -f lexyy.c; then