# HG changeset patch # User Bruno Haible # Date 1305970375 -7200 # Node ID 2917eb19f982ff75a90e12696d261fe4a134bbbd # Parent 43d9d32b39cbe961d9e70e7ef747edeb7eb4a7b0 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 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/truncl.m4 b/m4/truncl.m4 --- 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 @@ 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 --- a/modules/truncl +++ b/modules/truncl @@ -13,6 +13,9 @@ 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: