Patrick Welche wrote:
> the program's configure.ac tests
>
>          if test "$LEX" != flex; then
>
> as a way of testing flex vs lex

The common motivation for distinguishing 'flex' from 'lex' is when someone
has a .l file that uses flex syntax (such as %option). If you are in this
case, you can use

  AC_CHECK_PROGS([FLEX], [flex])

instead of AC_PROG_LEX.

Bruno


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to