From aecb65d22ea2a79b4f171eeac3031b6db43a49fb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 3 Apr 2007 23:28:37 +0000 Subject: [PATCH] Clarify the dependencies on libm. --- ChangeLog | 14 ++++++++++++++ m4/frexp.m4 | 1 + m4/frexpl.m4 | 1 + m4/isnanl.m4 | 1 + m4/ldexpl.m4 | 1 + modules/frexp | 3 +++ modules/frexpl | 3 +++ modules/isnanl | 3 +++ modules/ldexpl | 3 +++ 9 files changed, 30 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0655cd1e4..b42ed2997 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,19 @@ 2007-04-03 Bruno Haible + * 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 + * modules/TEMPLATE-EXTENDED: New file. * gnulib-tool (func_all_modules, func_verify_module): Exclude it. diff --git a/m4/frexp.m4 b/m4/frexp.m4 index 88d5be6e3..d423f2c2c 100644 --- a/m4/frexp.m4 +++ b/m4/frexp.m4 @@ -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 diff --git a/m4/frexpl.m4 b/m4/frexpl.m4 index ab70e6ec8..ca67add7a 100644 --- a/m4/frexpl.m4 +++ b/m4/frexpl.m4 @@ -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 diff --git a/m4/isnanl.m4 b/m4/isnanl.m4 index c01ab026a..d035c07cb 100644 --- a/m4/isnanl.m4 +++ b/m4/isnanl.m4 @@ -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], diff --git a/m4/ldexpl.m4 b/m4/ldexpl.m4 index 6587d85c3..804f1b8ad 100644 --- a/m4/ldexpl.m4 +++ b/m4/ldexpl.m4 @@ -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). diff --git a/modules/frexp b/modules/frexp index 03407fd38..92c635baf 100644 --- a/modules/frexp +++ b/modules/frexp @@ -18,6 +18,9 @@ Makefile.am: Include: +Link: +$(FREXP_LIBM) + License: LGPL diff --git a/modules/frexpl b/modules/frexpl index 465336e34..185d54dde 100644 --- a/modules/frexpl +++ b/modules/frexpl @@ -20,6 +20,9 @@ Makefile.am: Include: +Link: +$(FREXPL_LIBM) + License: LGPL diff --git a/modules/isnanl b/modules/isnanl index c3f768a8a..bf6a5ae80 100644 --- a/modules/isnanl +++ b/modules/isnanl @@ -22,6 +22,9 @@ Include: # include "isnanl.h" #endif +Link: +$(ISNANL_LIBM) + License: LGPL diff --git a/modules/ldexpl b/modules/ldexpl index 1d759d02b..e143d8337 100644 --- a/modules/ldexpl +++ b/modules/ldexpl @@ -19,6 +19,9 @@ Makefile.am: Include: +Link: +$(LDEXPL_LIBM) + License: LGPL -- 2.11.0