# HG changeset patch # User Bruno Haible # Date 1305968183 -7200 # Node ID 44bb558212150d8b81576884e3a5da79d13dd529 # Parent e9d6250b22fe0a5c9fd3a2b4f93c3fae6403e79a ceilf: Move AC_LIBOBJ invocations to module description. * m4/ceilf.m4 (gl_FUNC_CEILF): Move AC_LIBOBJ invocation from here... * modules/ceilf (configure.ac): ... to here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + ceilf: Move AC_LIBOBJ invocations to module description. + * m4/ceilf.m4 (gl_FUNC_CEILF): Move AC_LIBOBJ invocation from here... + * modules/ceilf (configure.ac): ... to here. + 2011-05-21 Bruno Haible floorl: Respect rules for use of AC_LIBOBJ. diff --git a/m4/ceilf.m4 b/m4/ceilf.m4 --- a/m4/ceilf.m4 +++ b/m4/ceilf.m4 @@ -1,4 +1,4 @@ -# ceilf.m4 serial 8 +# ceilf.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_CEILF=0 fi if test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1; then - AC_LIBOBJ([ceilf]) + dnl No libraries are needed to link lib/ceilf.c. CEILF_LIBM= fi AC_SUBST([CEILF_LIBM]) diff --git a/modules/ceilf b/modules/ceilf --- a/modules/ceilf +++ b/modules/ceilf @@ -13,6 +13,9 @@ configure.ac: gl_FUNC_CEILF +if test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1; then + AC_LIBOBJ([ceilf]) +fi gl_MATH_MODULE_INDICATOR([ceilf]) Makefile.am: