[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 21 Mar 2008 10:29:05 -0400
Thunderbird 220.127.116.11 (X11/20071115)
I'm trying to use AC_PROG_LEX to discover whether flex (or lex) is
available. During testing I found out that, even when neither is
available, the LEX variable is set to ':' instead of being empty.
And sure enough, I subsequently found this in the programs.m4 code:
[AC_CHECK_PROGS(LEX, flex lex, :)
if test "x$LEX" != "x:"; then
Is this intentional ? Is it documented somewhere ? In other words, is it
ok for me to check for "test $LEX != ':'" to discover success ?
...ich hab' noch einen Koffer in Berlin...
|[Prev in Thread]
||[Next in Thread]|
- AC_PROG_LEX behavior,
Stefan Seefeld <=