tan: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 21:10:08 +0000 (23:10 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 21:10:08 +0000 (23:10 +0200)
* m4/tan.m4: New file.
* modules/tan (Files): Add it.
(configure.ac): Just invoke gl_FUNC_TAN.

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

index 1496783..7d75aca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
+       tan: Use a .m4 file.
+       * m4/tan.m4: New file.
+       * modules/tan (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_TAN.
+
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
        Tests for module 'cosf'.
        * modules/cosf-tests: New file.
        * tests/test-cosf.c: New file.
diff --git a/m4/tan.m4 b/m4/tan.m4
new file mode 100644 (file)
index 0000000..22ebed7
--- /dev/null
+++ b/m4/tan.m4
@@ -0,0 +1,11 @@
+# tan.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_TAN],
+[
+  dnl Determine TAN_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([tan])
+])
index 4f14961..0553e08 100644 (file)
@@ -2,12 +2,13 @@ Description:
 tan() function: tangent function.
 
 Files:
+m4/tan.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([tan])
+gl_FUNC_TAN
 
 Makefile.am: