On Jan 24, 2001, Stephane Bortzmeyer <[EMAIL PROTECTED]> wrote:
> Because -L was put too late.
It should probably be in LDFLAGS, not LIBS.
> Indeed, the fault seems to be in acgeneral.m4, when defining AC_CHECK_LIB:
> LIBS="-l$1 $5 $LIBS"
> IMHO, it should be:
> LIBS="$LIBS -l$1 $5"
Nope. First, you look for libraries that don't depend on any others.
Then, you test for libraries that depend on them. Order matters, and
autoconf is doing The Right Thing (TM).
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me