* 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>
+
+ 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.
-# 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,
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.
configure.ac:
gl_FUNC_ACOSL
+if test $HAVE_ACOSL = 0; then
+ AC_LIBOBJ([acosl])
+fi
gl_MATH_MODULE_INDICATOR([acosl])
Makefile.am: