[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_LEX behavior
From: |
Bruno Haible |
Subject: |
Re: AC_PROG_LEX behavior |
Date: |
Thu, 11 Jun 2009 12:51:38 +0200 |
User-agent: |
KMail/1.9.9 |
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