From b3f31eeaa29521c15f6d5523a50c3061faf4384b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 29 Feb 2012 20:26:22 +0100 Subject: 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. --- modules/hypotf-ieee | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/hypotf-ieee') 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: -- cgit v1.2.1