+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getdomainname: Move AC_LIBOBJ invocations to module description.
+ * m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Move AC_LIBOBJ and
+ gl_PREREQ_GETDOMAINNAME invocations from here...
+ * modules/getdomainname (configure.ac): ... to here.
+
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getline: Move AC_LIBOBJ invocations to module description.
+ * m4/getline.m4 (gl_FUNC_GETLINE): Move AC_LIBOBJ and gl_PREREQ_GETLINE
+ invocations from here...
+ * modules/getline (configure.ac): ... to here.
+
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getline: Simplify.
+ * m4/getline.m4 (gl_PREREQ_GETLINE): Don't invoke gl_FUNC_GETDELIM.
+ It's already handled through the module dependency.
+
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getdelim: Move AC_LIBOBJ invocations to module description.
+ * m4/getdelim.m4 (gl_FUNC_GETDELIM): Set HAVE_GETDELIM. Move AC_LIBOBJ
+ and gl_PREREQ_GETDELIM invocations from here...
+ * modules/getdelim (configure.ac): ... to here.
+ (Depends-on): Fix condition.
+
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getcwd: Move AC_LIBOBJ invocations to module description.
+ * m4/getcwd.m4 (gl_FUNC_GETCWD): Move AC_LIBOBJ and gl_PREREQ_GETCWD
+ invocations from here...
+ * modules/getcwd (configure.ac): ... to here.
+
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
+ getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
+ * m4/getcwd.m4 (gl_FUNC_GETCWD_LGPL): Move AC_LIBOBJ invocation from
+ here...
+ * modules/getcwd-lgpl (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ crypto/gc: Move AC_LIBOBJ invocations to module description.
+ * m4/gc.m4 (gl_GC): Move AC_LIBOBJ invocations from here...
+ * modules/crypto/gc (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fwriting: Move AC_LIBOBJ invocations to module description.
+ * m4/fwriting.m4 (gl_FUNC_FWRITINT): Move AC_LIBOBJ invocation from
+ here...
+ * modules/fwriting (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fwritable: Move AC_LIBOBJ invocations to module description.
+ * m4/fwritable.m4 (gl_FUNC_FWRITABLE): Move AC_LIBOBJ invocation from
+ here...
+ * modules/fwritable (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ futimens: Move AC_LIBOBJ invocations to module description.
+ * m4/futimens.m4 (gl_FUNC_FUTIMENS): Move AC_LIBOBJ invocations from
+ here...
+ * modules/futimens (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ ftruncate: Move AC_LIBOBJ invocations to module description.
+ * m4/ftruncate.m4 (gl_FUNC_FTRUNCATE): Move AC_LIBOBJ and
+ gl_PREREQ_FTRUNCATE invocations from here...
+ * modules/ftruncate (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fsync: Move AC_LIBOBJ invocations to module description.
+ * m4/fsync.m4 (gl_FUNC_FSYNC): Move AC_LIBOBJ and gl_PREREQ_FSYNC
+ invocations from here...
+ * modules/fsync (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fsusage: Move AC_LIBOBJ invocations to module description.
+ * m4/fsusage.m4 (gl_FUNC_FREOPEN): Move AC_LIBOBJ and
+ gl_PREREQ_FSUSAGE_EXTRA invocations from here...
+ * modules/fsusage (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ freopen: Move AC_LIBOBJ invocations to module description.
+ * m4/freopen.m4 (gl_FUNC_FREOPEN): Move AC_LIBOBJ and gl_PREREQ_FREOPEN
+ invocations from here...
+ * modules/freopen (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ free: Move AC_LIBOBJ invocations to module description.
+ * m4/free.m4 (gl_FUNC_FREE): Move AC_LIBOBJ and missing gl_PREREQ_FREE
+ invocations from here...
+ * modules/free (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ freadable: Move AC_LIBOBJ invocations to module description.
+ * m4/freadable.m4 (gl_FUNC_FREADABLE): Move AC_LIBOBJ invocation from
+ here...
+ * modules/freadable (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fpurge: Move AC_LIBOBJ invocations to module description.
+ * m4/fpurge.m4 (gl_FUNC_FPURGE): Set HAVE_FPURGE. Move AC_LIBOBJ
+ invocations from here...
+ * modules/fpurge (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fpending: Move AC_LIBOBJ invocations to module description.
+ * m4/fpending.m4 (gl_PREREQ_FPENDING): New macro, extracted from
+ gl_FUNC_FPENDING.
+ (gl_FUNC_FPENDING): Move AC_LIBOBJ and gl_PREREQ_FPENDING
+ invocations from here...
+ * modules/fpending (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fopen: Move AC_LIBOBJ invocations to module description.
+ * m4/fopen.m4 (gl_FUNC_FOPEN): Move AC_LIBOBJ and gl_PREREQ_FOPEN
+ invocations from here...
+ * modules/fopen (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
+ * m4/fnmatch.m4 (gl_PREREQ_FNMATCH): New macro, extracted from
+ gl_FUNC_FNMATCH_POSIX.
+ (gl_FUNC_FNMATCH_POSIX): Move AC_LIBOBJ and gl_PREREQ_FNMATCH
+ invocations from here...
+ * modules/fnmatch (configure.ac): ... to here.
+ * modules/fnmatch-gnu (configure.ac): ... and here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ flock: Move AC_LIBOBJ invocations to module description.
+ * m4/flock.m4 (gl_FUNC_FLOCK): Move AC_LIBOBJ and gl_PREREQ_FLOCK
+ invocations from here...
+ * modules/flock (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fileblocks: Move AC_LIBOBJ invocations to module description.
+ * m4/fileblocks.m4 (gl_FILEBLOCKS): Move AC_LIBOBJ and
+ gl_PREREQ_FILEBLOCKS invocations from here...
+ * modules/fileblocks (configure.ac): ... to here.
+
+2011-05-06 Bruno Haible <bruno@clisp.org>
+
+ fflush: Move AC_LIBOBJ invocations to module description.
+ * m4/fflush.m4 (gl_REPLACE_FFLUSH): Remove macro.
+ (gl_FUNC_FFLUSH): Inline it here. Move AC_LIBOBJ and gl_PREREQ_FFLUSH
+ invocations from here...
+ * modules/fflush (configure.ac): ... to here.
+
+2011-05-06 Bruno Haible <bruno@clisp.org>
+
+ fdopendir: Move AC_LIBOBJ invocations to module description.
+ * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Move AC_LIBOBJ invocations from
+ here...
+ * modules/fdopendir (configure.ac): ... to here.
+ (Depends-on): Improve conditions.
+
+2011-05-06 Bruno Haible <bruno@clisp.org>
+
+ _Exit: Move AC_LIBOBJ invocations to module description.
+ * m4/_Exit.m4 (gl_FUNC__EXIT): Move AC_LIBOBJ and gl_PREREQ__EXIT
+ invocations from here...
+ * modules/_Exit (configure.ac): ... to here.
+
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ euidaccess: Respect rules for use of AC_LIBOBJ.
+ * m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_EUIDACCESS invocations
+ from here...
+ * modules/euidaccess (configure.ac): ... to here.
+
+2011-05-06 Bruno Haible <bruno@clisp.org>
+
+ error: Move AC_LIBOBJ invocations to module description.
+ * m4/error.m4 (gl_ERROR): Inline AC_FUNC_ERROR_AT_LINE. Remove
+ AC_LIBSOURCES invocation. Move AC_LIBOBJ and gl_PREREQ_ERROR
+ invocations from here...
+ * modules/error (configure.ac): ... to here.
+
+2011-05-06 Bruno Haible <bruno@clisp.org>
+
+ duplocale: Move AC_LIBOBJ invocations to module description.
+ * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Move AC_LIBOBJ and
+ gl_PREREQ_DUPLOCALE invocations from here...
+ * modules/duplocale (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ dirfd: Move AC_LIBOBJ invocations to module description.
+ * m4/dirfd.m4 (gl_PREREQ_DIRFD): New macro, extracted from
+ gl_FUNC_DIRFD.
+ (gl_FUNC_DIRFD): Move AC_LIBOBJ and gl_PREREQ_DIRFD invocations from
+ here...
+ * modules/dirfd (configure.ac): ... to here.
+ (Depends-on): Fix condition.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ chown: Respect rules for use of AC_LIBOBJ.
+ * m4/chown.m4 (gl_FUNC_CHOWN): Move AC_LIBOBJ invocations from here...
+ * modules/chown (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ chdir-long: Move AC_LIBOBJ invocations to module description.
+ * m4/chdir-long.m4 (gl_FUNC_CHDIR_LONG): Move AC_LIBOBJ and
+ gl_PREREQ_CHDIR_LONG invocations from here...
+ * modules/chdir-long (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ canonicalize-lgpl: Move AC_LIBOBJ invocations to module description.
+ * m4/canonicalize.m4 (gl_CANONICALIZE_LGPL): Move AC_LIBOBJ invocation
+ from here...
+ * modules/canonicalize-lgpl (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ calloc-posix, calloc-gnu: Move AC_LIBOBJs to module description.
+ * m4/calloc.m4 (gl_REPLACE_CALLOC): Remove macro.
+ (gl_FUNC_CALLOC_GNU, gl_FUNC_CALLOC_POSIX): Instead, just set
+ REPLACE_CALLOC.
+ * modules/calloc-posix (configure.ac): Invoke AC_LIBOBJ here.
+ * modules/calloc-gnu (configure.ac): Likewise.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ btowc: Move AC_LIBOBJ invocations to module description.
+ * m4/btowc.m4 (gl_FUNC_BTOWC): Move AC_LIBOBJ and gl_PREREQ_BTOWC
+ invocations from here...
+ * modules/btowc (configure.ac): ... to here.
+
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ atexit: Move AC_LIBOBJ invocations to module description.
+ * m4/atexit.m4 (gl_FUNC_ATEXIT): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_ATEXIT invocations from
+ here...
+ * modules/atexit (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ atoll: Move AC_LIBOBJ invocations to module description.
+ * m4/atoll.m4 (gl_FUNC_ATOLL): Move AC_LIBOBJ and gl_PREREQ_ATOLL
+ invocations from here...
+ * modules/atoll (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ argz: Move AC_LIBOBJ invocations to module description.
+ * m4/argz.m4 (gl_FUNC_ARGZ): Move AC_LIBOBJ invocation from here...
+ * modules/argz (configure.ac): ... to here.
+
+2011-05-05 Bruno Haible <bruno@clisp.org>
+
+ alphasort: Move AC_LIBOBJ invocations to module description.
+ * m4/alphasort.m4 (gl_FUNC_ALPHASORT): Move AC_LIBOBJ and
+ gl_PREREQ_ALPHASORT invocations from here...
+ * modules/alphasort (configure.ac): ... to here.
+
+2011-06-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ verify: new macro verify_expr; verify_true deprecated
+ * NEWS: Mention this.
+ * doc/verify.texi (Compile-time Assertions): Document this.
+ * lib/verify.h (verify_true): Deprecate.
+ (verify_expr): New macro.
+ * tests/test-verify.c (function): Test verify_expr.
+
+2011-06-14 Jim Meyering <meyering@redhat.com>
+
+ init.sh: give more portable redirection-related advice in a comment
+ * tests/init.sh (stderr_fileno_): Update the advice in comments.
+ See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488
+ for lots of discussion. Stefano Lattarini suggested the solution
+ of putting "9>&2" after the command. Reported by Bruno Haible.
+
+2011-06-13 Bruno Haible <bruno@clisp.org>
+
+ locale-zh: Reject zh_CN.GB18030 locale on Solaris 8.
+ * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): On Solaris 8, set LOCALE_ZH_CN to
+ 'none'.
+
+2011-06-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ ftoastr: use strtof only if HAVE_STRTOF
+ This is needed on HP-UX 11.11 with GCC 4.2.4; see Bruno Haible's report
+ <http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00154.html>.
+ * lib/ftoastr.c (STRTOF) [LENGTH == 1]: Use strtof only if HAVE_STRTOF.
+ * modules/ftoastr (configure.ac): Check for strtof.
+
+2011-06-13 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Addendum to 2011-06-08 commit.
+ * gnulib-tool (func_emit_lib_Makefile_am): If options --makefile-name
+ and --witness-c-macro have been given, augment AM_CPPFLAGS.
+
+2011-06-13 Bruno Haible <bruno@clisp.org>
+
+ fseeko: Provide a non-inline replacement of fseek().
+ * lib/stdio.in.h (fseek): Don't provide if module 'fseek' is not used.
+ * modules/fseeko (Depends-on): Add fseek.
+ * modules/fseek (License): Change to LGPLv2+.
+
+2011-06-13 Bruno Haible <bruno@clisp.org>
+
+ ftello: Provide a non-inline replacement of ftell().
+ * lib/stdio.in.h (ftell): Don't provide if module 'ftell' is not used.
+ * m4/ftell.m4 (gl_FUNC_FTELL): Replace ftell also if the system does
+ not have ftello() (such as on mingw).
+ * modules/ftello (Depends-on): Add ftell.
+ * modules/ftell (License): Change to LGPLv2+.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ ftell: Move AC_LIBOBJ invocations to module description.
+ * m4/ftell.m4 (gl_FUNC_FTELL): Move AC_LIBOBJ invocation from here...
+ * modules/ftell (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ ftello: Respect rules for use of AC_LIBOBJ.
+ * m4/ftello.m4 (gl_REPLACE_FTELLO): Remove macro.
+ (gl_FUNC_FTELLO): Inline it here. Move AC_LIBOBJ invocation from
+ here...
+ * modules/ftello (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fseeko: Simplify.
+ * m4/fseeko.m4 (gl_HAVE_FSEEKO): Remove macro.
+ (gl_FUNC_FSEEKO): Inline it here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fseek: Move AC_LIBOBJ invocations to module description.
+ * m4/fseek.m4 (gl_REPLACE_FSEEK): Remove macro.
+ (gl_FUNC_FSEEK): Inline it here. Move AC_LIBOBJ invocation from here...
+ * modules/fseek (configure.ac): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fseek: Respect rules for use of AC_LIBOBJ.
+ * m4/fseeko.m4 (gl_FUNC_FSEEKO): Move gl_REPLACE_FSEEK invocation from
+ here...
+ * m4/fseek.m4 (gl_FUNC_FSEEK): ... to here.
+
+2011-05-07 Bruno Haible <bruno@clisp.org>
+
+ fseeko: Respect rules for use of AC_LIBOBJ.
+ * m4/fseeko.m4 (gl_REPLACE_FSEEKO): Remove macro.
+ (gl_FUNC_FSEEKO): Inline it here. Move AC_LIBOBJ invocation from
+ here...
+ * modules/fseeko (configure.ac): ... to here.
+
+2011-06-13 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Allow comments in the 'Depends-on' section.
+ * doc/gnulib.texi (Module description): Mention comment syntax in the
+ Depends-on section.
+ * gnulib-tool (func_get_dependencies): Filter out comment lines.
+
+2011-06-13 Bruno Haible <bruno@clisp.org>
+
+ file-set.h: guard __attibute__ use, now that it's not always defined
+ * lib/file-set.h (record_file): Use __attribute__ only with compiler
+ versions that support it. This fixes a coreutils build failure with
+ the vendor cc on HP-UX 11.31.
+
+2011-06-12 Bruno Haible <bruno@clisp.org>
+
+ acl: Add support for HP-UX >= 11.11 JFS ACLs.
+ * doc/acl-resources.txt: Add info about the ACL APIs on HP-UX.
+ * m4/acl.m4 (gl_FUNC_ACL): Also test for HP-UX 11.11 API.
+ * lib/acl-internal.h [HP-UX 11.11]: Include <aclv.h>.
+ (acl, aclsort): New declarations.
+ (aclv_nontrivial): New declaration.
+ * lib/file-has-acl.c (aclv_nontrivial) [HP-UX 11.11]: New function.
+ (file_has_acl): Read also the second kind of HP-UX ACLs.
+ * lib/set-mode-acl.c (qset_acl) [HP-UX 11.11]: Try to set the second
+ kind of HP-UX ACLs if the first kind fails.
+ * lib/copy-acl.c (qcopy_acl) [HP-UX 11.11]: Read and set also the
+ second kind of HP-UX ACLs.
+ * tests/test-sameacls.c [HP-UX 11.11]: Include <aclv.h>.
+ (main) [HP-UX 11.11]: Test also whether the second kind of HP-UX ACLs
+ agree.
+ * tests/test-file-has-acl.sh (acl_flavor) [HP-UX 11.11]: Set to
+ hpuxjfs.
+ Handle hpuxjfs.
+ * tests/test-set-mode-acl.sh (acl_flavor) [HP-UX 11.11]: Set to
+ hpuxjfs.
+ Handle hpuxjfs.
+ * tests/test-copy-acl.sh (acl_flavor) [HP-UX 11.11]: Set to hpuxjfs.
+ (func_test_same_acls): Use both lsacl and getacl.
+ Handle hpuxjfs.
+ * tests/test-copy-file.sh (acl_flavor) [HP-UX 11.11]: Set to hpuxjfs.
+ (func_test_same_acls): Use both lsacl and getacl.
+ Handle hpuxjfs.
+
+2011-06-12 Bruno Haible <bruno@clisp.org>
+
+ acl: Complete the 2010-08-10 fix.
+ * lib/file-has-acl.c (file_has_acl) [HP-UX]: Also test against ENOTSUP.
+ * lib/set-mode-acl.c (qset_acl) [HP-UX]: Likewise.
+ * lib/copy-acl.c (qcopy_acl) [HP-UX]: Test for the errno values
+ explicitly.
+ * tests/test-sameacls.c (main) [HP-UX]: Also test against ENOTSUP.
+ Reported in <http://debbugs.gnu.org/db/60/6053.html>.
+
+2011-06-12 Bruno Haible <bruno@clisp.org>
+
+ spawn-pipe tests: Comments.
+ * tests/test-spawn-pipe-child.c (main): Update comment.
+ Reported by James Youngman <jay@gnu.org>.
+
+2011-06-11 James Youngman <jay@gnu.org>
+
+ New module 'stat-size'.
+ * modules/stat-size: New module. Provides macros for accessing
+ file size information in instances of struct stat. Depends on the
+ fileblocks module because it calls st_blocks.
+ * lib/stat-size.h: New file, adapted from coreutils' system.h.
+ * doc/gnulib.texi: Include stat-size.texi.
+ * doc/stat-size.texi: Documentation for this module.
+ * m4/stat-size.m4: New file; defines gl_STAT_SIZE.
+ * m4/fileblocks.m4: Mention that stat-size depends on the call to
+ AC_STRUCT_ST_BLOCKS.
+
+2011-06-09 Bruno Haible <bruno@clisp.org>
+
+ thread: Support pthreads-win32.
+ * lib/glthread/thread.h (gl_thread_self): Define differently on
+ pthreads-win32.
+ (gl_null_thread): New declaration.
+ (gl_thread_self_pointer): New macro.
+ * lib/glthread/thread.c (gl_null_thread): New constant.
+ * tests/test-lock.c: Use gl_thread_self_pointer instead of
+ gl_thread_self.
+ * tests/test-tls.c: Likewise.
+ Suggested by Paul Eggert. Reported by Eric Blake.
+
+2011-06-09 Bruno Haible <bruno@clisp.org>
+
+ thread: Fix confusion between NULL and 0.
+ * lib/glthread/thread.h (gl_thread_self): Use NULL and 0 appropriately.
+ Reported by Paul Eggert.
+
+2011-06-09 Bruno Haible <bruno@clisp.org>
+
+ spawn-pipe tests: Avoid test failure on HP-UX 11.
+ * tests/test-spawn-pipe-child.c (main) [HP-UX]: Don't assert that fd 2
+ is closed.
+
+2011-06-09 Bruno Haible <bruno@clisp.org>
+
+ acl tests: Fix compilation error on HP-UX 11.
+ * tests/test-sameacls.c: Include <sys/acl.h> also on HP-UX.
+
+2011-06-09 Bruno Haible <bruno@clisp.org>
+
+ rmdir: Avoid test failure on HP-UX 10.20.
+ * tests/test-rmdir.h (test_rmdir_func): Accept ENOTEMPTY error, like
+ EEXIST.
+