]> Savannah Git Hosting - gnulib.git/commitdiff
fmod: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Oct 2011 22:37:54 +0000 (00:37 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 5 Oct 2011 22:47:12 +0000 (00:47 +0200)
* m4/fmod.m4: New file.
* modules/fmod (Files): Add it.
(configure.ac): Just invoke gl_FUNC_FMOD.

ChangeLog
m4/fmod.m4 [new file with mode: 0644]
modules/fmod

index 0430609fac560b09d8ad855ff76c3732d0ab9d07..7500a8826aeebab31571fbda52234d5fcf7f602c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-05  Bruno Haible  <bruno@clisp.org>
+
+       fmod: Use a .m4 file.
+       * m4/fmod.m4: New file.
+       * modules/fmod (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_FMOD.
+
 2011-10-05  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'fabsf'.
diff --git a/m4/fmod.m4 b/m4/fmod.m4
new file mode 100644 (file)
index 0000000..3254b0f
--- /dev/null
@@ -0,0 +1,11 @@
+# fmod.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_FMOD],
+[
+  dnl Determine FMOD_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([fmod])
+])
index ae82f4b11b3ac8649e8c16ce96e1ba308d30f65b..a8659c8b8097969e410e77f999ce9dbc348e5315 100644 (file)
@@ -2,12 +2,13 @@ Description:
 fmod() function: floating-point remainder function.
 
 Files:
+m4/fmod.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([fmod])
+gl_FUNC_FMOD
 
 Makefile.am: