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: Tom Tromey <tromey at cygnus dot com>
- Date: Fri, 24 Mar 2000 11:43:13 -0800 (PST)
- Cc: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>, Akim Demaille <akim at epita dot fr>, automake at gnu dot org
- References: <Pine.SO4.4.05.10003240814380.12062-100000@scooby.simplesystems.org><7uvh2cl1bb.fsf@olivia.aibon.ping.de>
Sascha> I don't specify -lfl and I don't use LIBS, so I can not use
Sascha> LIBADD instead.
I don't understand this.
Anyway, the current automake doesn't force you to link with @LEXLIB@.
Neither did automake 1.4, if I remember correctly.
So I don't understand why you are seeing -lfl on your link lines.
Can you find out where it is coming from?
Sascha> - How can I check for flex and bison instead of lex and yacc? I use
Sascha> some flex/bison specific features, which would not work with
Sascha> lex/yacc.
There's no really good way.
Try doing "LEX=flex" and "YACC=bison" in configure.in before running
the macros. Bleah.
Sascha> - How can I get the evaluated value of sysconfdir into a file? When I
Sascha> put @sysconfdir@ in a .in file, it will be replaced by
Sascha> "$(prefix)/etc". And this does not help much in a header file for
Sascha> example.
Use sed in Makefile.am.
If we had a FAQ, this would be one.
I could easily set up faq-o-matic for automake.
Would anybody find this useful?
Sascha> - Is there something like YACCFLAGS, that can be used for the -d
Sascha> option of yacc?
AM_YFLAGS
Tom