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 1859d5c..aafebd5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * m4/isblank.m4 (gl_FUNC_ISBLANK): Move AC_LIBOBJ invocation from
        here...
index 4f28a90..cc65da1 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,
@@ -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])
index 259da35..3ef5609 100644 (file)
@@ -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: