diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index a5edd13c..76e45bc0 100644 --- a/configure.ac +++ b/configure.ac @@ -204,11 +204,11 @@ AC_MSG_CHECKING([for C99 math functions]) AC_LINK_IFELSE([AC_LANG_PROGRAM( [#include <math.h>], [int q; - return (int)(hypot(3.0, 4.0) + atanh(0.8) + cbrt(8.0) + - remquo(100.0, 90.0, &q) + + return (int)(hypot(3.0, 4.0) + log1p(2.0) + asinh(10.0) + + atanh(0.8) + cbrt(8.0) + remquo(100.0, 90.0, &q) + remainder(100.0, 90.0) + copysign(1.0, -0.0) + - log1p(0.1) + asinh(0.1)) + - isnan(0.0);])], + round(3.5)) + + (int)(lround(-3.5)) + isnan(0.0);])], [AC_MSG_RESULT([yes]);C99_MATH="-DHAVE_C99_MATH=1"], [AC_MSG_RESULT([no]);C99_MATH="-DHAVE_C99_MATH=0"]) CFLAGS="$save_CFLAGS $C99_MATH" |
