Clarify the dependencies on libm.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Apr 2007 23:28:37 +0000 (23:28 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Apr 2007 23:28:37 +0000 (23:28 +0000)
ChangeLog
m4/frexp.m4
m4/frexpl.m4
m4/isnanl.m4
m4/ldexpl.m4
modules/frexp
modules/frexpl
modules/isnanl
modules/ldexpl

index 0655cd1..b42ed29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2007-04-03  Bruno Haible  <bruno@clisp.org>
 
+       * m4/isnanl.m4 (gl_FUNC_ISNANL): Substitute ISNANL_LIBM.
+       * modules/isnanl (Link): New section.
+
+       * m4/frexp.m4 (gl_FUNC_FREXP): Substitute FREXP_LIBM.
+       * modules/frexp (Link): New section.
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL): Substitute FREXPL_LIBM.
+       * modules/frexpl (Link): New section.
+
+       * m4/ldexpl.m4 (gl_FUNC_LDEXPL): Substitute LDEXPL_LIBM.
+       * modules/ldexpl (Link): New section.
+
+2007-04-03  Bruno Haible  <bruno@clisp.org>
+
        * modules/TEMPLATE-EXTENDED: New file.
        * gnulib-tool (func_all_modules, func_verify_module): Exclude it.
 
index 88d5be6..d423f2c 100644 (file)
@@ -53,6 +53,7 @@ AC_DEFUN([gl_FUNC_FREXP],
   else
     AC_LIBOBJ([frexp])
   fi
+  AC_SUBST([FREXP_LIBM])
 ])
 
 dnl Test whether frexp() works also on denormalized numbers (this fails e.g. on
index ab70e6e..ca67add 100644 (file)
@@ -57,6 +57,7 @@ AC_DEFUN([gl_FUNC_FREXPL],
     HAVE_DECL_FREXPL=0
     AC_LIBOBJ([frexpl])
   fi
+  AC_SUBST([FREXPL_LIBM])
 ])
 
 dnl Test whether frexpl() works on finite numbers (this fails on AIX 5.1) and
index c01ab02..d035c07 100644 (file)
@@ -37,6 +37,7 @@ AC_DEFUN([gl_FUNC_ISNANL],
       gl_LONG_DOUBLE_EXPONENT_LOCATION
     fi
   fi
+  AC_SUBST([ISNANL_LIBM])
 ])
 
 AC_DEFUN([gl_FUNC_ISNANL_NO_LIBM],
index 6587d85..804f1b8 100644 (file)
@@ -57,6 +57,7 @@ AC_DEFUN([gl_FUNC_LDEXPL],
     HAVE_DECL_LDEXPL=0
     AC_LIBOBJ([ldexpl])
   fi
+  AC_SUBST([LDEXPL_LIBM])
 ])
 
 dnl Test whether ldexpl() works on finite numbers (this fails on AIX 5.1).
index 03407fd..92c635b 100644 (file)
@@ -18,6 +18,9 @@ Makefile.am:
 Include:
 <math.h>
 
+Link:
+$(FREXP_LIBM)
+
 License:
 LGPL
 
index 465336e..185d54d 100644 (file)
@@ -20,6 +20,9 @@ Makefile.am:
 Include:
 <math.h>
 
+Link:
+$(FREXPL_LIBM)
+
 License:
 LGPL
 
index c3f768a..bf6a5ae 100644 (file)
@@ -22,6 +22,9 @@ Include:
 # include "isnanl.h"
 #endif
 
+Link:
+$(ISNANL_LIBM)
+
 License:
 LGPL
 
index 1d759d0..e143d83 100644 (file)
@@ -19,6 +19,9 @@ Makefile.am:
 Include:
 <math.h>
 
+Link:
+$(LDEXPL_LIBM)
+
 License:
 LGPL