>>>>> "Sascha" == Sascha Ziemann <[EMAIL PROTECTED]> writes:

Sascha> - How can I check for flex and bison instead of lex and yacc?
Sascha> I use some flex/bison specific features, which would not work
Sascha> with lex/yacc.

Here's what I do:

# I want flex, and only flex
AM_PROG_LEX
if test "$LEX" = lex; then
  LEX="$missing_dir/missing flex"
  LEX_OUTPUT_ROOT=lex.yy
  AC_SUBST(LEX_OUTPUT_ROOT)dnl
fi

So that even if $LEX=lex, I don't run it.

        Akim

Reply via email to