From: Bruno Haible Date: Sun, 8 May 2011 22:48:43 +0000 (+0200) Subject: isinf: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2535 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=ef3ff90a39110bde148b63b18b997c317eee9751;p=gnulib.git isinf: Move AC_LIBOBJ invocations to module description. * m4/isinf.m4 (gl_ISINF): Move AC_LIBOBJ invocation from here... * modules/isinf (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index aafebd5e8..1fd5e5da9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-08 Bruno Haible + isinf: Move AC_LIBOBJ invocations to module description. + * m4/isinf.m4 (gl_ISINF): Move AC_LIBOBJ invocation from here... + * modules/isinf (configure.ac): ... to here. + +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. diff --git a/m4/isinf.m4 b/m4/isinf.m4 index ab3cf9e6f..f6056e610 100644 --- a/m4/isinf.m4 +++ b/m4/isinf.m4 @@ -1,4 +1,4 @@ -# isinf.m4 serial 3 +# isinf.m4 serial 4 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, @@ -24,7 +24,7 @@ AC_DEFUN([gl_ISINF], if test "$ac_cv_have_decl_isinf" != yes || test "$ISINF_LIBM" = missing; then REPLACE_ISINF=1 - AC_LIBOBJ([isinf]) + dnl No libraries are needed to link lib/isinf.c. ISINF_LIBM= fi AC_SUBST([ISINF_LIBM]) diff --git a/modules/isinf b/modules/isinf index 1a8399fe7..e7f0bf966 100644 --- a/modules/isinf +++ b/modules/isinf @@ -13,6 +13,9 @@ float [test $REPLACE_ISINF = 1] configure.ac: gl_ISINF +if test $REPLACE_ISINF = 1; then + AC_LIBOBJ([isinf]) +fi gl_MATH_MODULE_INDICATOR([isinf]) Makefile.am: