log10: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 20:20:16 +0000 (22:20 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 20:20:16 +0000 (22:20 +0200)
* m4/log10.m4: New file.
* modules/log10 (Files): Add it.
(configure.ac): Just invoke gl_FUNC_LOG10.

ChangeLog
m4/log10.m4 [new file with mode: 0644]
modules/log10

index 64b4a0c..d8e4743 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
+       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  <bruno@clisp.org>
+
        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 (file)
index 0000000..8f0bc34
--- /dev/null
@@ -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])
+])
index a0b4c29..4385288 100644 (file)
@@ -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: