diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-06 00:03:44 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-10-06 00:03:44 +0200 |
commit | 7f26f4f75fc3aee7a5e351ecdf05278d9890ff3e (patch) | |
tree | 9806b0757bcaa00da27cd9e6fae4fdc628cabebb /modules/fabsf | |
parent | 4b5996b3ab59b1765c95df7ddfe19dea0623517a (diff) | |
download | gnulib-7f26f4f75fc3aee7a5e351ecdf05278d9890ff3e.tar.gz |
New module 'fabsf'.
* lib/math.in.h (fabsf): New declaration.
* lib/fabsf.c: New file.
* m4/fabsf.m4: New file.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FABSF,
HAVE_FABSF.
* modules/math (Makefile.am): Substitute GNULIB_FABSF, HAVE_FABSF.
* modules/fabsf: New file.
* tests/test-math-c++.cc: Check the declaration of fabsf.
* doc/posix-functions/fabsf.texi: Mention the new module.
Diffstat (limited to 'modules/fabsf')
-rw-r--r-- | modules/fabsf | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/fabsf b/modules/fabsf new file mode 100644 index 0000000000..c3cafda09f --- /dev/null +++ b/modules/fabsf @@ -0,0 +1,31 @@ +Description: +fabsf() function: absolute value. + +Files: +lib/fabsf.c +m4/fabsf.m4 + +Depends-on: +math +fabs [test $HAVE_FABSF = 0] + +configure.ac: +gl_FUNC_FABSF +if test $HAVE_FABSF = 0; then + AC_LIBOBJ([fabsf]) +fi +gl_MATH_MODULE_INDICATOR([fabsf]) + +Makefile.am: + +Include: +<math.h> + +Link: +$(FABSF_LIBM) + +License: +LGPL + +Maintainer: +Bruno Haible |