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

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

index 6b3ebd2a941a03e8eeb51d2943895d9dd213d86a..2b7a1552a4435e7dffd1ed2c285036db72485bbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-08  Bruno Haible  <bruno@clisp.org>
+
+       atan: Use a .m4 file.
+       * m4/atan.m4: New file.
+       * modules/atan (Files): Add it.
+       (configure.ac): Just invoke gl_FUNC_ATAN.
+
 2011-10-08  Bruno Haible  <bruno@clisp.org>
 
        Tests for module 'acosf'.
diff --git a/m4/atan.m4 b/m4/atan.m4
new file mode 100644 (file)
index 0000000..524a157
--- /dev/null
@@ -0,0 +1,11 @@
+# atan.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_ATAN],
+[
+  dnl Determine ATAN_LIBM.
+  gl_COMMON_DOUBLE_MATHFUNC([atan])
+])
index 9c5960194d4be5f12503247e9ccdb3a5ed7d7e4c..5a82663beab52aafd89951f924fafd62f68c6c06 100644 (file)
@@ -2,12 +2,13 @@ Description:
 atan() function: inverse tangent function.
 
 Files:
+m4/atan.m4
 m4/mathfunc.m4
 
 Depends-on:
 
 configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([atan])
+gl_FUNC_ATAN
 
 Makefile.am: