summaryrefslogtreecommitdiff
path: root/modules/log-ieee
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-10 12:26:57 +0100
committerBruno Haible <bruno@clisp.org>2012-03-10 16:08:03 +0100
commit810183441d657ca09f906ee4d916ac55a1b6127f (patch)
tree68ec2eae42c51bcb14d34fa45fce8ef1edd65794 /modules/log-ieee
parent370a139a641c5f9c659e44ee1554893f7d87e20f (diff)
downloadgnulib-810183441d657ca09f906ee4d916ac55a1b6127f.tar.gz
log-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
* m4/log-ieee.m4: New file. * m4/log.m4 (gl_FUNC_LOG): If gl_FUNC_LOG_IEEE is present, test whether log works with a negative argument. Replace it if not. * lib/log.c (log): For negative arguments, return NaN. * modules/log-ieee (Files): Add m4/log-ieee.m4. (configure.ac): Invoke gl_FUNC_LOG_IEEE. * doc/posix-functions/log.texi: Mention the log-ieee module.
Diffstat (limited to 'modules/log-ieee')
-rw-r--r--modules/log-ieee2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/log-ieee b/modules/log-ieee
index ad62788ea2..5ce841cf62 100644
--- a/modules/log-ieee
+++ b/modules/log-ieee
@@ -2,12 +2,14 @@ Description:
log() function according to ISO C 99 with IEC 60559.
Files:
+m4/log-ieee.m4
Depends-on:
log
fpieee
configure.ac:
+gl_FUNC_LOG_IEEE
Makefile.am: