]> Savannah Git Hosting - gnulib.git/commitdiff
pow: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 20:34:38 +0000 (22:34 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 20:34:38 +0000 (22:34 +0200)
* m4/pow.m4: New file.
* modules/pow (Files): Add it.
(configure.ac): Just invoke gl_FUNC_POW.

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

index f7819a69484e17797914c35c99b5111db748e1f6..c744815290c0d333056fbfd9e9a67f160d561ee8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
+       pow: Use a .m4 file.
+       * m4/pow.m4: New file.
+       * modules/pow (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_POW.
+
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'log10f'.
diff --git a/m4/pow.m4 b/m4/pow.m4
new file mode 100644 (file)
index 0000000..a495973
--- /dev/null
+++ b/m4/pow.m4
@@ -0,0 +1,11 @@
+# pow.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_POW],
+[
+  dnl Determine POW_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([pow])
+])
index dec50d1bc2b558e15c6363245104a77cbe3ae25e..a2cb311abfe0f7d996c4b9221497fe7ca1f965c2 100644 (file)
@@ -2,12 +2,13 @@ Description:
 pow() function: power function.
 
 Files:
+m4/pow.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([pow])
+gl_FUNC_POW
 
 Makefile.am: