Mercurial > hg > octave-kai > gnulib-hg
comparison m4/math_h.m4 @ 16628:d19d163c1519
exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5.
* m4/exp2l-ieee.m4: New file.
* m4/exp2l.m4 (gl_FUNC_EXP2L): If gl_FUNC_EXP2L_IEEE is present,
test whether exp2l works with a NaN argument and with a negative
infinity argument. Replace it if not.
* lib/math.in.h (exp2l): Override if REPLACE_EXP2L is 1.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_EXP2L.
* modules/math (Makefile.am): Substitute REPLACE_EXP2L.
* modules/exp2l (configure.ac): Consider REPLACE_EXP2L.
(Depends-on): Update conditions.
* modules/exp2l-ieee (Files): Add m4/exp2l-ieee.m4.
(configure.ac): Invoke gl_FUNC_EXP2L_IEEE.
* doc/posix-functions/exp2l.texi: Mention the exp2l-ieee module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 09 Mar 2012 02:14:26 +0100 |
parents | 4a578c3945b8 |
children | 45443deebb7d |
comparison
equal
deleted
inserted
replaced
16627:e67eb36407a3 | 16628:d19d163c1519 |
---|---|
1 # math_h.m4 serial 91 | 1 # math_h.m4 serial 92 |
2 dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. | 2 dnl Copyright (C) 2007-2012 Free Software Foundation, Inc. |
3 dnl This file is free software; the Free Software Foundation | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | 4 dnl gives unlimited permission to copy and/or distribute it, |
5 dnl with or without modifications, as long as this notice is preserved. | 5 dnl with or without modifications, as long as this notice is preserved. |
6 | 6 |
235 REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF]) | 235 REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF]) |
236 REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL]) | 236 REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL]) |
237 REPLACE_EXPM1=0; AC_SUBST([REPLACE_EXPM1]) | 237 REPLACE_EXPM1=0; AC_SUBST([REPLACE_EXPM1]) |
238 REPLACE_EXPM1F=0; AC_SUBST([REPLACE_EXPM1F]) | 238 REPLACE_EXPM1F=0; AC_SUBST([REPLACE_EXPM1F]) |
239 REPLACE_EXP2=0; AC_SUBST([REPLACE_EXP2]) | 239 REPLACE_EXP2=0; AC_SUBST([REPLACE_EXP2]) |
240 REPLACE_EXP2L=0; AC_SUBST([REPLACE_EXP2L]) | |
240 REPLACE_FABSL=0; AC_SUBST([REPLACE_FABSL]) | 241 REPLACE_FABSL=0; AC_SUBST([REPLACE_FABSL]) |
241 REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR]) | 242 REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR]) |
242 REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF]) | 243 REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF]) |
243 REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL]) | 244 REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL]) |
244 REPLACE_FMA=0; AC_SUBST([REPLACE_FMA]) | 245 REPLACE_FMA=0; AC_SUBST([REPLACE_FMA]) |