From b398592c340a33c50703310c3df0d50ed777fe0d Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 8 Oct 2011 22:45:54 +0200 Subject: New module 'powf'. * lib/math.in.h (powf): New declaration. * lib/powf.c: New file. * m4/powf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether powf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_POWF, HAVE_POWF. * modules/math (Makefile.am): Substitute GNULIB_POWF, HAVE_POWF. * modules/powf: New file. * tests/test-math-c++.cc: Check the declaration of powf. * doc/posix-functions/powf.texi: Mention the new module. --- modules/powf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/powf (limited to 'modules/powf') diff --git a/modules/powf b/modules/powf new file mode 100644 index 0000000000..0f31ce2cf2 --- /dev/null +++ b/modules/powf @@ -0,0 +1,31 @@ +Description: +powf() function: power function. + +Files: +lib/powf.c +m4/powf.m4 + +Depends-on: +math +pow [test $HAVE_POWF = 0] + +configure.ac: +gl_FUNC_POWF +if test $HAVE_POWF = 0; then + AC_LIBOBJ([powf]) +fi +gl_MATH_MODULE_INDICATOR([powf]) + +Makefile.am: + +Include: + + +Link: +$(POWF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible -- cgit v1.2.1