]> Savannah Git Hosting - gnulib.git/commitdiff
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 b6578c9895d20aaa94b2832383de1b518a02e57d..03a9c88afa3bf2680f896352b6a284723ccf9475 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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'.
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 d02ef56d2562e386e61baf324e376e2b1d4ed97d..d4dd7208e8fd422db25ee0770ecef81c65fa0701 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: