From: Bruno Haible Date: Sat, 21 May 2011 08:56:23 +0000 (+0200) Subject: ceilf: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2dc84ce3d8df6967c34717b93e5e7508382eda7;p=pspp 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 11ef54954d..2438f9db93 100644 --- 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 index e7a6a461c2..9161a513bf 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 beba067aea..0a01465d1e 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: