From: Bruno Haible Date: Sat, 21 May 2011 09:27:30 +0000 (+0200) Subject: roundl: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2514 X-Git-Url: https://erislabs.net/gitweb/?a=commitdiff_plain;h=d40924760c0af7c2b69e315154ff54a95a6338bf;p=gnulib.git roundl: Move AC_LIBOBJ invocations to module description. * m4/roundl.m4 (gl_FUNC_ROUNDL): Move AC_LIBOBJ invocation from here... * modules/roundl (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 08c6d2e5f..2d245aa92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + roundl: Move AC_LIBOBJ invocations to module description. + * m4/roundl.m4 (gl_FUNC_ROUNDL): Move AC_LIBOBJ invocation from here... + * modules/roundl (configure.ac): ... to here. + +2011-05-21 Bruno Haible + round: Move AC_LIBOBJ invocations to module description. * m4/round.m4 (gl_FUNC_ROUND): Move AC_LIBOBJ invocation from here... * modules/round (configure.ac): ... to here. diff --git a/m4/roundl.m4 b/m4/roundl.m4 index 1d2558510..790e0fecc 100644 --- a/m4/roundl.m4 +++ b/m4/roundl.m4 @@ -1,4 +1,4 @@ -# roundl.m4 serial 8 +# roundl.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, @@ -54,7 +54,7 @@ int main() HAVE_DECL_ROUNDL=0 fi if test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then - AC_LIBOBJ([roundl]) + dnl Find libraries needed to link lib/roundl.c. AC_CHECK_DECLS([ceill, floorl], , , [#include ]) if test "$ac_cv_have_decl_floorl" = yes \ && test "$ac_cv_have_decl_ceill" = yes; then diff --git a/modules/roundl b/modules/roundl index 516ee0b5d..91671f441 100644 --- a/modules/roundl +++ b/modules/roundl @@ -16,6 +16,9 @@ float [test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1] configure.ac: gl_FUNC_ROUNDL +if test $HAVE_DECL_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then + AC_LIBOBJ([roundl]) +fi gl_MATH_MODULE_INDICATOR([roundl]) Makefile.am: