From: Bruno Haible Date: Sat, 21 May 2011 08:56:23 +0000 (+0200) Subject: ceilf: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2522 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e2dc84ce3d8df6967c34717b93e5e7508382eda7;p=gnulib.git 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 index 11ef54954..2438f9db9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 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. * m4/floorl.m4 (gl_FUNC_FLOORL): Move AC_LIBOBJ invocation from here... * modules/floorl (configure.ac): ... to here. diff --git a/m4/ceilf.m4 b/m4/ceilf.m4 index e7a6a461c..9161a513b 100644 --- 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 @@ int main() 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 index beba067ae..0a01465d1 100644 --- a/modules/ceilf +++ b/modules/ceilf @@ -13,6 +13,9 @@ float [test $HAVE_DECL_CEILF = 0 || test $REPLACE_CEILF = 1] 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: