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

ChangeLog
m4/acosl.m4
modules/acosl

index 88157d1..86edd91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
+
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
        asinl: Respect rules for use of AC_LIBOBJ.
        * m4/asinl.m4 (gl_FUNC_ASINL): Move AC_LIBOBJ invocation from here...
        * modules/asinl (configure.ac): ... to here.
index 1385358..759be42 100644 (file)
@@ -1,4 +1,4 @@
-# acosl.m4 serial 3
+# acosl.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_ACOSL],
   else
     HAVE_DECL_ACOSL=0
     HAVE_ACOSL=0
-    AC_LIBOBJ([acosl])
+    dnl Find libraries needed to link lib/acosl.c.
     AC_REQUIRE([gl_FUNC_ASINL])
     AC_REQUIRE([gl_FUNC_SQRTL])
     dnl Append $ASINL_LIBM to ACOSL_LIBM, avoiding gratuitous duplicates.
index 0726070..65152ad 100644 (file)
@@ -13,6 +13,9 @@ sqrtl           [test $HAVE_ACOSL = 0]
 
 configure.ac:
 gl_FUNC_ACOSL
+if test $HAVE_ACOSL = 0; then
+  AC_LIBOBJ([acosl])
+fi
 gl_MATH_MODULE_INDICATOR([acosl])
 
 Makefile.am: