From: Bruno Haible Date: Tue, 19 Jan 2010 00:50:01 +0000 (+0100) Subject: sqrt: Make gl_FUNC_SQRT requirable. X-Git-Tag: v0.1~4736 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=438ba4dda6cffac43a76642edbde5eb3504001d9;p=gnulib.git sqrt: Make gl_FUNC_SQRT requirable. --- diff --git a/ChangeLog b/ChangeLog index 63a4a4171..25bbbe5aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 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. * m4/mathfunc.m4: New file. * modules/acos: New file. diff --git a/m4/sqrt.m4 b/m4/sqrt.m4 new file mode 100644 index 000000000..947389a92 --- /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 index b425ca495..bceda3d8e 100644 --- a/modules/sqrt +++ b/modules/sqrt @@ -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: