From: Bruno Haible Date: Wed, 5 Oct 2011 21:28:52 +0000 (+0200) Subject: fabs: Use a .m4 file. X-Git-Tag: v0.1~1699 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=4b5996b3ab59b1765c95df7ddfe19dea0623517a;p=gnulib.git fabs: Use a .m4 file. * m4/fabs.m4: New file. * modules/fabs (Files): Add it. (configure.ac): Just invoke gl_FUNC_FABS. --- diff --git a/ChangeLog b/ChangeLog index 8d66d5686..cccd6f625 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-05 Bruno Haible + + fabs: Use a .m4 file. + * m4/fabs.m4: New file. + * modules/fabs (Files): Add it. + (configure.ac): Just invoke gl_FUNC_FABS. + 2011-10-05 Jim Meyering file-has-acl: revert both recent changes, 80af92af and 95f7c57f diff --git a/m4/fabs.m4 b/m4/fabs.m4 new file mode 100644 index 000000000..f4478c583 --- /dev/null +++ b/m4/fabs.m4 @@ -0,0 +1,11 @@ +# fabs.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_FABS], +[ + dnl Determine FABS_LIBM. + gl_MATHFUNC([fabs], [double], [(double)]) +]) diff --git a/modules/fabs b/modules/fabs index 8b70430e2..15a1355e1 100644 --- a/modules/fabs +++ b/modules/fabs @@ -2,12 +2,13 @@ Description: fabs() function: absolute value. Files: +m4/fabs.m4 m4/mathfunc.m4 Depends-on: configure.ac: -gl_MATHFUNC([fabs], [double], [(double)]) +gl_FUNC_FABS Makefile.am: