From: Bruno Haible Date: Sat, 21 May 2011 08:58:45 +0000 (+0200) Subject: ceil: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37567e965cc8cd3c73f22bc21453ce311f78fe72;p=pspp ceil: Move AC_LIBOBJ invocations to module description. * m4/ceil.m4 (gl_FUNC_CEIL): Move AC_LIBOBJ invocation from here... * modules/ceil (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 2438f9db93..89befe0f8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + ceil: Move AC_LIBOBJ invocations to module description. + * m4/ceil.m4 (gl_FUNC_CEIL): Move AC_LIBOBJ invocation from here... + * modules/ceil (configure.ac): ... to here. + 2011-05-21 Bruno Haible ceilf: Move AC_LIBOBJ invocations to module description. diff --git a/m4/ceil.m4 b/m4/ceil.m4 index 21d04b468c..157407745b 100644 --- a/m4/ceil.m4 +++ b/m4/ceil.m4 @@ -1,4 +1,4 @@ -# ceil.m4 serial 5 +# ceil.m4 serial 6 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, @@ -48,7 +48,7 @@ int main() fi ]) if test $REPLACE_CEIL = 1; then - AC_LIBOBJ([ceil]) + dnl No libraries are needed to link lib/ceil.c. CEIL_LIBM= fi AC_SUBST([CEIL_LIBM]) diff --git a/modules/ceil b/modules/ceil index 1a3a5de496..05ee345d39 100644 --- a/modules/ceil +++ b/modules/ceil @@ -11,6 +11,9 @@ float [test $REPLACE_CEIL = 1] configure.ac: gl_FUNC_CEIL +if test $REPLACE_CEIL = 1; then + AC_LIBOBJ([ceil]) +fi gl_MATH_MODULE_INDICATOR([ceil]) Makefile.am: