From 27b32e104397cd331f7530cb383e0b27c3177edc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 8 Oct 2011 23:18:27 +0200 Subject: [PATCH] asin: Use a .m4 file. * m4/asin.m4: New file. * modules/asin (Files): Add it. (configure.ac): Just invoke gl_FUNC_ASIN. --- ChangeLog | 7 +++++++ m4/asin.m4 | 11 +++++++++++ modules/asin | 3 ++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 m4/asin.m4 diff --git a/ChangeLog b/ChangeLog index a9728c3bb..ac1f0d944 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + asin: Use a .m4 file. + * m4/asin.m4: New file. + * modules/asin (Files): Add it. + (configure.ac): Just invoke gl_FUNC_ASIN. + +2011-10-08 Bruno Haible + Tests for module 'tanf'. * modules/tanf-tests: New file. * tests/test-tanf.c: New file. diff --git a/m4/asin.m4 b/m4/asin.m4 new file mode 100644 index 000000000..6fb55b29a --- /dev/null +++ b/m4/asin.m4 @@ -0,0 +1,11 @@ +# asin.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_ASIN], +[ + dnl Determine ASIN_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([asin]) +]) diff --git a/modules/asin b/modules/asin index e6c496bc8..ac1145806 100644 --- a/modules/asin +++ b/modules/asin @@ -2,12 +2,13 @@ Description: asin() function: inverse sine function. Files: +m4/asin.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([asin]) +gl_FUNC_ASIN Makefile.am: -- 2.11.0