This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: flex -lfl
- To: Sascha Ziemann <szi at aibon dot ping dot de>
- Subject: Re: flex -lfl
- From: Akim Demaille <akim at epita dot fr>
- Date: 27 Mar 2000 10:13:18 +0200
- Cc: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>, automake at gnu dot org
- References: <Pine.SO4.4.05.10003240814380.12062-100000@scooby.simplesystems.org> <7uvh2cl1bb.fsf@olivia.aibon.ping.de>
>>>>> "Sascha" == Sascha Ziemann <szi@aibon.ping.de> 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