From: oetiker Date: Mon, 10 Aug 2009 11:47:18 +0000 (+0000) Subject: include math.h when testing IEEE X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13362237d4ea5984bbe5a303940d41a4996c20b7;p=rrdtool-all.git include math.h when testing IEEE git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1887 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/m4/acinclude.m4 b/program/m4/acinclude.m4 index f1b61192..c1e5c4bd 100644 --- a/program/m4/acinclude.m4 +++ b/program/m4/acinclude.m4 @@ -390,6 +390,10 @@ AC_CACHE_VAL([rd_cv_ieee_$2], # define isinf(a) (fpclassify(a) == FP_INFINITE) #endif +#if HAVE_MATH_H +#include +#endif + #include int main(void){ double rrdnan,rrdinf,rrdc,rrdzero;