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 86edd91..e17dc98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * m4/acosl.m4 (gl_FUNC_ACOSL): Move AC_LIBOBJ invocation from here...
        * modules/acosl (configure.ac): ... to here.
index d1cb319..52914f6 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 4f3f9ea..1fd0d9a 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: