summaryrefslogtreecommitdiff
path: root/modules/math
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-11 02:36:40 +0100
committerBruno Haible <bruno@clisp.org>2012-03-11 03:02:52 +0100
commit6f9fd2e95ca3b10f066bac142903f9b81f4b9dc8 (patch)
tree9852367d7b01698d121d2f6d7b4b6e2682156dd0 /modules/math
parentef3f971ddf9b91cc6ea3af6e46532ea6b804b9ce (diff)
downloadgnulib-6f9fd2e95ca3b10f066bac142903f9b81f4b9dc8.tar.gz
log1pl-ieee: Work around test failure on IRIX 6.5.
* m4/log1pl-ieee.m4: New file. * m4/log1pl.m4 (gl_FUNC_LOG1PL): If gl_FUNC_LOG1PL_IEEE is present, test whether log1pl works with a minus zero argument. Replace it if not. * lib/math.in.h (log1pl): Override if REPLACE_LOG1PL is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOG1PL. * modules/math (Makefile.am): Substitute REPLACE_LOG1PL. * modules/log1pl (configure.ac): Consider REPLACE_LOG1PL. (Depends-on): Update conditions. * modules/log1pl-ieee (Files): Add m4/log1p-ieee.m4, m4/minus-zero.m4, m4/signbit.m4. (configure.ac): Invoke gl_FUNC_LOG1PL_IEEE. * doc/posix-functions/log1pl.texi: Mention the log1pl-ieee module.
Diffstat (limited to 'modules/math')
-rw-r--r--modules/math1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/math b/modules/math
index cbd86cd775..4f66c4d47e 100644
--- a/modules/math
+++ b/modules/math
@@ -240,6 +240,7 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
-e 's|@''REPLACE_LOGL''@|$(REPLACE_LOGL)|g' \
-e 's|@''REPLACE_LOG1P''@|$(REPLACE_LOG1P)|g' \
-e 's|@''REPLACE_LOG1PF''@|$(REPLACE_LOG1PF)|g' \
+ -e 's|@''REPLACE_LOG1PL''@|$(REPLACE_LOG1PL)|g' \
-e 's|@''REPLACE_MODF''@|$(REPLACE_MODF)|g' \
-e 's|@''REPLACE_MODFF''@|$(REPLACE_MODFF)|g' \
-e 's|@''REPLACE_MODFL''@|$(REPLACE_MODFL)|g' \