bootstrap: properly check for libtool
[gnulib.git] / ChangeLog
index 4aed32c..5ed23e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,107 @@
+2012-01-16  Eric Blake  <eblake@redhat.com>
+
+       bootstrap: properly check for libtool
+       * build-aux/bootstrap (libtoolize): Also run libtool when older
+       usage is detected.
+
+2012-01-15  Bruno Haible  <bruno@clisp.org>
+
+       Improve support for MSVC 9.
+       * lib/unistd.in.h: Include <io.h> when needed to avoid redefinition
+       clashes on MSVC.
+       * lib/fcntl.in.h: Likewise.
+       * lib/stdlib.in.h: Likewise.
+       * lib/sys_stat.in.h: Likewise.
+
+2011-01-15  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       gnupload: we hold the master copy of this script now
+       For motivation and more information, see:
+       <http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00222.html>
+       * build-aux/gnupload: Make it clear in the heading comments that the
+       master copy of this file is maintained by gnulib.  Since we are at
+       it, bump its copyright year and ...
+       ($scriptversion): ... the date in its version.
+       ($usage): Patches and bug reports should be sent to the gnulib list,
+       not the automake one.
+       * config/srclist.txt: Don't try to sync 'gnupload' from automake
+       anymore.
+
+2012-01-15  Bruno Haible  <bruno@clisp.org>
+
+       Fix module 'random'.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Test whether random, srandom,
+       initstate, setstate are declared.
+
+2012-01-14  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'random'.
+       * modules/random-tests: New file.
+       * tests/test-random.c: New file, based on tests/test-random_r.c.
+
+       New module 'random'.
+       * lib/stdlib.in.h (random, srandom, initstate, setstate): New
+       declarations.
+       * lib/random.c: New file, based on glibc/stdlib/random.c.
+       * m4/random.m4: New file.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_RANDOM,
+       HAVE_RANDOM.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_RANDOM, HAVE_RANDOM.
+       * modules/random: New file.
+       * config/srclist.txt: Add an entry for random.c.
+       * doc/posix-functions/random.texi: Mention the 'random' module.
+       * doc/posix-functions/initstate.texi: Likewise.
+       * doc/posix-functions/setstate.texi: Likewise.
+       * doc/posix-functions/srandom.texi: Likewise.
+
+2012-01-12  Bruno Haible  <bruno@clisp.org>
+
+       random_r: Use common idioms.
+       * lib/random_r.c: Include <stdlib.h> first.
+
+       random_r: Override incompatible API on AIX, OSF/1.
+       * lib/stdlib.in.h (random_r, srandom_r, initstate_r, setstate_r):
+       Override the system function if REPLACE_RANDOM_R is 1.
+       * m4/random_r.m4 (gl_FUNC_RANDOM_R): Require AC_CANONICAL_HOST. On AIX
+       and OSF/1, set REPLACE_RANDOM_R.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_RANDOM_R.
+       * modules/stdlib (Makefile.am): Substitute REPLACE_RANDOM_R.
+       * modules/random_r (configure.ac): Test REPLACE_RANDOM_R.
+       * doc/glibc-functions/initstate_r.texi: Mention the AIX, OSF/1 problem.
+       * doc/glibc-functions/random_r.texi: Likewise.
+       * doc/glibc-functions/setstate_r.texi: Likewise.
+
+       random_r: Support for MSVC 9.
+       * lib/random_r.c: Include stdint.h, not inttypes.h.
+
+2012-01-12  Eric Blake  <eblake@redhat.com>
+
+       inet_ntop: guard extra work by IF_LINT
+       * lib/inet_ntop.c (inet_ntop6): Mark spurious initialization, for
+       better code generation when not checking for warnings.
+       Suggested by Paul Eggert and Jim Meyering.
+
+       strptime: fix regression on mingw
+       * lib/strptime.c (__strptime_internal) [!_LIBC && !HAVE_TM_GMTOFF]:
+       Fix regression.  Reported by Bruno Haible.
+
+2012-01-11  Reuben Thomas  <rrt@sc3d.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       copy-file: add error-code-returning variant.
+       * lib/copy-file.h (GL_COPY_ERR_*): New enumeration items.
+       (qcopy_file_preserving): New declaration.
+       * lib/copy-file.c (qcopy_file_preserving): Renamed from
+       copy_file_preserving. Change return type to 'int'. Don't emit an error
+       message here.
+       (copy_file_preserving): New function.
+       * tests/test-copy-file.c: Include <stdlib.h>.
+       (main): Test qcopy_file_preserving if the environment variable
+       NO_STDERR_OUTPUT is set.
+       * tests/test-copy-file-1.sh: Invoke test-copy-file.sh a second time,
+       with NO_STDERR_OUTPUT
+       * tests/test-copy-file-2.sh: Likewise.
+
 2012-01-10  Bruno Haible  <bruno@clisp.org>
 
        copy-file: Use 'quote' module consistently.