atanl: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 09:56:26 +0000 (11:56 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:23 +0000 (00:06 +0200)
* m4/atanl.m4 (gl_FUNC_ATANL): Move AC_LIBOBJ invocation from here...
* modules/atanl (configure.ac): ... to here.

ChangeLog
m4/atanl.m4
modules/atanl

index 86edd91959180ec8819bc45479b3e127348a5de9..e17dc9843a34d6729eeb48e62eac2f17bd3dc5c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       atanl: Move AC_LIBOBJ invocations to module description.
+       * m4/atanl.m4 (gl_FUNC_ATANL): Move AC_LIBOBJ invocation from here...
+       * modules/atanl (configure.ac): ... to here.
+
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
        acosl: Move AC_LIBOBJ invocations to module description.
index d1cb3198ccc19b73f7a08e429c1164c80cc59ce2..52914f6ec1ae0a9631e1dc26e288f291859caf49 100644 (file)
@@ -1,4 +1,4 @@
-# atanl.m4 serial 3
+# atanl.m4 serial 4
 dnl Copyright (C) 2010-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,
@@ -55,7 +55,7 @@ AC_DEFUN([gl_FUNC_ATANL],
   else
     HAVE_DECL_ATANL=0
     HAVE_ATANL=0
-    AC_LIBOBJ([atanl])
+    dnl Find libraries needed to link lib/atanl.c.
     AC_REQUIRE([gl_FUNC_ISNANL])
     dnl Append $ISNANL_LIBM to ATANL_LIBM, avoiding gratuitous duplicates.
     case " $ATANL_LIBM " in
index 4f3f9eab6411f953174081e221ac36aab63cf999..1fd0d9aae7a0f96f2f8c60d2cf110d878b36222d 100644 (file)
@@ -12,6 +12,9 @@ isnanl          [test $HAVE_ATANL = 0]
 
 configure.ac:
 gl_FUNC_ATANL
+if test $HAVE_ATANL = 0; then
+  AC_LIBOBJ([atanl])
+fi
 gl_MATH_MODULE_INDICATOR([atanl])
 
 Makefile.am: