Re: gl_IGNORE_UNUSED_LIBRARIES sets --as-needed on HP-UX but should not
From:
Ralf Wildenhues
Subject:
Re: gl_IGNORE_UNUSED_LIBRARIES sets --as-needed on HP-UX but should not
Date:
Tue, 20 Jun 2006 07:06:47 +0200
User-agent:
Mutt/1.5.11+cvs20060403
* Bob Proulx wrote on Tue, Jun 20, 2006 at 01:44:23AM CEST:
>
> Should the stderr be captured and if non-zero in size also denote a
> failure?
That's usually too conservative. CVS Libtool's _LT_LINKER_OPTION takes
empty stderr as success, or a zero diff between a link without and with
the option in question. Mind you though, even this is far from fool-
proof; in fact, there are some known failure cases where compilers or
linkers are just too noisy. (This is also why we haven't suggested the
macro for Autoconf yet.)
Cheers,
Ralf