Mercurial > hg > octave-jordi > gnulib-hg
diff modules/logf-ieee @ 16645:d7a6433b4967
logf-ieee: Work around test failure on NetBSD 5.1.
* m4/logf-ieee.m4: New file.
* m4/logf.m4 (gl_FUNC_LOGF): If gl_FUNC_LOGF_IEEE is present, test
whether logf works with a negative argument. Replace it if not.
* lib/logf.c (logf): For negative arguments, return NaN.
* modules/logf-ieee (Files): Add m4/logf-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOGF_IEEE.
* doc/posix-functions/logf.texi: Mention the logf-ieee module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 10 Mar 2012 16:05:56 +0100 |
parents | 6370677ce0df |
children | 1f14c6dd175d |
line wrap: on
line diff
--- a/modules/logf-ieee +++ b/modules/logf-ieee @@ -2,6 +2,7 @@ logf() function according to ISO C 99 with IEC 60559. Files: +m4/logf-ieee.m4 Depends-on: logf @@ -9,7 +10,7 @@ log-ieee [test $HAVE_LOGF = 0 || test $REPLACE_LOGF = 1] configure.ac: -AC_REQUIRE([gl_FUNC_LOGF]) +gl_FUNC_LOGF_IEEE Makefile.am: