From: Bruno Haible Date: Sat, 8 Oct 2011 21:44:14 +0000 (+0200) Subject: atan: Use a .m4 file. X-Git-Tag: v0.1~1640 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=50ef96d5a5201fa07917adcf7a118cb45d4de80a;p=gnulib.git atan: Use a .m4 file. * m4/atan.m4: New file. * modules/atan (Files): Add it. (configure.ac): Just invoke gl_FUNC_ATAN. --- diff --git a/ChangeLog b/ChangeLog index 6b3ebd2a9..2b7a1552a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + atan: Use a .m4 file. + * m4/atan.m4: New file. + * modules/atan (Files): Add it. + (configure.ac): Just invoke gl_FUNC_ATAN. + +2011-10-08 Bruno Haible + Tests for module 'acosf'. * modules/acosf-tests: New file. * tests/test-acosf.c: New file. diff --git a/m4/atan.m4 b/m4/atan.m4 new file mode 100644 index 000000000..524a157ed --- /dev/null +++ b/m4/atan.m4 @@ -0,0 +1,11 @@ +# atan.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_ATAN], +[ + dnl Determine ATAN_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([atan]) +]) diff --git a/modules/atan b/modules/atan index 9c5960194..5a82663be 100644 --- a/modules/atan +++ b/modules/atan @@ -2,12 +2,13 @@ Description: atan() function: inverse tangent function. Files: +m4/atan.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([atan]) +gl_FUNC_ATAN Makefile.am: