Use REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
[gnulib.git] / ChangeLog
index 847b76a..18f5b2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,92 @@
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * lib/math.in.h: Test REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
+       * m4/isfinite.m4 (gl_ISFINITE): Initialize REPLACE_ISFINITE instead of
+       HAVE_DECL_ISFINITE.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update.
+       * modules/math (Makefile.am): Substitute REPLACE_ISFINITE instead of
+       HAVE_DECL_ISFINITE.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h (_STDINT_MAX): Subtract 1 from an unused signed
+       integer shift in the signed case. Fixes warnings with OSF/1 5.1 cc.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors with Sun C 5.0 on Solaris 10.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): Consider also the case that the
+       function is declared but not present in the compiler's libm.
+       * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL: Likewise.
+       * lib/math.in.h: Test REPLACE_CEILF instead of HAVE_DECL_CEILF.
+       Test REPLACE_CEILL instead of HAVE_DECL_CEILL.
+       Test REPLACE_FLOORF instead of HAVE_DECL_FLOORF.
+       Test REPLACE_FLOORL instead of HAVE_DECL_FLOORL.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update.
+       * modules/math (Makefile.am): Substitute REPLACE_CEILF instead of
+       HAVE_DECL_CEILF, REPLACE_CEILL instead of HAVE_DECL_CEILL,
+       REPLACE_FLOORF instead of HAVE_DECL_FLOORF, REPLACE_FLOORL instead of
+       HAVE_DECL_FLOORL.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): New macro, extracted from
+       gl_FUNC_FLOORL. Cache the result.
+       (gl_FUNC_FLOORL): Use it.
+       * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): New macro, extracted from
+       gl_FUNC_CEILL. Cache the result.
+       (gl_FUNC_CEILL): Use it.
+
+       * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): New macro, extracted from
+       gl_FUNC_FLOOR. Cache the result.
+       (gl_FUNC_FLOOR): Use it.
+       * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): New macro, extracted from
+       gl_FUNC_CEIL. Cache the result.
+       (gl_FUNC_CEIL): Use it.
+
+       * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): New macro, extracted from
+       gl_FUNC_FLOORF. Cache the result.
+       (gl_FUNC_FLOORF): Use it.
+       * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): New macro, extracted from
+       gl_FUNC_CEILF. Cache the result.
+       (gl_FUNC_CEILF): Use it.
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Allow specifying the LGPL version number through
+       --lgpl=2 or --lgpl=3.
+       (func_usage): Document --lgpl with argument.
+       Handle --lgpl=... arguments.
+       (func_import): Recognize also gl_LGPL calls with an argument. When
+       --lgpl=2 is used and the module's license is just LGPL, report an
+       error. Set sed_transform_lib_file according to the lgpl variable. In
+       the generated files, use --lgpl or gl_LGPL invocations with argument,
+       if necessary.
+       * doc/gnulib-intro.texi (Copyright): Explain how to get modules under
+       an LGPv2+ license.
+       * doc/gnulib-tool.texi (Modified imports): Update explanation of
+       gl_LGPL macro.
+
+2007-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+            Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr.h (u8_uctomb_aux): Declare also if !HAVE_INLINE.
+       (u16_uctomb_aux): Likewise.
+       * lib/unistr/u8-uctomb-aux.c (u8_uctomb_aux): Define also if
+       !HAVE_INLINE.
+       * lib/unistr/u16-uctomb-aux.c (u16_uctomb_aux): Likewise
+
+2007-10-28  Bruno Haible  <bruno@clisp.org>
+
+       * modules/error: Add a notice recommending to change XGETTEXT_OPTIONS.
+       Invoke AM_GETTEXT_OPTION if it exists.
+       * modules/vasprintf: Likewise.
+       * modules/verror: Likewise.
+       * modules/xprintf: Likewise.
+       * modules/xvasprintf: Likewise.
+
 2007-10-27  Ben Pfaff  <blp@gnu.org>
 
        * lib/math.in.h: Define isfinite macro and prototypes for