[Monetdb-developers] [Monetdb-checkins] MonetDB5/src/modules/atoms Makefile.ag, 1.29, 1.30

Fabian Groffen Fabian.Groffen at cwi.nl
Wed Apr 25 11:33:02 CEST 2007

On 25-04-2007 11:26:29 +0200, Steffen Goeldner wrote:
> Fabian wrote:
> > Update of /cvsroot/monetdb/MonetDB5/src/modules/atoms
> > In directory sc8-pr-cvs16:/tmp/cvs-serv28157
> > 
> > Modified Files:
> > 	Makefile.ag 
> > Log Message:
> > color.mx uses floor, which (at least on my machine -- for as long as
> > it's running) needs -lm during linking.
> Have no libm on W2K. Other modules abuse LDFLAGS = -lm and this
> seems to be ignored be the Makefile.msc generator - so LDFLAGS
> works somehow as a workaround. Whats your policy in this regard?

I don't have a policy here.  I discussed this with Sjoerd, first
proposing that configure should set -lm after a configure check.
Because Sjoerd didn't know a platform that this doesn't work on, we
agreed on just hacking it in (it seems to be done like that in other
places).  However, judging from your problem, it better is dealt with by
some autotools thing, as my primary intuition said.  Feel free to "fix"
it, if you know how.

More information about the developers-list mailing list