sqrt: Make gl_FUNC_SQRT requirable.
authorBruno Haible <bruno@clisp.org>
Tue, 19 Jan 2010 00:50:01 +0000 (01:50 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 19 Jan 2010 00:50:01 +0000 (01:50 +0100)
ChangeLog
m4/sqrt.m4 [new file with mode: 0644]
modules/sqrt

index 63a4a41..25bbbe5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-01-18  Bruno Haible  <bruno@clisp.org>
 
+       sqrt: Make gl_FUNC_SQRT requirable.
+       * m4/sqrt.m4: New file.
+       * modules/sqrt (Files): Add it.
+       (configure.ac): Invoke gl_FUNC_SQRT.
+
+2010-01-18  Bruno Haible  <bruno@clisp.org>
+
        New modules for common <math.h> functions.
        * m4/mathfunc.m4: New file.
        * modules/acos: New file.
diff --git a/m4/sqrt.m4 b/m4/sqrt.m4
new file mode 100644 (file)
index 0000000..947389a
--- /dev/null
@@ -0,0 +1,10 @@
+# sqrt.m4 serial 1
+dnl Copyright (C) 2010 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_SQRT],
+[
+  gl_MATHFUNC([sqrt])
+])
index b425ca4..bceda3d 100644 (file)
@@ -2,12 +2,13 @@ Description:
 sqrt() function: square root.
 
 Files:
+m4/sqrt.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_MATHFUNC([sqrt])
+gl_FUNC_SQRT
 
 Makefile.am: