From: Bruno Haible Date: Sat, 21 May 2011 09:32:55 +0000 (+0200) Subject: truncl: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2517 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e8c5d0db4f6dda70ba86a0637672e285e077b10e;p=gnulib.git truncl: Move AC_LIBOBJ invocations to module description. * m4/truncl.m4 (gl_FUNC_TRUNCL): Move AC_LIBOBJ invocation from here... * modules/truncl (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index b5a4a8bcd..82ce8d87a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + truncl: Move AC_LIBOBJ invocations to module description. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Move AC_LIBOBJ invocation from here... + * modules/truncl (configure.ac): ... to here. + +2011-05-21 Bruno Haible + trunc: Move AC_LIBOBJ invocations to module description. * m4/trunc.m4 (gl_FUNC_TRUNC): Move AC_LIBOBJ invocation from here... * modules/trunc (configure.ac): ... to here. diff --git a/m4/truncl.m4 b/m4/truncl.m4 index 36dd64829..2b6988b2e 100644 --- a/m4/truncl.m4 +++ b/m4/truncl.m4 @@ -1,4 +1,4 @@ -# truncl.m4 serial 6 +# truncl.m4 serial 7 dnl Copyright (C) 2007-2008, 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, @@ -107,7 +107,7 @@ int main() HAVE_DECL_TRUNCL=0 fi if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then - AC_LIBOBJ([truncl]) + dnl No libraries are needed to link lib/truncl.c. TRUNCL_LIBM= fi AC_SUBST([TRUNCL_LIBM]) diff --git a/modules/truncl b/modules/truncl index 808c63ed8..8dbb75280 100644 --- a/modules/truncl +++ b/modules/truncl @@ -13,6 +13,9 @@ float [test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1] configure.ac: gl_FUNC_TRUNCL +if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then + AC_LIBOBJ([truncl]) +fi gl_MATH_MODULE_INDICATOR([truncl]) Makefile.am: