Hi Stefan, Bob, * Bob Proulx wrote on Thu, Mar 06, 2008 at 05:21:05PM CET: > Stefan Bienert wrote: > > after an hour of searching, how am I supposed to invoke "-lm -lz" into > > my compilation? The documentation states something about using "LIBS" as > > a variable, autoconf also speaks of "LIBS" but nobody tells one what to > > do with that variable. > > LIBS is inherited from autoconf and is documented there. You can get > a quick usage by invoking './configure --help' to get a help listing > from it.
Yes, and also many Autoconf macros (essentially all those that check for libraries) add to $LIBS. You could do that in configure.ac, too. Cheers, Ralf