isfinite: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 8 May 2011 22:46:17 +0000 (00:46 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:13 +0000 (00:06 +0200)
* m4/isfinite.m4 (gl_ISFINITE): Move AC_LIBOBJ invocation from here...
* modules/isfinite (configure.ac): ... to here.

ChangeLog
m4/isfinite.m4
modules/isfinite

index 1859d5cd026dbb651e2e7e660fea74f187861c27..aafebd5e85c432630df10030caf1966a7730ed60 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-08  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        isblank: Move AC_LIBOBJ invocations to module description.
 2011-05-08  Bruno Haible  <bruno@clisp.org>
 
        isblank: Move AC_LIBOBJ invocations to module description.
index 4f28a903bb2c7c9ea638d7aeaf2cc0b2624a4a1e..cc65da13350705335355823d47ffb64b14788df8 100644 (file)
@@ -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,
 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
   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])
     ISFINITE_LIBM=
   fi
   AC_SUBST([ISFINITE_LIBM])
index 259da35f5af64147bd23d01f914e0d5bd803efa9..3ef560930c091f26dc874a94892688296fe9b0e8 100644 (file)
@@ -15,6 +15,9 @@ isnanl-nolibm   [test $REPLACE_ISFINITE = 1]
 
 configure.ac:
 gl_ISFINITE
 
 configure.ac:
 gl_ISFINITE
+if test $REPLACE_ISFINITE = 1; then
+  AC_LIBOBJ([isfinite])
+fi
 gl_MATH_MODULE_INDICATOR([isfinite])
 
 Makefile.am:
 gl_MATH_MODULE_INDICATOR([isfinite])
 
 Makefile.am: