Mercurial > hg > octave-lojdl > gnulib-hg
changeset 15836:46afe93343fd
modf: Use a .m4 file.
* m4/modf.m4: New file.
* modules/modf (Files): Add it.
(configure.ac): Just invoke gl_FUNC_MODF.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 06 Oct 2011 01:21:12 +0200 |
parents | 37c2860f77a3 |
children | dd898709f077 |
files | ChangeLog m4/modf.m4 modules/modf |
diffstat | 3 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-05 Bruno Haible <bruno@clisp.org> + + modf: Use a .m4 file. + * m4/modf.m4: New file. + * modules/modf (Files): Add it. + (configure.ac): Just invoke gl_FUNC_MODF. + 2011-10-05 Bruno Haible <bruno@clisp.org> Tests for module 'fmodf'.
new file mode 100644 --- /dev/null +++ b/m4/modf.m4 @@ -0,0 +1,11 @@ +# modf.m4 serial 1 +dnl Copyright (C) 2011 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_MODF], +[ + dnl Determine MODF_LIBM. + gl_MATHFUNC([modf], [double], [(double, double *)]) +])