diff options
author | Bruno Haible <bruno@clisp.org> | 2012-02-29 20:26:22 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2012-02-29 20:51:43 +0100 |
commit | b3f31eeaa29521c15f6d5523a50c3061faf4384b (patch) | |
tree | 096547183d5e2200f846fd4366f9ffab9fea50ad /modules/hypotf-ieee | |
parent | 9fb732a430dbc21f0502b77e76ec68d13f8b8f39 (diff) | |
download | gnulib-b3f31eeaa29521c15f6d5523a50c3061faf4384b.tar.gz |
hypotf-ieee: Work around test failure on OSF/1 and native Windows.
* m4/hypotf-ieee.m4: New file.
* m4/hypotf.m4 (gl_FUNC_HYPOTF): If gl_FUNC_HYPOTF_IEEE is present,
test whether hypotf works with mixed NaN and Infinity arguments.
Replace it if not.
* modules/hypotf-ieee (Files): Add m4/hypotf-ieee.m4.
(Depends-on): Add hypot-ieee.
(configure.ac): Invoke gl_FUNC_HYPOTF_IEEE.
* doc/posix-functions/hypotf.texi: Mention the hypotf-ieee module.
Diffstat (limited to 'modules/hypotf-ieee')
-rw-r--r-- | modules/hypotf-ieee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/hypotf-ieee b/modules/hypotf-ieee index 3e416cf12e..0efc2e6c3b 100644 --- a/modules/hypotf-ieee +++ b/modules/hypotf-ieee @@ -2,12 +2,15 @@ Description: hypotf() function according to ISO C 99 with IEC 60559. Files: +m4/hypotf-ieee.m4 Depends-on: hypotf fpieee +hypot-ieee [test $HAVE_HYPOTF = 0 || test $REPLACE_HYPOTF = 1] configure.ac: +gl_FUNC_HYPOTF_IEEE Makefile.am: |