From 3438dc2ae5acc53842c784924d64c5aff78efe3a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 11:52:29 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ m4/asinl.m4 | 4 ++-- modules/asinl | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6f2017c08f..88157d1123 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2011-05-21 Bruno Haible tanl: Move AC_LIBOBJ invocations to module description. diff --git a/m4/asinl.m4 b/m4/asinl.m4 index 999cfb093c..882a8d3163 100644 --- a/m4/asinl.m4 +++ b/m4/asinl.m4 @@ -1,4 +1,4 @@ -# asinl.m4 serial 3 +# asinl.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_ASINL], else HAVE_DECL_ASINL=0 HAVE_ASINL=0 - AC_LIBOBJ([asinl]) + dnl Find libraries needed to link lib/asinl.c. AC_REQUIRE([gl_FUNC_SQRTL]) dnl Append $SQRTL_LIBM to ASINL_LIBM, avoiding gratuitous duplicates. case " $ASINL_LIBM " in diff --git a/modules/asinl b/modules/asinl index 19e049c2ac..bc9c071edd 100644 --- a/modules/asinl +++ b/modules/asinl @@ -12,6 +12,9 @@ sqrtl [test $HAVE_ASINL = 0] configure.ac: gl_FUNC_ASINL +if test $HAVE_ASINL = 0; then + AC_LIBOBJ([asinl]) +fi gl_MATH_MODULE_INDICATOR([asinl]) Makefile.am: -- 2.30.2