Check whether round* exist in libraries, not just whether they are declared.
[gnulib.git] / ChangeLog
index 6752fda..04b696f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,238 @@
+2007-10-27  Ben Pfaff  <blp@gnu.org>
+
+       Ralf Wildenhues reported that Tru64 4.0D declares the round
+       functions but does not have definitions.
+       * m4/check-math-lib.m4 (gl_CHECK_MATH_LIB): If the target function
+       cannot be found in any library, set the output variable to
+       "missing" instead of "".
+       * m4/round.m4: Also use our substitute if we cannot find round in
+       any library, even if it is declared.
+       * m4/roundf.m4: Likewise for roundf.
+       * m4/roundl.m4: Likewise for roundl.
+       * lib/math.in.h: Undefine roundf, round, roundl before defining
+       their replacements, to allow for hypothetical systems where these
+       may be defined as macros but not available in libraries.
+
+2007-10-27  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib.texi: Invoke @firstparagraphindent.
+       * doc/gnulib-tool.texi (Simple update): Mention possible incompatible
+       changes in gnulib.
+       (Source changes): New section.
+
+2007-10-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gnulib-common.m4 (AC_C_RESTRICT): New overriding definition,
+       borrowed from autoconf.
+
+2007-10-26  Bruno Haible  <bruno@clisp.org>
+
+       * lib/strerror.c (rpl_strerror): Return "Unknown error ..." also if
+       strerror returned the empty string. Needed on HP-UX 11.00.
+
+2007-10-24  Micah Cowan  <micah@cowan.name>
+
+       Remove vestiges of cvs-gnulib-checkout process.  Now we use git.
+       * build-aux/bootstrap: Remove support for now-unnecessary option,
+       --cvs-user, and envvars CVS_USER, CVS_RSH.
+
+2007-10-24  Jim Meyering  <meyering@redhat.com>
+
+       Avoid diagnostics from sha1sum when there is no cached checksum.
+       * build-aux/bootstrap (update_po_files): Skip the sha1sum check
+       if the po.s1 file hasn't been created yet.
+
+       * build-aux/bootstrap: Sync from coreutils:
+       2007-10-24  Jim Meyering  <meyering@redhat.com>
+       Get gnulib from the git repository, not from an obsolete cvs one.
+       * build-aux/bootstrap: Suggestion from Micah Cowan.
+       2007-10-04  Jim Meyering  <jim@meyering.net>
+       * build-aux/bootstrap (slurp): Adapt to _.h -> .in.h name change.
+       (update_po_files): Work also when there are no .po files in po/.
+
+2007-10-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * README: Append ".git" to git and cg examples.
+       Problem reported by Benoit Sigoure.
+
+2007-10-23  Micah Cowan  <micah@cowan.name>
+
+       * users.txt: Add wget.
+
+2007-10-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Fix linking of some unistdio tests on FreeBSD.
+       * modules/unistdio/u16-vsnprintf-tests
+       (test_u16_vsprintf1_LDADD): Add @LIBINTL@.
+       * modules/unistdio/u16-vsprintf-tests
+       (test_u16_vsnprintf1_LDADD): Likewise.
+       * modules/unistdio/u32-vsnprintf-tests
+       (test_u32_vsnprintf1_LDADD): Likewise.
+       * modules/unistdio/u32-vsprintf-tests
+       (test_u32_vsprintf1_LDADD): Likewise.
+       * modules/unistdio/u8-vsnprintf-tests
+       (test_u8_vsnprintf1_LDADD): Likewise.
+       * modules/unistdio/u8-vsprintf-tests
+       (test_u8_vsprintf1_LDADD): Likewise.
+       * modules/unistdio/ulc-vsnprintf-tests
+       (test_ulc_vsnprintf1_LDADD): Likewise.
+       * modules/unistdio/ulc-vsprintf-tests
+       (test_ulc_vsprintf1_LDADD): Likewise.
+
+       Fix linking of some uniconv tests on FreeBSD.
+       * modules/uniconv/u16-conv-from-enc-tests
+       (test_u16_conv_from_enc_LDADD): Link $(LDADD) before @LIBICONV@.
+       * modules/uniconv/u16-conv-to-enc-tests
+       (test_u16_conv_to_enc_LDADD): Likewise.
+       * modules/uniconv/u16-strconv-from-enc-tests
+       (test_u16_strconv_from_enc_LDADD): Likewise.
+       * modules/uniconv/u16-strconv-to-enc-tests
+       (test_u16_strconv_to_enc_LDADD): Likewise.
+       * modules/uniconv/u32-conv-from-enc-tests
+       (test_u32_conv_from_enc_LDADD): Likewise.
+       * modules/uniconv/u32-conv-to-enc-tests
+       (test_u32_conv_to_enc_LDADD): Likewise.
+       * modules/uniconv/u32-strconv-from-enc-tests
+       (test_u32_strconv_from_enc_LDADD): Likewise.
+       * modules/uniconv/u32-strconv-to-enc-tests
+       (test_u32_strconv_to_enc_LDADD): Likewise.
+       * modules/uniconv/u8-conv-from-enc-tests
+       (test_u8_conv_from_enc_LDADD): Likewise.
+       * modules/uniconv/u8-conv-to-enc-tests
+       (test_u8_conv_to_enc_LDADD): Likewise.
+       * modules/uniconv/u8-strconv-from-enc-tests
+       (test_u8_strconv_from_enc_LDADD): Likewise.
+       * modules/uniconv/u8-strconv-to-enc-tests
+       (test_u8_strconv_to_enc_LDADD): Likewise.
+
+2007-10-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h: Add check that intmax_t and uintmax_t have the same
+       size.
+
+2007-10-22  Eric Blake  <ebb9@byu.net>
+
+       Tweak x*printf documentation.
+       * lib/xprintf.c (xprintf, xvprintf, xfprintf, xvfprintf): Adjust
+       variable name and comments.
+       Suggested by Bruno Haible.
+
+2007-10-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/acl.c (copy_acl): Fix file name in comment.
+
+2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix Tru64 problem with stdbool.h.
+       * lib/stdbool.in.h (false, true):
+       [! (defined __cplusplus || defined __BEOS__) && !defined __GNUC__]:
+       Don't declare as an enum in this situation; it runs afoul of Tru64.
+       Problem reported by Steven M. Schweda in
+       <http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00019.html>.
+
+2007-10-22  Eric Blake  <ebb9@byu.net>
+
+       Also wrap vf?printf.
+       * lib/xprintf.h (xvprintf, xvfprintf): New declarations.
+       * lib/xprintf.c (xprintf, xfprintf): Work for C89.
+       (xvprintf, xvfprintf): New functions.
+
+2007-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/fstrcmp-tests (test_fstrcmp_LDADD): New, add
+       @LIBINTL@ for FreeBSD 6.2, $(LIBTHREAD) for AIX 4.3.3.
+
+       * lib/uniconv/u16-conv-to-enc.c (U_MBLEN): Define.
+       * lib/uniconv/u32-conv-to-enc.c (U_MBLEN): Likewise.
+
+2007-10-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/acl.c (copy_acl): Adjust to IRIX 6.5.  Problem reported
+       by Bruno Haible.
+
+2007-10-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/getloadavg.c
+       [defined (__osf__) && (defined (__alpha) || defined (__alpha__)]:
+       Undef `sys' after including sys/table.h, for Tru64 4.0D.
+
+       * tests/test-i-ring.c: Work for C89.
+
+2007-10-22  Bruno Haible  <bruno@clisp.org>
+
+       * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not
+       -1u, in preprocessor expression, so that we don't test for the bug
+       in HP-UX 11.00 cpp.  Testing for this bug caused problems; see
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00329.html>.
+
+2007-10-22  Eric Blake  <ebb9@byu.net>
+
+       * tests/test-yesno.sh: Silence stderr during test.
+
+2007-10-22  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/crypto/gc-camellia: New file.
+
+       * m4/gc-camellia.m4: New file.
+
+       * lib/gc-libgcrypt.c (gc_cipher_open): Support Camellia.
+
+       * lib/gc.h (enum Gc_cipher): Add GC_CAMELLIA128, GC_CAMELLIA256.
+
+2007-10-22  Simon Josefsson  <simon@josefsson.org>
+
+       * build-aux/maint.mk (gzip_rsyncable): Don't fail if gzip sends
+       --help to stdout.  Reported by sms@antinode.org (Steven
+       M. Schweda).
+
+2007-10-22  Simon Josefsson  <simon@josefsson.org>
+
+       * users.txt: Fix link to libksba.
+
+2007-10-21  Ben Pfaff  <blp@gnu.org>
+
+       * modules/roundf-tests: Add dependency on floorf, ceilf to allow
+       round.c roundf implementation that depends on floorf and ceilf to
+       be tested unconditionally.
+
+2007-10-21  Ben Pfaff  <blp@gnu.org>
+
+       * m4/check-libm-func.m4: Removed.
+       * m4/check-math-lib.m4: New file.
+       * m4/round.m4: Rewrite to use gl_CHECK_MATH_LIB.
+       * m4/roundf.m4: Ditto, and fix lack of HAVE_DECL_ROUNDF
+       definition and lack of AC_LIBOBJ([roundf]).
+       * m4/roundl.m4: Ditto, and similarly for roundl.
+       * modules/round: Reference new m4 file.
+       * modules/roundf: Ditto.
+       * modules/roundl: Ditto.
+       * tests/test-round2.c (main): Use ROUND instead of round.
+       Bug report from Bruno Haible.
+
+2007-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * lib/printf-parse.c: Don't assume <stdint.h> exists in IN_LIBASPRINTF
+       context.
+
+2007-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-wcwidth.c (main): Allow negative result for some control
+       characters.
+
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Check also the width of U+200B.
+       Needed on OSF/1 5.1.
+
+2007-10-21  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-floorf1.c: Include isnanf.h.
+       (main): Use isnanf() instead of isnan().
+       * tests/test-ceilf1.c: Include isnanf.h.
+       (main): Use isnanf() instead of isnan().
+       * tests/test-truncf1.c: Include isnanf.h.
+       (main): Use isnanf() instead of isnan().
+       * tests/test-roundf1.c: Include isnanf.h.
+       (main): Use isnanf() instead of isnan().
+
 2007-10-21  Eric Blake  <ebb9@byu.net>
 
        * users.txt: Update URL for m4.
        * doc/functions/roundf.texi: Mention roundf module.
        * doc/functions/roundl.texi: Mention roundl module.
        * MODULES.html.sh: Mention new modules.
+       Thanks to Bruno Haible for suggestions.
 
 2007-10-20  Jim Meyering  <meyering@redhat.com>