From: Bruno Haible Date: Sat, 21 May 2011 09:42:59 +0000 (+0200) Subject: sinl: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2511 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a35b504b1ff8bc41655b20835ae72703c15b4384;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 63e429b8f..c04f36fd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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. * m4/logl.m4 (gl_FUNC_LOGL): Move AC_LIBOBJ invocation from here... * modules/logl (configure.ac): ... to here. diff --git a/m4/sinl.m4 b/m4/sinl.m4 index c70ac776e..5666cab79 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 7f2007a94..187f949fa 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: