Bob Friesenhahn <[EMAIL PROTECTED]> writes:

| Use LIBADD rather than LIBS.  LIBS use used by all libraries, while
| LIBADD must be specified individually for each library.

Akim Demaille <[EMAIL PROTECTED]> writes:

| Just don't use -lfl at all.

I don't specify -lfl and I don't use LIBS, so I can not use LIBADD
instead.  This is the whole Makefile.am:

----------------------------------------------------------------------
CFLAGS+=-g
YACC+=-d

bin_PROGRAMS = rlpd rlpc
rlpd_SOURCES = rlpd.c rlp.c errwrap.c conf_parser.y conf_lexer.l
rlpc_SOURCES = rlpc.c rlp.c errwrap.c

EXTRA_DIST = doc/rfc887.txt

DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)\"
----------------------------------------------------------------------

How can I tell automake to stop using -lfl either for all programs or
only for one?  I tried to set LEXLIB to nothing, but that had no
effect.

Another questions:

- How can I check for flex and bison instead of lex and yacc?  I use
  some flex/bison specific features, which would not work with
  lex/yacc.

- How can I get the evaluated value of sysconfdir into a file?  When I
  put @sysconfdir@ in a .in file, it will be replaced by
  "$(prefix)/etc".  And this does not help much in a header file for
  example.

- Is there something like YACCFLAGS, that can be used for the -d
  option of yacc?

Sascha

-- 
Freie Software ist der Ausgang des Menschen aus seiner
selbstverschuldeten Unmündigkeit.                (Immanuel Kant, 1784) 

Reply via email to