From: Bruno Haible Date: Sat, 8 Oct 2011 20:48:25 +0000 (+0200) Subject: sin: Use a .m4 file. X-Git-Tag: v0.1~1655 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=8b2793cebe3b7803df6fa1bbce5ec1baf8a6b9b3;p=gnulib.git sin: Use a .m4 file. * m4/sin.m4: New file. * modules/sin (Files): Add it. (configure.ac): Just invoke gl_FUNC_SIN. --- diff --git a/ChangeLog b/ChangeLog index c3f70884d..88aebc381 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + sin: Use a .m4 file. + * m4/sin.m4: New file. + * modules/sin (Files): Add it. + (configure.ac): Just invoke gl_FUNC_SIN. + +2011-10-08 Bruno Haible + Tests for module 'powf'. * modules/powf-tests: New file. * tests/test-powf.c: New file. diff --git a/m4/sin.m4 b/m4/sin.m4 new file mode 100644 index 000000000..c991badf2 --- /dev/null +++ b/m4/sin.m4 @@ -0,0 +1,11 @@ +# sin.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_SIN], +[ + dnl Determine SIN_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([sin]) +]) diff --git a/modules/sin b/modules/sin index ba5e92db7..357e7b245 100644 --- a/modules/sin +++ b/modules/sin @@ -2,12 +2,13 @@ Description: sin() function: sine function. Files: +m4/sin.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([sin]) +gl_FUNC_SIN Makefile.am: