From: Bruno Haible Date: Sun, 8 May 2011 22:46:17 +0000 (+0200) Subject: isfinite: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=e208f8e46f21ba67c27ae7a6973be433815d9ee2;p=pspp 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 1859d5cd02..aafebd5e85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/isfinite.m4 b/m4/isfinite.m4 index 4f28a903bb..cc65da1335 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 259da35f5a..3ef560930c 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: