Avoid test link errors.
[gnulib.git] / ChangeLog
index 0cab1f9..97fd049 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,158 @@
+2009-02-27  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test link errors.
+       * modules/uninorm/nfc-tests (test_u32_nfc_big_LDADD): New variable.
+       * modules/uninorm/nfd-tests (test_u32_nfd_big_LDADD): New variable.
+       * modules/uninorm/nfkc-tests (test_u32_nfkc_big_LDADD): New variable.
+       * modules/uninorm/nfkd-tests (test_u32_nfkd_big_LDADD): New variable.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2009-02-27  Bruno Haible  <bruno@clisp.org>
+
+       Avoid spurious "(cached)" in configure output.
+       * m4/gnulib-common.m4 (gl_CACHE_VAL_SILENT): New macro.
+       * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Use it instead of AC_CACHE_VAL.
+       * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise.
+       * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise.
+       * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Likewise.
+       * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise.
+       * m4/stdarg.m4 (gl_STDARG_H): Likewise.
+       Reported by Eric Blake.
+
+2009-02-27  Eric Blake  <ebb9@byu.net>
+
+       printf: fix regression in previous patch
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Fix compilation error.
+
+2009-02-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/inttypes.in.h: Test merely whether _LP64 is defined, not its
+       value.
+       * lib/stdint.in.h: Likewise.
+       Suggested by Eric Blake. Reported by Peter Bray <pdb_ml@yahoo.com.au>.
+
+2009-02-27  Eric Blake  <ebb9@byu.net>
+
+       doc: mention more functions added in cygwin 1.7.0
+       * doc/posix-functions/mbsnrtowcs.texi: Mention recent cygwin 1.7.0
+       addition.
+       * doc/posix-functions/open_wmemstream.texi: Likewise.
+       * doc/posix-functions/wcsnlen.texi: Likewise.
+       * doc/posix-functions/wcsnrtombs.texi: Likewise.
+       * doc/posix-functions/wcstod.texi: Likewise.
+       * doc/posix-functions/wcstof.texi: Likewise.
+       * doc/posix-functions/wcstoimax.texi: Likewise.
+       * doc/posix-functions/wcstok.texi: Likewise.
+       * doc/posix-functions/wcstoumax.texi: Likewise.
+
+       Detect bug in cygwin 1.5.x *printf on 1-character %ls.
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Enhance filter.
+       * doc/posix-functions/fprintf.texi: Update.
+       * doc/posix-functions/printf.texi: Update.
+       * doc/posix-functions/snprintf.texi: Update.
+       * doc/posix-functions/sprintf.texi: Update.
+       * doc/posix-functions/vfprintf.texi: Update.
+       * doc/posix-functions/vprintf.texi: Update.
+       * doc/posix-functions/vsnprintf.texi: Update.
+       * doc/posix-functions/vsprintf.texi: Update.
+       * doc/glibc-functions/obstack_printf.texi: Update.
+       * doc/glibc-functions/obstack_vprintf.texi: Update.
+
+2009-02-26  Eric Blake  <ebb9@byu.net>
+
+       avoid gcc 3.4.3 bug on long double NaN on Irix 6.5
+       * tests/nan.h (NaNl): Rewrite as function on Irix, to avoid
+       compilation bug by using runtime conversion.
+       * m4/isfinite.m4 (gl_ISFINITE): Likewise.
+       * m4/isnanl.m4 (gl_FUNC_ISNANL): Likewise.
+       * modules/ceill-tests (Files): Use nan.h.
+       * modules/floorl-tests (Files): Likewise.
+       * modules/frexpl-tests (Files): Likewise.
+       * modules/isnanl-tests (Files): Likewise.
+       * modules/ldexpl-tests (Files): Likewise.
+       * modules/roundl-tests (Files): Likewise.
+       * modules/truncl-tests (Files): Likewise.
+       * tests/test-ceill.c (main): Use a working NaN.
+       * tests/test-floorl.c (main): Likewise.
+       * tests/test-frexpl.c (main): Likewise.
+       * tests/test-isnan.c (test_long_double): Likewise.
+       * tests/test-isnanl.h (main): Likewise.
+       * tests/test-ldexpl.h (main): Likewise.
+       * tests/test-roundl.h (main): Likewise.
+       * tests/test-truncl.h (main): Likewise.
+       See http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00190.html.
+
+2009-02-26  Eric Blake  <ebb9@byu.net>
+           Bruno Haible  <bruno@clisp.org>
+
+       Work around a *printf bug with %ls on Solaris.
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Also test whether, when a
+       precision is specified, sprintf stops converting the wide string
+       argument when the number of bytes that have been produced by this
+       conversion equals or exceeds the precision.
+       * doc/posix-functions/fprintf.texi: Update.
+       * doc/posix-functions/printf.texi: Update.
+       * doc/posix-functions/snprintf.texi: Update.
+       * doc/posix-functions/sprintf.texi: Update.
+       * doc/posix-functions/vfprintf.texi: Update.
+       * doc/posix-functions/vprintf.texi: Update.
+       * doc/posix-functions/vsnprintf.texi: Update.
+       * doc/posix-functions/vsprintf.texi: Update.
+       * doc/glibc-functions/obstack_printf.texi: Update.
+       * doc/glibc-functions/obstack_vprintf.texi: Update.
+
+2009-02-26  Eric Blake  <ebb9@byu.net>
+
+       stdlib: favor compiler check of random.h
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Skip preprocessor check.  Needed
+       to avoid an ObjC random.h installed by Swarm.
+
+2009-02-26  Bruno Haible  <bruno@clisp.org>
+
+       Work around *printf bug with %g directive and 0.0 on HP-UX 10.20.
+       * m4/printf.m4 (gl_PRINTF_INFINITE): Also test for %g output of -0.0.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2009-02-26  Bruno Haible  <bruno@clisp.org>
+
+       Fix *printf behaviour regarding the %ls directive.
+       * m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): New macro.
+       * lib/vasnprintf.c (local_wcslen, VASNPRINTF): Handle
+       NEED_PRINTF_DIRECTIVE_LS.
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_DIRECTIVE_LS): New macro.
+       (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): Invoke it.
+       * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_LS and test its result. Invoke
+       gl_PREREQ_VASNPRINTF_DIRECTIVE_LS.
+       * m4/dprintf-posix.m4 (gl_FUNC_DPRINTF_POSIX): Likewise.
+       * m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_POSIX): Likewise.
+       * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Likewise.
+       * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise.
+       * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise.
+       * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise.
+       * m4/vdprintf-posix.m4 (gl_FUNC_VDPRINTF_POSIX): Likewise.
+       * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise.
+       * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise.
+       * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise.
+       * doc/posix-functions/fprintf.texi: Update.
+       * doc/posix-functions/printf.texi: Update.
+       * doc/posix-functions/snprintf.texi: Update.
+       * doc/posix-functions/sprintf.texi: Update.
+       * doc/posix-functions/vfprintf.texi: Update.
+       * doc/posix-functions/vprintf.texi: Update.
+       * doc/posix-functions/vsnprintf.texi: Update.
+       * doc/posix-functions/vsprintf.texi: Update.
+       * doc/glibc-functions/obstack_printf.texi: Update.
+       * doc/glibc-functions/obstack_vprintf.texi: Update.
+       Reported by Eric Blake.
+
+2009-02-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mbrtowc.m4 (gl_MBRTOWC_NUL_RETVAL): Update guess for Solaris 8
+       with known value.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
 2009-02-25  Bruno Haible  <bruno@clisp.org>
 
        Work around mbrtowc bug in zh_CN.GB18030 locale on Solaris 8.