A help2man wrapper script that avoids breaking the build in various situations.
[gnulib.git] / ChangeLog
index c0c8c61..73dd829 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,442 @@
+2006-08-22  Bruno Haible <bruno@clisp.org>
+
+       * build-aux/x-to-1.in: New file, from GNU gettext.
+
+2006-08-22  Simon Josefsson  <jas@extundo.com>
+
+       * modules/gc-md5 (Makefile.am): Need to add md5.h, after changes
+       to md5 module.
+
+2006-08-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Avoid the need for AC_LIBSOURCES in m4 macros.
+       * modules/acl (EXTRA_DIST): Add acl.h.
+       * modules/argmatch (Files): Add m4/argmatch.m4.
+       (configure.ac): Add gl_ARGMATCH.
+       (EXTRA_DIST): Renamed from lib_SOURCES, for
+       consistency with the other modules.  Remove argmatch.c.
+       * modules/backupfile (EXTRA_DIST): Add backupfile.h.
+       * modules/c-strtod (EXTRA_DIST): Add c-strtod.h.
+       * modules/c-strtold (EXTRA_DIST): Add c-strtod.c, c-strtod.h.
+       * modules/canonhost (EXTRA_DIST): Add c-canonhost.h.
+       * modules/canonicalize (EXTRA_DIST): Add canonicalize.h.
+       * modules/chdir-long (EXTRA_DIST): Add chdir-long.h.
+       * modules/chdir-safer (EXTRA_DIST): Add chdir-safer.h.
+       * modules/cloexec (EXTRA_DIST): Add cloexec.h.
+       * modules/close-stream (EXTRA_DIST): Add close-stream.h.
+       * modules/closeout (EXTRA_DIST): Add closeout.h.
+       * modules/cycle-check (EXTRA_DIST): Add cycle-check.h.
+       * modules/dev-ino (EXTRA_DIST): Add dev-ino.h.
+       * modules/dirfd (EXTRA_DIST): Add dirfd.h.
+       * modules/dirname (EXTRA_DIST): Renamed from lib_SOURCES.  Add
+       dirname.h; remove basename.c and stripslash.c.
+       * modules/exclude (EXTRA_DIST): Add exclude.h.
+       * modules/exitfail (EXTRA_DIST): Add exitfail.h.
+       * modules/fcntl-safer (EXTRA_DIST): Add fcntl-safer.h fcntl--.h.
+       * modules/file-type (EXTRA_DIST): Add file-type.h.
+       * modules/filemode (EXTRA_DIST): Add filemode.h.
+       * modules/filenamecat (EXTRA_DIST): Add filenamecat.h.
+       * modules/fopen-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h.
+       * modules/fpending (EXTRA_DIST): Add __fpending.h.
+       * modules/fprintftime (EXTRA_DIST): Add fprintftime.h.
+       * modules/fsusage (EXTRA_DIST): Add fsusage.h.
+       * modules/fts (EXTRA_DIST): Add fts_.h fts-cycle.c.
+       * modules/getcwd (EXTRA_DIST): Add getcwd.h.
+       * modules/getdate (EXTRA_DIST): Add getdate.c.
+       * modules/gethrxtime (EXTRA_DIST): Add gethrxtime.h xtime.h.
+       * modules/getpagesize (EXTRA_DIST): Add getpagesize.h.
+       * modules/getpass (EXTRA_DIST): Add getpass.h.
+       * modules/glob (EXTRA_DIST): Add glob_.h glob-libc.h.
+       * modules/group-member (EXTRA_DIST): Add group-member.h.
+       * modules/hard-locale (EXTRA_DIST): Add hard-locale.h.
+       * modules/hash (EXTRA_DIST): Add hash.h.
+       * modules/human (EXTRA_DIST): Add human.h.
+       * modules/inttypes (EXTRA_DIST): Add inttypes.h.
+       * modules/lchmod (EXTRA_DIST): Add lchmod.h.
+       * modules/lchown (EXTRA_DIST): Add lchown.h.
+       * modules/long-options (EXTRA_DIST): Add long-options.h.
+       * modules/lstat (EXTRA_DIST): Add lstat.h.
+       * modules/md5 (EXTRA_DIST): Add memcasecmp.h.
+       * modules/memcoll (EXTRA_DIST): Add memcoll.h.
+       * modules/mempcpy (EXTRA_DIST): Add mempcpy.h.
+       * modules/memrchr (EXTRA_DIST): Add memrchr.h.
+       * modules/memxor (EXTRA_DIST): Add memxor.h.
+       * modules/mkancesdirs (EXTRA_DIST): Add mkancesdirs.h.
+       * modules/mkdir-p (EXTRA_DIST): Add modechange.h.
+       * modules/mountlist (EXTRA_DIST): Add mountlist.h.
+       * modules/openat (EXTRA_DIST): Add at-func.c openat.h openat-priv.h.
+       * modules/pathmax (EXTRA_DIST): Add pathmax.h.
+       * modules/physmem (EXTRA_DIST): Add physmem.h.
+       * modules/posixtm (EXTRA_DIST): Add posixtm.h.
+       * modules/posixver (EXTRA_DIST): Add posixver.h.
+       * modules/quote (EXTRA_DIST): Add quote.h.
+       * modules/quotearg (EXTRA_DIST): Add quotearg.h.
+       * modules/readtokens (EXTRA_DIST): Add readtokens.h.
+       * modules/readutmp (EXTRA_DIST): Add readutmp.h.
+       * modules/regex (EXTRA_DIST): Add regcomp.c regex.h regex_internal.c regex_internal.h regexec.c.
+       * modules/safe-read (EXTRA_DIST): Add safe-read.h.
+       * modules/safe-write (EXTRA_DIST): Add safe-write.h.
+       * modules/same (EXTRA_DIST): Add same.h.
+       * modules/same-inode (EXTRA_DIST): Add same-inode.h.
+       * modules/save-cwd (EXTRA_DIST): Add save-cwd.h.
+       * modules/savedir (EXTRA_DIST): Add savedir.h.
+       * modules/sha1 (EXTRA_DIST): Add sha1.h.
+       * modules/sig2str (EXTRA_DIST): Add sig2str.h.
+       * modules/stat-macros (EXTRA_DIST): Add stat-macros.h.
+       * modules/stat-time (EXTRA_DIST): Add stat-time.h.
+       * modules/stdlib-safer (EXTRA_DIST): Add stdlib-safer.h stdlib--.h.
+       * modules/strdup (EXTRA_DIST): Add strdup.h.
+       * modules/strftime (EXTRA_DIST): Add strftime.h.
+       * modules/strndup (EXTRA_DIST): Add strndup.h.
+       * modules/strnlen (EXTRA_DIST): Add strnlen.h.
+       * modules/strverscmp (EXTRA_DIST): Add strverscmp.h.
+       * modules/time_r (EXTRA_DIST): Add time_r.h.
+       * modules/timespec (EXTRA_DIST): Add timespec.h.
+       * modules/tmpfile-safer (EXTRA_DIST): Add stdio-safer.h stdio--.h.
+       * modules/unistd-safer (EXTRA_DIST): Add unistd-safer.h unistd--.h.
+       * modules/unlinkdir (EXTRA_DIST): Add unlinkdir.h.
+       * modules/unlocked-io (EXTRA_DIST): Add unlocked-io.h.
+       * modules/userspec (EXTRA_DIST): Add userspec.h.
+       * modules/utimecmp (EXTRA_DIST): Add utimecmp.h.
+       * modules/utimens (EXTRA_DIST): Add utimens.h.
+       * modules/xalloc (EXTRA_DIST): Add xalloc.h.
+       * modules/xgetcwd (EXTRA_DIST): Add xgetcwd.h.
+       * modules/xnanosleep (EXTRA_DIST): Add xnanosleep.h.
+       * modules/xreadlink (EXTRA_DIST): Add xreadlink.h.
+       * modules/xstrtod (EXTRA_DIST): Add xstrtod.h.
+       * modules/xstrtol (EXTRA_DIST): Add xstrtol.h.
+       * modules/xstrtold (EXTRA_DIST): Add xstrtod.c xstrtod.h.
+       * modules/yesno (EXTRA_DIST): Add yesno.h.
+
+2006-08-21  Bruno Haible <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): If the snippets already
+       specify an installation location, don't emit a noinst_[LT]LIBRARIES
+       assignment.
+
+2006-08-19  Bruno Haible  <bruno@clisp.org>
+
+       BeOS portability.
+       * modules/mbchar (Include): Don't test HAVE_WCTYPE_H any more, since
+       BeOS has mbrtowc() but no <wctype.h>.
+
+2006-08-21  Bruno Haible <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Emit a pkgdata_DATA variable only if some snippets add contents to it.
+       Reported by Martin Lambers <marlam@marlam.de>.
+
+2006-08-21  Mark D. Baushke  <mdb@gnu.org>
+            Bruno Haible <bruno@clisp.org>
+
+       * gnulib-tool (func_verify_module): Work around Sun's non-POSIX 1003.2
+       /bin/sh understanding of '!' conditional negation.
+
+2006-08-21  Jim Meyering  <jim@meyering.net>
+
+       * modules/openat (Depends-on): Really alphabetize.
+
+       * modules/acl (Depends-on): Add error and quote.
+
+       * check-module (find_included_lib_files): Add at-func.c to the
+       ok-to-include-more-than-once white list.
+
+       * modules/openat (Depends-on): Add lstat.  Alphabetize.
+
+2006-08-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Add and change modules to make it easier for coreutils to use
+       gnulib-tool.
+       * modules/backupfile (Files): Remove m4/d-ino.m4.
+       (Depends-on): Add d-ino.
+       * modules/cycle-check (Depends-on): Add stdint.
+       (lib_SOURCES): Add cycle-check.h.
+       * modules/d-ino: New module.
+       * modules/d-type: New module.
+       * modules/error (Files): Remove m4/strerror_r.m4.
+       * modules/filemode (Files): Add m4/st_dm_mode.m4.
+       * modules/fsuage (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4,
+       m4/inttypes_h.m4, m4/uintmax_t.m4.
+       (Depends-on): Add stdint.
+       (lib_SOURCES): Add fsusage.h.
+       * modules/getcwd (Files): Remove d-ino.m4.
+       (Depends-on): Add d-ino.
+       * modules/getndelim2 (Depends-on): Add stdint.
+       * modules/glob (Files): Remove m4/d-type.m4.
+       (Depends-on): Add d-type.
+       * modules/host-os: New module.
+       * modules/human (Files):  Remove m4/ulonglong.m4, m4/stdint_h.m4,
+       m4/inttypes_h.m4, m4/uintmax_t.m4.
+       * Depends-on: Add stdint.
+       (lib_SOURCES): Add human.h.
+       * modules/inttostr (Files): Remove m4/intmax_t.m4,
+       m4/inttostr.m4, m4/inttypes_h.m4, m4/longlong.m4, m4/stdint_h.m4,
+       m4/uintmax_t.m4, m4/ulonglong.m4.
+       (Depends-on): Add stdint.
+       (EXTRA_DIST): Add inttostr.h.
+       * modules/lchmod: New module.
+       * modules/link-follow: New module.
+       * modules/mkdir-p (Files): Remove lib/lchmod.h, m4/lchmod.m4.
+       (Depends-on): Add lchmod.
+       * modules/mkstemp (Files): Remove m4/ulonglong.m4,
+       m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4.
+       (Depends-on): Add stdint.
+       * modules/obstack (Files): Remove m4/inttypes_h.m4, m4/obstack.m4,
+       m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4.
+       (Depends-on): Add stdint.
+       (configure.ac): Change gl_OBSTACK to AC_FUNC_OBSTACK.
+       * modules/perl: New module.
+       * modules/regex (Depends-on): Add stdint.
+       * modules/rmdir-errno: New module.
+       * modules/strtoimax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4,
+       m4/intmax_t.m4.
+       (Depends-on): Add stdint.
+       * modules/strtoumax (Files): Remove m4/stdint_h.m4, m4/inttypes_h.m4,
+       m4/uintmax_t.m4.
+       (Depends-on): Add stdint.
+       * modules/unlink-busy: New module.
+       * modules/utimecmp (Depends-on): Add stdint.
+       * modules/uptime: New module.
+       * modules/winsz-ioctl: New module.
+       * modules/winsz-termios: New module.
+       * modules/xnanosleep (Depends-on): Add nanosleep.
+       * modules/ullong_max: Remove.
+       * modules/xstrtoimax (Files): Remove m4/xstrtoimax.m4.
+       (configure.ac): Remove gl_XSTRTOIMAX; no action needed now.
+       * modules/xstrtol (Files): Remove m4/ulonglong.m4, m4/longlong.m4,
+       m4/stdint_h.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/intmax_t.m4.
+       (Depends-on): Add inttypes.
+       (lib_SOURCES): Add xstrtol.h.
+       * modules/xstrtoumax (Files): Remove m4/xstrtoumax.m4.
+       (configure.ac): Remove gl_XSTRTOUMAX; no action needed now.
+       * MODULES.html.sh: Move 'assert' into the assert section.
+       Move 'dummy' into the linking section.
+       Remove ullong_max.
+       Add section for compatibility checks for POSIX:2001 functions,
+       and put d-ino, d-type, link-follow, rmdir-errno, unlink-busy,
+       winsz-ioctl, and winsz-termios into it.
+       Add lchmod.
+       Add top-level Misc section and put host-os, perl, and uptime
+       into it.
+
+2006-08-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/openat (Files): Add lib/fchmodat.c.
+       Fixes problem reported by Jay Youngman.
+
+2006-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/bison-i18n: New file.
+       * MODULES.html.sh (Internationalization functions): Add it.
+
+2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/cycle-check (configure.ac): Add gl_CYCLE_CHECK.
+
+2006-08-15  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tmpdir (License): Change to LGPL.
+
+2006-08-15  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_all_modules, func_verify_module): COPYING is not a
+       module.
+
+2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Change copyright notice from LGPL 2 to GPL 2, since that's the
+       standard form used in the gnulib repository.
+       * tests/test-lock.c: Likewise.
+       * tests/test-stdint.c: Likewise.
+       * tests/test-tls.c: Likewise.
+
+       * users.txt: Add bison, diffutils, libprelude, prelude-lml,
+       prelude-manager.  User shorter URLs for GNU projects, without '?'.
+       Add copyright notice.
+
+       * check-module: Add copyright notice.  Output a copyright
+       notice if "--version" is specified.
+       * modules/COPYING: New file.
+       * tests/test-getaddrinfo.c: Add copyright notice.
+       * tests/test-verify.c: Likewise.
+
+2006-08-11  Eric Blake  <ebb9@byu.net>
+
+       * users.txt: Sort.  Add tar.
+
+2006-08-11  Bruno Haible  <bruno@clisp.org>
+
+       * users.txt: New file.
+
+2006-08-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/snprintf (Depends-on): Remove minmax.
+       (Maintainer): Add self and Bruno.
+
+2006-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Detect unexpanded macros here
+       as well.
+
+2006-08-10  Eric Blake  <ebb9@byu.net>
+       and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_import): Detect unexpanded macros in gnulib
+       namespace.
+
+2006-08-10  Jim Meyering  <jim@meyering.net>
+
+       * modules/same-inode: New module.
+       * modules/dev-ino: New module.
+       * modules/cycle-check: Depend on these modules, rather than simply
+       including their .h files.
+       (Makefile.am): Don't list cycle-check.[ch] here, now that they're
+       required via m4/cycle-check.m4.
+       * modules/same: Depend on new same-inode module, rather than
+       including same-inode.h.
+       * modules/chdir-safer: New file.
+
+       * modules/chown (Depends-on): Add stat-macros.
+
+2006-08-10  Eric Blake  <ebb9@byu.net>
+
+       * modules/verror (Depends-on): Remove bogus gl_VERROR that snuck
+       in from original proposal.
+
+2006-08-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/restrict: Remove; no longer needed now that we assume
+       Autoconf 2.59 or later.
+       * MODULES.html.sh: Remove 'restrict'.
+       * modules/argp (Depends-on): Remove 'restrict'.
+       * modules/base64 (Depends-on): Likewise.
+       * modules/gc (Depends-on): Likewise.
+       * modules/getaddrinfo (Depends-on): Likewise.
+       * modules/glob (Depends-on): Likewise.
+       * modules/inet_ntop (Depends-on): Likewise.
+       * modules/inet_pton (Depends-on): Likewise.
+       * modules/memxor (Depends-on): Likewise.
+       * modules/regex (Depends-on): Likewise.
+       * modules/strtok_r (Depends-on): Likewise.
+       * modules/time_r (Depends-on): Likewise.
+
+2006-08-08  Eric Blake  <ebb9@byu.net>
+
+       * modules/verror: New module.
+       * MODULES.html.sh: Document it.
+
+2006-08-07  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Wrap the set of autoconf snippets
+       in an AC_DEFUN. Needed so that the autoconf snippets can use
+       AC_REQUIRE.
+
+2006-08-06  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Initialize pkgdata_DATA.
+       * modules/javaversion (Makefile.am): Add to pkgdata_DATA, rather than
+       overriding it.
+
+2006-08-04  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Make the mostlyclean-local rule depend on mostlyclean-generic.
+       Reported by Jim Meyering. Solution suggested by Ralf Wildenhues.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/csharpexec (configure.ac): Comment out macro invocation.
+       * modules/javaexec (configure.ac): Likewise.
+       * modules/javacomp-script (configure.ac): Likewise.
+
+       * modules/csharpcomp-script (configure.ac): Use AC_REQUIRE.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/javaversion (Makefile.am): Distribute javaversion.java and
+       javaversion.class. Also install javaversion.class in $(pkgdatadir) and
+       set PKGDATADIR to point to it.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/clean-temp (Depends-on): Add linkedhash-list, remove
+       linked-list.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/readlink (License): Change to LGPL.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Initialize MOSTLYCLEANFILES to core and *.stackdump, so that core dumps
+       get removed.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (autoconf_minversion): If a --dir option is given and
+       relevant, look for configure.ac there, not in the current directory.
+       Also use a simple search for AC_PREREQ, not "autoconf --trace".
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Document option --no-libtool.
+       Handle option --no-libtool.
+       (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Update
+       for changed semantics of $libtool variable.
+       (func_import): Likewise. If libtool is not used, show this through
+       an option --no-libtool.
+       (func_create_testdir): Update.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/setenv (Depends-on): Add unistd.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       Make it possible for gnulib-tool to work with locally modified or
+       augmented gnulib repositories.
+       * gnulib-tool (func_usage): Document --local-dir option.
+       (local_gnulib_dir): New variable.
+       Handle --local-dir option.
+       (func_lookup_file): New function.
+       (func_all_modules, func_verify_module): Look also in $local_gnulib_dir.
+       (func_get_description, func_get_filelist, func_get_description,
+       func_get_filelist, func_get_dependencies, func_get_autoconf_snippet,
+       func_get_automake_snippet, func_get_include_directive,
+       func_get_license, func_get_maintainer): Use func_lookup_file.
+       (func_import, func_create_testdir): Use func_lookup_file.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import, update): If there is no Makefile.am, look at
+       aclocal.m4, instead of bailing out.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (SORT): New variable.
+       (func_usage): Undocument --assume-autoconf option.
+       Remove --assume-autoconf option handling.
+       (autoconf_minversion): Determine from the contents of configure.ac.
+       (func_import): Remove autoconf_minversion handling.
+       Suggested by Eric Blake.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Don't create the $docbase directory if
+       there is no file to store there.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Revert most of the 2006-07-15 change.
+       Categorize the options by when they are useful.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Extend error message about missing
+       --doc-base.
+
 2006-07-28  Simon Josefsson  <jas@extundo.com>
 
        * modules/inet_ntop (Depends-on): Depend on arpa_inet.