]> Savannah Git Hosting - gnulib.git/commitdiff
cosh: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 22:41:36 +0000 (00:41 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 22:41:36 +0000 (00:41 +0200)
* m4/cosh.m4: New file.
* modules/cosh (Files): Add it.
(configure.ac): Just invoke gl_FUNC_COSH.

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

index 250bac524963042d491f713fff20303e2450a57a..0de795a8866ad093ce5b404793401084c8905d46 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
+       cosh: Use a .m4 file.
+       * m4/cosh.m4: New file.
+       * modules/cosh (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_COSH.
+
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'sinhf'.
diff --git a/m4/cosh.m4 b/m4/cosh.m4
new file mode 100644 (file)
index 0000000..5fcf795
--- /dev/null
@@ -0,0 +1,11 @@
+# cosh.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_COSH],
+[
+  dnl Determine COSH_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([cosh])
+])
index 4fd5c3a9044b32136f83e5b73cc3a81b983cdb93..ec4e049b68fe0bd99fb1fb2d7f69b57dbe710807 100644 (file)
@@ -2,12 +2,13 @@ Description:
 cosh() function: hyperbolic cosine function.
 
 Files:
+m4/cosh.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([cosh])
+gl_FUNC_COSH
 
 Makefile.am: