On Nov 25, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote:

>>> Do I have to use some macro in configure.in to fill $(LINK) with GNU ld?
Alexandre> automake should define it to `$(LIBTOOL) $(CC/CXX)...'.
Alexandre> Maybe it only does this when there is at least one source
Alexandre> file to compile in the current directory?

> Yeah, that's how it works.  I realize this is less than good.  Can you
> suggest how it ought to work?

I think the current behavior is fine, since it is indeed invalid to
create a library or libtool archive out of no source files.  However,
we might output a warning (or even an error) if we find a request to
create a library out of no source files.

-- 
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

Reply via email to