copysignf: Don't override undeclared system function on IRIX 6.5.
authorBruno Haible <bruno@clisp.org>
Wed, 7 Mar 2012 23:42:49 +0000 (00:42 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 7 Mar 2012 23:42:49 +0000 (00:42 +0100)
commit0d9ccdd3faa9b6f2e89ecaffe9f27aa88cc01258
tree1c93132b232b5e510b80e980dc9896b96384fd8f
parent6aefe07bd86d5579c60dc35c874fc0e6c1972b49
copysignf: Don't override undeclared system function on IRIX 6.5.

* lib/math.in.h (copysignf): Test HAVE_DECL_COPYSIGNF, not
HAVE_COPYSIGNF.
* m4/copysignf.m4 (gl_FUNC_COPYSIGNF): Don't assume copysignf() is
declared when it exists. Set HAVE_DECL_COPYSIGNF.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_COPYSIGNF,
not HAVE_COPYSIGNF.
* modules/math (Makefile.am): Substitute HAVE_DECL_COPYSIGNF, not
HAVE_COPYSIGNF.
* doc/posix-functions/copysignf.texi: Mention missing declaration
problem.
ChangeLog
doc/posix-functions/copysignf.texi
lib/math.in.h
m4/copysignf.m4
m4/math_h.m4
modules/math