comparison m4/math_h.m4 @ 16587:d71dacc1f7e0

Work around expm1f bug on IRIX 6.5. * lib/math.in.h (expm1f): Override if REPLACE_EXPM1F is 1. * m4/expm1f.m4 (gl_FUNC_EXPM1F_WORKS): New macro. (gl_FUNC_EXPM1F): Invoke it. Set REPLACE_EXPM1F to 1 if expm1f() does not work. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_EXPM1F. * modules/math (Makefile.am): Substitute REPLACE_EXPM1F. * modules/expm1f (configure.ac): Consider REPLACE_EXPM1F. (Depends-on): Update conditions. * doc/posix-functions/expm1f.texi: Mention the IRIX 6.5 bug.
author Bruno Haible <bruno@clisp.org>
date Tue, 06 Mar 2012 23:25:51 +0100
parents e9d32ad2396a
children 6312b64c2c23
comparison
equal deleted inserted replaced
16586:79c22773e9b7 16587:d71dacc1f7e0
1 # math_h.m4 serial 82 1 # math_h.m4 serial 83
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
225 REPLACE_CBRTF=0; AC_SUBST([REPLACE_CBRTF]) 225 REPLACE_CBRTF=0; AC_SUBST([REPLACE_CBRTF])
226 REPLACE_CBRTL=0; AC_SUBST([REPLACE_CBRTL]) 226 REPLACE_CBRTL=0; AC_SUBST([REPLACE_CBRTL])
227 REPLACE_CEIL=0; AC_SUBST([REPLACE_CEIL]) 227 REPLACE_CEIL=0; AC_SUBST([REPLACE_CEIL])
228 REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF]) 228 REPLACE_CEILF=0; AC_SUBST([REPLACE_CEILF])
229 REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL]) 229 REPLACE_CEILL=0; AC_SUBST([REPLACE_CEILL])
230 REPLACE_EXPM1F=0; AC_SUBST([REPLACE_EXPM1F])
230 REPLACE_FABSL=0; AC_SUBST([REPLACE_FABSL]) 231 REPLACE_FABSL=0; AC_SUBST([REPLACE_FABSL])
231 REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR]) 232 REPLACE_FLOOR=0; AC_SUBST([REPLACE_FLOOR])
232 REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF]) 233 REPLACE_FLOORF=0; AC_SUBST([REPLACE_FLOORF])
233 REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL]) 234 REPLACE_FLOORL=0; AC_SUBST([REPLACE_FLOORL])
234 REPLACE_FMA=0; AC_SUBST([REPLACE_FMA]) 235 REPLACE_FMA=0; AC_SUBST([REPLACE_FMA])