sinh: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 22:33:24 +0000 (00:33 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 22:33:24 +0000 (00:33 +0200)
* m4/sinh.m4: New file.
* modules/sinh (Files): Add it.
(configure.ac): Just invoke gl_FUNC_SINH.

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

index b6578c9..03a9c88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
+       sinh: Use a .m4 file.
+       * m4/sinh.m4: New file.
+       * modules/sinh (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_SINH.
+
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
        Tests for module 'atan2f'.
        * modules/atan2f-tests: New file.
        * tests/test-atan2f.c: New file.
diff --git a/m4/sinh.m4 b/m4/sinh.m4
new file mode 100644 (file)
index 0000000..0528c5b
--- /dev/null
@@ -0,0 +1,11 @@
+# sinh.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_SINH],
+[
+  dnl Determine SINH_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([sinh])
+])
index d02ef56..d4dd720 100644 (file)
@@ -2,12 +2,13 @@ Description:
 sinh() function: hyperbolic sine function.
 
 Files:
+m4/sinh.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([sinh])
+gl_FUNC_SINH
 
 Makefile.am: