Mercurial > hg > octave-shane > gnulib-hg
changeset 16513:f42c8eb008b8
hypot: Prepare for hypotf module.
* m4/hypot.m4: New file.
* modules/hypot (Files): Add m4/hypot.m4.
(configure.ac): Invoke gl_FUNC_HYPOT.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 29 Feb 2012 13:20:37 +0100 |
parents | 81d88046c46b |
children | befd75611259 |
files | ChangeLog m4/hypot.m4 modules/hypot |
diffstat | 3 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-02-29 Bruno Haible <bruno@clisp.org> + + hypot: Prepare for hypotf module. + * m4/hypot.m4: New file. + * modules/hypot (Files): Add m4/hypot.m4. + (configure.ac): Invoke gl_FUNC_HYPOT. + 2012-02-29 Bruno Haible <bruno@clisp.org> hypot tests: More tests.
new file mode 100644 --- /dev/null +++ b/m4/hypot.m4 @@ -0,0 +1,11 @@ +# hypot.m4 serial 1 +dnl Copyright (C) 2012 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_HYPOT], +[ + dnl Determine HYPOT_LIBM. + gl_COMMON_DOUBLE_MATHFUNC([hypot]) +])