From 23db13ed046cc279d59d4d78fb254c160846a09f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 11:00:42 +0200 Subject: [PATCH] ceill: Move AC_LIBOBJ invocations to module description. * m4/ceill.m4 (gl_FUNC_CEILL): Move AC_LIBOBJ invocation from here... * modules/ceill (configure.ac): ... to here. --- ChangeLog | 6 ++++++ m4/ceill.m4 | 4 ++-- modules/ceill | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89befe0f8..7d8e7f48a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + ceill: Move AC_LIBOBJ invocations to module description. + * m4/ceill.m4 (gl_FUNC_CEILL): Move AC_LIBOBJ invocation from here... + * modules/ceill (configure.ac): ... to here. + +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. diff --git a/m4/ceill.m4 b/m4/ceill.m4 index 71ac74fc2..8116de109 100644 --- a/m4/ceill.m4 +++ b/m4/ceill.m4 @@ -1,4 +1,4 @@ -# ceill.m4 serial 8 +# ceill.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_CEILL=0 fi if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then - AC_LIBOBJ([ceill]) + dnl No libraries are needed to link lib/ceill.c. CEILL_LIBM= fi AC_SUBST([CEILL_LIBM]) diff --git a/modules/ceill b/modules/ceill index 51d5b92bc..4ab7f3857 100644 --- a/modules/ceill +++ b/modules/ceill @@ -13,6 +13,9 @@ float [test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1] configure.ac: gl_FUNC_CEILL +if test $HAVE_DECL_CEILL = 0 || test $REPLACE_CEILL = 1; then + AC_LIBOBJ([ceill]) +fi gl_MATH_MODULE_INDICATOR([ceill]) Makefile.am: -- 2.11.0