[Pixman] [PATCH] test: add a check for FE_DIVBYZERO

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Feb 23 02:10:47 PST 2014


Dear Søren Sandmann,

On Sun, 23 Feb 2014 02:46:48 +0100, Søren Sandmann wrote:

> > +AC_CHECK_DECL([FE_DIVBYZERO], [], [], [[#include <fenv.h>]])
> > +if test x$have_fe_divbyzero = xyes; then
> > +   AC_DEFINE(HAVE_FEDIVBYZERO, 1, [Whether we have FE_DIVBYZERO])
> > +fi
> 
> needs to actually set the $have_fe_divbyzero variable to yes or
> no. Otherwise HAVE_FEDIVBYZERO will just never be defined.

Ah, yes, right. I've just sent a v2 that fixes this.

Thanks for the review!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the Pixman mailing list