From ef3ff90a39110bde148b63b18b997c317eee9751 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 9 May 2011 00:48:43 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ m4/isinf.m4 | 4 ++-- modules/isinf | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aafebd5e85..1fd5e5da93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/isinf.m4 b/m4/isinf.m4 index ab3cf9e6fd..f6056e6103 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 1a8399fe7b..e7f0bf966e 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: -- 2.30.2