# HG changeset patch # User Bruno Haible # Date 1263862201 -3600 # Node ID 78eebabdbcd9e3e4c942ec8b99bad0f9ecc55289 # Parent 6b4859a7c820f52814a767fffb8339a1ba1f92e4 sqrt: Make gl_FUNC_SQRT requirable. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-01-18 Bruno Haible + + 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 New modules for common functions. diff --git a/m4/sqrt.m4 b/m4/sqrt.m4 new file mode 100644 --- /dev/null +++ b/m4/sqrt.m4 @@ -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]) +]) diff --git a/modules/sqrt b/modules/sqrt --- a/modules/sqrt +++ b/modules/sqrt @@ -2,12 +2,13 @@ sqrt() function: square root. Files: +m4/sqrt.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_MATHFUNC([sqrt]) +gl_FUNC_SQRT Makefile.am: