* 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>
+
+ 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'.
--- /dev/null
+# 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 *)])
+])
modf() function: get signed integer and fractional parts.
Files:
+m4/modf.m4
m4/mathfunc.m4
Depends-on:
configure.ac:
-gl_MATHFUNC([modf], [double], [(double, double *)])
+gl_FUNC_MODF
Makefile.am: