From: Bruno Haible Date: Sat, 21 May 2011 09:54:10 +0000 (+0200) Subject: acosl: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2507 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=decb9192c5ec207b8ae391cdf70c47e41f9f29d0;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 88157d112..86edd9195 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + 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 + 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. diff --git a/m4/acosl.m4 b/m4/acosl.m4 index 1385358ce..759be4259 100644 --- a/m4/acosl.m4 +++ b/m4/acosl.m4 @@ -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. diff --git a/modules/acosl b/modules/acosl index 072607061..65152ad3a 100644 --- a/modules/acosl +++ b/modules/acosl @@ -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: