From ea1da6409bc835b9fd5ba34bdf6369535e350dfb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 Oct 2011 00:49:50 +0200 Subject: [PATCH] tanh: Use a .m4 file. * m4/tanh.m4: New file. * modules/tanh (Files): Add it. (configure.ac): Just invoke gl_FUNC_TANH. --- ChangeLog | 7 +++++++ m4/tanh.m4 | 11 +++++++++++ modules/tanh | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 m4/tanh.m4 diff --git a/ChangeLog b/ChangeLog index 278814a58..e05e78da0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + tanh: Use a .m4 file. + * m4/tanh.m4: New file. + * modules/tanh (Files): Add it. + (configure.ac): Just invoke gl_FUNC_TANH. + +2011-10-08 Bruno Haible + Tests for module 'coshf'. * modules/coshf-tests: New file. * tests/test-coshf.c: New file. diff --git a/m4/tanh.m4 b/m4/tanh.m4 new file mode 100644 index 000000000..39f41440f --- /dev/null +++ b/m4/tanh.m4 @@ -0,0 +1,11 @@ +# tanh.m4 serial 1 +dnl Copyright (C) 2011 Free Software Foundation, Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. + +AC_DEFUN([gl_FUNC_TANH], +[ + dnl Determine TANH_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([tanh]) +]) diff --git a/modules/tanh b/modules/tanh index 6969caf53..d09afadfd 100644 --- a/modules/tanh +++ b/modules/tanh @@ -2,12 +2,13 @@ Description: tanh() function: hyperbolic tangent function. Files: +m4/tanh.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([tanh]) +gl_FUNC_TANH Makefile.am: -- 2.11.0