From a35b504b1ff8bc41655b20835ae72703c15b4384 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 11:42:59 +0200 Subject: [PATCH] sinl: Move AC_LIBOBJ invocations to module description. * m4/sinl.m4 (gl_FUNC_SINL): Move AC_LIBOBJ invocations from here... * modules/sinl (configure.ac): ... to here. --- ChangeLog | 6 ++++++ m4/sinl.m4 | 6 ++---- modules/sinl | 5 +++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 63e429b8f7..c04f36fd1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + sinl: Move AC_LIBOBJ invocations to module description. + * m4/sinl.m4 (gl_FUNC_SINL): Move AC_LIBOBJ invocations from here... + * modules/sinl (configure.ac): ... to here. + 2011-05-21 Bruno Haible logl: Move AC_LIBOBJ invocations to module description. diff --git a/m4/sinl.m4 b/m4/sinl.m4 index c70ac776ef..5666cab794 100644 --- a/m4/sinl.m4 +++ b/m4/sinl.m4 @@ -1,4 +1,4 @@ -# sinl.m4 serial 3 +# sinl.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,9 +55,7 @@ AC_DEFUN([gl_FUNC_SINL], else HAVE_DECL_SINL=0 HAVE_SINL=0 - AC_LIBOBJ([sinl]) - AC_LIBOBJ([sincosl]) - AC_LIBOBJ([trigl]) + dnl Find libraries needed to link lib/sinl.c, lib/sincosl.c, lib/trigl.c. AC_REQUIRE([gl_FUNC_ISNANL]) AC_REQUIRE([gl_FUNC_FLOOR]) AC_REQUIRE([gl_FUNC_FLOORL]) diff --git a/modules/sinl b/modules/sinl index 7f2007a948..187f949fa0 100644 --- a/modules/sinl +++ b/modules/sinl @@ -18,6 +18,11 @@ floorl [test $HAVE_SINL = 0] configure.ac: gl_FUNC_SINL +if test $HAVE_SINL = 0; then + AC_LIBOBJ([sinl]) + AC_LIBOBJ([sincosl]) + AC_LIBOBJ([trigl]) +fi gl_MATH_MODULE_INDICATOR([sinl]) Makefile.am: -- 2.30.2