Mercurial > hg > octave-lojdl > gnulib-hg
diff modules/frexpf @ 15845:622d3734ca5a
frexpf: Work around problems on IRIX and mingw.
* lib/math.in.h (frexpf): Consider also REPLACE_FREXPF.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_FREXPF.
* m4/frexpf.m4 (gl_FUNC_FREXPF_WORKS): New macro.
(gl_FUNC_FREXPF): Invoke it. Set REPLACE_FREXPF.
* modules/frexpf (Depends-on, configure.ac): Consider REPLACE_FREXPF.
* modules/math (Makefile.am): Substitute REPLACE_FREXPF.
* doc/posix-functions/frexpf.texi: Mention the IRIX and mingw problems.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 07 Oct 2011 00:59:38 +0200 |
parents | bc22a56bfa43 |
children | fdbe3125f81a |
line wrap: on
line diff
--- a/modules/frexpf +++ b/modules/frexpf @@ -8,11 +8,11 @@ Depends-on: math -frexp [test $HAVE_FREXPF = 0] +frexp [test $HAVE_FREXPF = 0 || test $REPLACE_FREXPF = 1] configure.ac: gl_FUNC_FREXPF -if test $HAVE_FREXPF = 0; then +if test $HAVE_FREXPF = 0 || test $REPLACE_FREXPF = 1; then AC_LIBOBJ([frexpf]) fi gl_MATH_MODULE_INDICATOR([frexpf])