Subject: Re: Anyone working on KDE4?
To: None <pkgsrc-users@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 05/20/2007 14:29:41
On Sat, May 19, 2007 at 01:09:11PM +0300, Hasso Tepper wrote:
> @@ -16,7 +16,7 @@
>      LIBS="-lm"
>      AC_MSG_CHECKING([for isnan with <math.h>])
>      AC_TRY_LINK(
> -	[#include <math.h>], [float f = 0.0; isnan(f)],
> +	[#include <math.h>], [float f = 0.0; return isnan(f)],

This still doesn't work with -ffast-math. There was a bug in mplayer's
configure with the lrintf detection due to this kind of problem.

It has to be a variable that the compiler can't be sure about, e.g. a
global variable.

Joerg