Bizarre test for main in libm

Phil Edwards phil@jaj.com
Fri May 2 15:49:00 GMT 2003


On Fri, May 02, 2003 at 09:42:55AM +0100, Richard Earnshaw wrote:
> > 
> > Right.  It might just be a semi-convenient way of getting -lm added to
> > LIBS if-and-only-if libm is available.  The theory, I think, is that if
> > libm is available at all, it's probably also required (for us).
> > 
> 
> Ah.  I get it.  I would have said this was non-obvious enough to warrant a 
> comment, but then I'm not an autoconf expert.

No, this counts as freaky weird.  I've added a comment to my local tree and
will check it in in the short-term future, along with other odds and ends,
assuming nobody else comes up with a better explanation.

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Libstdc++ mailing list