From: Bruno Haible Date: Tue, 19 Jan 2010 00:50:01 +0000 (+0100) Subject: sqrt: Make gl_FUNC_SQRT requirable. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=438ba4dda6cffac43a76642edbde5eb3504001d9;p=pspp sqrt: Make gl_FUNC_SQRT requirable. --- diff --git a/ChangeLog b/ChangeLog index 63a4a41719..25bbbe5aab 100644 --- 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 index 0000000000..947389a927 --- /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 b425ca4953..bceda3d8e1 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: