Re: AC_PROG_LEX behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux