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

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

index db73e9c..2f5cf4d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
+       acos: Use a .m4 file.
+       * m4/acos.m4: New file.
+       * modules/acos (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_ACOS.
+
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
        Tests for module 'asinf'.
        * modules/asinf-tests: New file.
        * tests/test-asinf.c: New file.
diff --git a/m4/acos.m4 b/m4/acos.m4
new file mode 100644 (file)
index 0000000..4c2e133
--- /dev/null
@@ -0,0 +1,11 @@
+# acos.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_ACOS],
+[
+  dnl Determine ACOS_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([acos])
+])
index cceee87..1ddb3fc 100644 (file)
@@ -2,12 +2,13 @@ Description:
 acos() function: inverse cosine function.
 
 Files:
+m4/acos.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([acos])
+gl_FUNC_ACOS
 
 Makefile.am: