# HG changeset patch # User Bruno Haible # Date 1305968442 -7200 # Node ID 53aac8a36d9fdb8c0462947805dfe59947b5d0c4 # Parent 182d0b65605e3afb056e806e12c2fdb7a20af05a 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/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2011-05-21 Bruno Haible ceil: Move AC_LIBOBJ invocations to module description. diff --git a/m4/ceill.m4 b/m4/ceill.m4 --- a/m4/ceill.m4 +++ b/m4/ceill.m4 @@ -1,4 +1,4 @@ -# ceill.m4 serial 8 +# ceill.m4 serial 9 dnl Copyright (C) 2007, 2009-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, @@ -58,7 +58,7 @@ HAVE_DECL_CEILL=0 fi if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then - AC_LIBOBJ([ceill]) + dnl No libraries are needed to link lib/ceill.c. CEILL_LIBM= fi AC_SUBST([CEILL_LIBM]) diff --git a/modules/ceill b/modules/ceill --- a/modules/ceill +++ b/modules/ceill @@ -13,6 +13,9 @@ configure.ac: gl_FUNC_CEILL +if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then + AC_LIBOBJ([ceill]) +fi gl_MATH_MODULE_INDICATOR([ceill]) Makefile.am: