]> Savannah Git Hosting - gnulib.git/commitdiff
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 64b4a0c7c0f61f57e1314245107aa9db3cc03b38..d8e474390519ba16c0027921fefb7cb3f631888b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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'.
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 a0b4c2929686748e13d57da4f630e6f27ca801c1..4385288451cd7576c32e37587b9991d3c4b2520b 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: