From 9bbfe325514a952429ebd7c9b6cd9979d6b37296 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 8 Oct 2011 22:59:41 +0200 Subject: [PATCH] cos: Use a .m4 file. * m4/cos.m4: New file. * modules/cos (Files): Add it. (configure.ac): Just invoke gl_FUNC_COS. --- ChangeLog | 7 +++++++ m4/cos.m4 | 11 +++++++++++ modules/cos | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 m4/cos.m4 diff --git a/ChangeLog b/ChangeLog index 2e92e46af..268c4686d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + cos: Use a .m4 file. + * m4/cos.m4: New file. + * modules/cos (Files): Add it. + (configure.ac): Just invoke gl_FUNC_COS. + +2011-10-08 Bruno Haible + Tests for module 'sinf'. * modules/sinf-tests: New file. * tests/test-sinf.c: New file. diff --git a/m4/cos.m4 b/m4/cos.m4 new file mode 100644 index 000000000..a7ca2baaa --- /dev/null +++ b/m4/cos.m4 @@ -0,0 +1,11 @@ +# cos.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_COS], +[ + dnl Determine COS_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([cos]) +]) diff --git a/modules/cos b/modules/cos index eae9a4d28..833727585 100644 --- a/modules/cos +++ b/modules/cos @@ -2,12 +2,13 @@ Description: cos() function: cosine function. Files: +m4/cos.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([cos]) +gl_FUNC_COS Makefile.am: -- 2.11.0