]> Savannah Git Hosting - gnulib.git/commitdiff
asin: Use a .m4 file.
authorBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 21:18:27 +0000 (23:18 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Oct 2011 21:18:27 +0000 (23:18 +0200)
* m4/asin.m4: New file.
* modules/asin (Files): Add it.
(configure.ac): Just invoke gl_FUNC_ASIN.

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

index a9728c3bb3ae2da1da53f3c5db2ef5d3566df512..ac1f0d9444ee46ae4714fa568dd3d2442c1193f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
+       asin: Use a .m4 file.
+       * m4/asin.m4: New file.
+       * modules/asin (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_ASIN.
+
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'tanf'.
diff --git a/m4/asin.m4 b/m4/asin.m4
new file mode 100644 (file)
index 0000000..6fb55b2
--- /dev/null
@@ -0,0 +1,11 @@
+# asin.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_ASIN],
+[
+  dnl Determine ASIN_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([asin])
+])
index e6c496bc8fc1d55b918fb1f26e10d7ee1094afa2..ac1145806b7fd74a23227358d98bb09b99f7ac40 100644 (file)
@@ -2,12 +2,13 @@ Description:
 asin() function: inverse sine function.
 
 Files:
+m4/asin.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([asin])
+gl_FUNC_ASIN
 
 Makefile.am: