From: Bruno Haible Date: Sat, 8 Oct 2011 20:20:16 +0000 (+0200) Subject: log10: Use a .m4 file. X-Git-Tag: v0.1~1661 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=0fcd1e44a647cb60984c78c6e487815b74744760;p=gnulib.git log10: Use a .m4 file. * m4/log10.m4: New file. * modules/log10 (Files): Add it. (configure.ac): Just invoke gl_FUNC_LOG10. --- diff --git a/ChangeLog b/ChangeLog index 64b4a0c7c..d8e474390 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-10-08 Bruno Haible + log10: Use a .m4 file. + * m4/log10.m4: New file. + * modules/log10 (Files): Add it. + (configure.ac): Just invoke gl_FUNC_LOG10. + +2011-10-08 Bruno Haible + Tests for module 'logf'. * modules/logf-tests: New file. * tests/test-logf.c: New file. diff --git a/m4/log10.m4 b/m4/log10.m4 new file mode 100644 index 000000000..8f0bc3474 --- /dev/null +++ b/m4/log10.m4 @@ -0,0 +1,11 @@ +# log10.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_LOG10], +[ + dnl Determine LOG10_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([log10]) +]) diff --git a/modules/log10 b/modules/log10 index a0b4c2929..438528845 100644 --- a/modules/log10 +++ b/modules/log10 @@ -2,12 +2,13 @@ Description: log10() function: base 10 logarithmic function. Files: +m4/log10.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_COMMON_DOUBLE_MATHFUNC([log10]) +gl_FUNC_LOG10 Makefile.am: