diff options
author | Bruno Haible <bruno@clisp.org> | 2012-03-10 16:05:56 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-03-10 16:08:06 +0100 |
commit | 14a3c6e4da8e6c5e65d0bba54cd42a91fd582603 (patch) | |
tree | 3d28190eac440afcf939c2a961676058d19c846c /modules/logf-ieee | |
parent | 204f9216c0518251439234fe17bd2f7798156aa3 (diff) | |
download | gnulib-14a3c6e4da8e6c5e65d0bba54cd42a91fd582603.tar.gz |
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.
Diffstat (limited to 'modules/logf-ieee')
-rw-r--r-- | modules/logf-ieee | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/logf-ieee b/modules/logf-ieee index 1d77dbe1b9..061db332a9 100644 --- a/modules/logf-ieee +++ b/modules/logf-ieee @@ -2,6 +2,7 @@ Description: logf() function according to ISO C 99 with IEC 60559. Files: +m4/logf-ieee.m4 Depends-on: logf @@ -9,7 +10,7 @@ fpieee log-ieee [test $HAVE_LOGF = 0 || test $REPLACE_LOGF = 1] configure.ac: -AC_REQUIRE([gl_FUNC_LOGF]) +gl_FUNC_LOGF_IEEE Makefile.am: |