summaryrefslogtreecommitdiff
path: root/modules/math-c++-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-10-09 15:53:49 +0200
committerBruno Haible <bruno@clisp.org>2011-10-09 16:21:26 +0200
commit28805c10858cd92365be6f74113da8d4939c3dca (patch)
tree0070bc944051771acc05b74872b2c97eb39c1882 /modules/math-c++-tests
parent85aa818d44dd0243490d81045c06e6289ab9d43a (diff)
downloadgnulib-28805c10858cd92365be6f74113da8d4939c3dca.tar.gz
New module 'copysignl'.
* lib/math.in.h (copysignl): New declaration. * lib/copysignl.c: New file. * m4/copysignl.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether copysignl is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_COPYSIGNL, HAVE_COPYSIGNL. * modules/math (Makefile.am): Substitute GNULIB_COPYSIGNL, HAVE_COPYSIGNL. * modules/copysignl: New file. * tests/test-math-c++.cc: Check the declaration of copysignl. * modules/math-c++-tests (Makefile.am): Link test-math-c++ against $(COPYSIGNL_LIBM). Needed on IRIX 6.5 with cc. * doc/posix-functions/copysignl.texi: Mention the new module.
Diffstat (limited to 'modules/math-c++-tests')
-rw-r--r--modules/math-c++-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/math-c++-tests b/modules/math-c++-tests
index 24aa81078e..6e2d003437 100644
--- a/modules/math-c++-tests
+++ b/modules/math-c++-tests
@@ -16,4 +16,5 @@ if ANSICXX
TESTS += test-math-c++
check_PROGRAMS += test-math-c++
test_math_c___SOURCES = test-math-c++.cc test-math-c++2.cc
+test_math_c___LDADD = $(LDADD) $(COPYSIGNL_LIBM)
endif