Subject: Re: Anyone working on KDE4?
To: None <firstname.lastname@example.org>
From: Hasso Tepper <email@example.com>
Date: 05/21/2007 10:58:48
Joerg Sonnenberger wrote:
> On Sat, May 19, 2007 at 01:09:11PM +0300, Hasso Tepper wrote:
>> @@ -16,7 +16,7 @@
>> AC_MSG_CHECKING([for isnan with <math.h>])
>> - [#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.
I know. The problem is that AFAICS there is no way to use global variables
with existing AC_TRY_LINK macro. It might be possible with more recent
AC_LINK_IFELSE macro (I haven't tested yet), but for some reason KDE
doesn't use any _IFELSE macros. I have to find out that reason at first -
just historic or these don't exist in supported autoconf version?
So, for now if this little patch solves the problem with Solaris, I will
commit this little fix and will leave further investigation into my TODO