From 885f87d00ee7e3527370c1b864e340c09826e1e6 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 11:56:26 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ m4/atanl.m4 | 4 ++-- modules/atanl | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 86edd9195..e17dc9843 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + 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 + 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/m4/atanl.m4 b/m4/atanl.m4 index d1cb3198c..52914f6ec 100644 --- a/m4/atanl.m4 +++ b/m4/atanl.m4 @@ -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 diff --git a/modules/atanl b/modules/atanl index 4f3f9eab6..1fd0d9aae 100644 --- a/modules/atanl +++ b/modules/atanl @@ -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: -- 2.11.0