This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: flex -lfl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]