From: Bruno Haible Date: Sat, 21 May 2011 09:29:32 +0000 (+0200) Subject: truncf: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2519 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=7d47ca399ea9ea4986d9166434bdbd77ed8ed8e9;p=gnulib.git truncf: Move AC_LIBOBJ invocations to module description. * m4/truncf.m4 (gl_FUNC_TRUNCF): Move AC_LIBOBJ invocation from here... * modules/truncf (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 7d8e7f48a..a7fa93b91 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + truncf: Move AC_LIBOBJ invocations to module description. + * m4/truncf.m4 (gl_FUNC_TRUNCF): Move AC_LIBOBJ invocation from here... + * modules/truncf (configure.ac): ... to here. + +2011-05-21 Bruno Haible + ceill: Move AC_LIBOBJ invocations to module description. * m4/ceill.m4 (gl_FUNC_CEILL): Move AC_LIBOBJ invocation from here... * modules/ceill (configure.ac): ... to here. diff --git a/m4/truncf.m4 b/m4/truncf.m4 index f917de584..3920fcd46 100644 --- a/m4/truncf.m4 +++ b/m4/truncf.m4 @@ -1,4 +1,4 @@ -# truncf.m4 serial 4 +# truncf.m4 serial 5 dnl Copyright (C) 2007, 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, @@ -79,7 +79,7 @@ int main() HAVE_DECL_TRUNCF=0 fi if test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1; then - AC_LIBOBJ([truncf]) + dnl No libraries are needed to link lib/truncf.c. TRUNCF_LIBM= fi AC_SUBST([TRUNCF_LIBM]) diff --git a/modules/truncf b/modules/truncf index 15e35e8ac..0727d0bce 100644 --- a/modules/truncf +++ b/modules/truncf @@ -13,6 +13,9 @@ float [test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1] configure.ac: gl_FUNC_TRUNCF +if test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1; then + AC_LIBOBJ([truncf]) +fi gl_MATH_MODULE_INDICATOR([truncf]) Makefile.am: