From ee06ad8166947086ca41d758489f431a3d305b33 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 Oct 2011 00:33:24 +0200 Subject: [PATCH] sinh: Use a .m4 file. * m4/sinh.m4: New file. * modules/sinh (Files): Add it. (configure.ac): Just invoke gl_FUNC_SINH. --- ChangeLog | 7 +++++++ m4/sinh.m4 | 11 +++++++++++ modules/sinh | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 m4/sinh.m4 diff --git a/ChangeLog b/ChangeLog index b6578c989..03a9c88af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + sinh: Use a .m4 file. + * m4/sinh.m4: New file. + * modules/sinh (Files): Add it. + (configure.ac): Just invoke gl_FUNC_SINH. + +2011-10-08 Bruno Haible + Tests for module 'atan2f'. * modules/atan2f-tests: New file. * tests/test-atan2f.c: New file. diff --git a/m4/sinh.m4 b/m4/sinh.m4 new file mode 100644 index 000000000..0528c5bc4 --- /dev/null +++ b/m4/sinh.m4 @@ -0,0 +1,11 @@ +# sinh.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_SINH], +[ + dnl Determine SINH_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([sinh]) +]) diff --git a/modules/sinh b/modules/sinh index d02ef56d2..d4dd7208e 100644 --- a/modules/sinh +++ b/modules/sinh @@ -2,12 +2,13 @@ Description: sinh() function: hyperbolic sine function. Files: +m4/sinh.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([sinh]) +gl_FUNC_SINH Makefile.am: -- 2.11.0