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

ChangeLog
m4/isinf.m4
modules/isinf

index aafebd5..1fd5e5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-08  Bruno Haible  <bruno@clisp.org>
 
+       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  <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.
index ab3cf9e..f6056e6 100644 (file)
@@ -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])
index 1a8399f..e7f0bf9 100644 (file)
@@ -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: