From: Bruno Haible Date: Sun, 8 May 2011 22:46:17 +0000 (+0200) Subject: isfinite: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2536 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e208f8e46f21ba67c27ae7a6973be433815d9ee2;p=gnulib.git isfinite: Move AC_LIBOBJ invocations to module description. * m4/isfinite.m4 (gl_ISFINITE): Move AC_LIBOBJ invocation from here... * modules/isfinite (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 1859d5cd0..aafebd5e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-08 Bruno Haible + isfinite: Move AC_LIBOBJ invocations to module description. + * m4/isfinite.m4 (gl_ISFINITE): Move AC_LIBOBJ invocation from here... + * modules/isfinite (configure.ac): ... to here. + +2011-05-08 Bruno Haible + isblank: Move AC_LIBOBJ invocations to module description. * m4/isblank.m4 (gl_FUNC_ISBLANK): Move AC_LIBOBJ invocation from here... diff --git a/m4/isfinite.m4 b/m4/isfinite.m4 index 4f28a903b..cc65da133 100644 --- a/m4/isfinite.m4 +++ b/m4/isfinite.m4 @@ -1,4 +1,4 @@ -# isfinite.m4 serial 8 +# isfinite.m4 serial 9 dnl Copyright (C) 2007-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, @@ -27,7 +27,7 @@ AC_DEFUN([gl_ISFINITE], if test "$ac_cv_have_decl_isfinite" != yes || test "$ISFINITE_LIBM" = missing; then REPLACE_ISFINITE=1 - AC_LIBOBJ([isfinite]) + dnl No libraries are needed to link lib/isfinite.c. ISFINITE_LIBM= fi AC_SUBST([ISFINITE_LIBM]) diff --git a/modules/isfinite b/modules/isfinite index 259da35f5..3ef560930 100644 --- a/modules/isfinite +++ b/modules/isfinite @@ -15,6 +15,9 @@ isnanl-nolibm [test $REPLACE_ISFINITE = 1] configure.ac: gl_ISFINITE +if test $REPLACE_ISFINITE = 1; then + AC_LIBOBJ([isfinite]) +fi gl_MATH_MODULE_INDICATOR([isfinite]) Makefile.am: