From b892d78c38d15fd04150689de8e83b0c575f8620 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 8 Oct 2011 23:10:08 +0200 Subject: [PATCH] tan: Use a .m4 file. * m4/tan.m4: New file. * modules/tan (Files): Add it. (configure.ac): Just invoke gl_FUNC_TAN. --- ChangeLog | 7 +++++++ m4/tan.m4 | 11 +++++++++++ modules/tan | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 m4/tan.m4 diff --git a/ChangeLog b/ChangeLog index 1496783fda..7d75aca1e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-08 Bruno Haible + + tan: Use a .m4 file. + * m4/tan.m4: New file. + * modules/tan (Files): Add it. + (configure.ac): Just invoke gl_FUNC_TAN. + 2011-10-08 Bruno Haible Tests for module 'cosf'. diff --git a/m4/tan.m4 b/m4/tan.m4 new file mode 100644 index 0000000000..22ebed7e72 --- /dev/null +++ b/m4/tan.m4 @@ -0,0 +1,11 @@ +# tan.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_TAN], +[ + dnl Determine TAN_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([tan]) +]) diff --git a/modules/tan b/modules/tan index 4f14961fa1..0553e08ba2 100644 --- a/modules/tan +++ b/modules/tan @@ -2,12 +2,13 @@ Description: tan() function: tangent function. Files: +m4/tan.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([tan]) +gl_FUNC_TAN Makefile.am: -- 2.39.5