gnulib-tool


Log

Author Commit Date CI Message
Paul Eggert b9bfe784 2015-01-01T01:38:23 version-etc: new year * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
KO Myung-Hun 9a98fdfe 2014-12-02T12:50:49 gnulib-tool: recognize x:* as an absolute path On OS/2, x:* is an absolute path, too. * gnulib-tool (func_gnulib_dir): Add ?:* case. (func_relconcat): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
Mathieu Anquetin 9565c3be 2014-09-04T08:54:49 gnulib-tool: Sync with build-aux/bootstrap options Options for downloading PO files were not in sync with their build-aux/bootstrap counterpart. This commit adopt the same behavior for these tools. Signed-off-by: Mathieu Anquetin <mathieu@anquetin.eu>
Mathieu Anquetin c83b8970 2014-09-04T08:54:48 gnulib-tool: Fallback to wget when rsync fails Current implementation only tries to rsync PO files when rsync is installed on the host. In case of error, no files are downloaded even if they are available. This leads to bootstrap problems for hosts that lie behind a restrictive firewall. This patch always tries to rsync by default, falling back to wget if an error occurs. Signed-off-by: Mathieu Anquetin <mathieu@anquetin.eu>
Sylvain Beucler 2056a330 2014-05-27T22:25:59 gnulib-tool: wget translations using --no-verbose rather than --quiet This allows the user to see error messages if any (--quiet hides them) * gnulib-tool: Invoke wget with --no-verbose, rather than --quiet.
Sylvain Beucler ad2a2c82 2014-05-27T22:21:55 gnulib-tool: adjust translation wget to avoid a https redirection Context: http://translationproject.org/latest/gnulib redirects to https://translationproject.org/latest/gnulib/ Rationale: if the user falls back to wget, she doesn't have rsync and is probably in a minimal build environment, where packages such as 'ca-certificates' are missing as well, resulting in a failed (and difficult to detect since ignored) translation initial fetch. Consequently let's avoid https if possible, and add the missing trailing slash. This also avoids an unnecessary 302 redirection. * gnulib-tool: Add trailing slash to gnulib URL.
Eric Blake 1276a2c5 2014-01-01T00:04:40 maint: update copyright I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
Jim Meyering 5c508f68 2013-10-28T16:08:16 gnulib-tool: protect against CDPATH * gnulib-tool: Many "cd" built-in functions print a directory name to stdout when CDPATH is set, e.g., $ bash -c 'CDPATH=/; cd tmp' /tmp Unset it, when possible. Prompted by a comment from Bruce Korb.
Stefano Lattarini 97ddbcfa 2013-05-10T22:13:04 deps: require Automake >= 1.9.6 in generated Makefile fragments That is the same minimal version required in the DEPENDENCIES file. Moreover, the old code generated a requirement of Automake >= 1.5, and that is an insanely outdated version. * gnulib-tool: Bump minimal version requirement in AUTOMAKE_OPTIONS. * tests/havelib/rpathlx/Makefile.am: Likewise. * tests/havelib/rpathly/Makefile.am: Likewise. * tests/havelib/rpathlyx/Makefile.am: Likewise. * tests/havelib/rpathlz/Makefile.am: Likewise. * tests/havelib/rpathlzyx/Makefile.am: Likewise. * tests/havelib/rpathx/Makefile.am: Likewise. * tests/havelib/rpathy/Makefile.am: Likewise. * tests/havelib/rpathz/Makefile.am: Likewise.
Stefano Lattarini 435f1d7a 2013-05-04T10:30:14 Assume gnulib is checked out from Git, not CVS In fact, access to the gnulib repository through CVS has been disabled, or more precisely, got broken and was never restored; see: <http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00008.html> Note that support for CVS is not removed completely and unthinkingly by this change: only support for CVS checkouts of gnulib itself is removed. For example, the 'bootstrap' script still cater to .cvsingore files and CVS directories, for the benefit of those poor gnulib clients still stuck with CVS. Ditto for the 'gnulib-tool' script itself. * gnulib-tool: Simplify accordingly. * posix-modules: Likewise. * MODULES.html.sh: Likewise. * doc/gnulib.texi: No longer mention the decommissioned CVS gnulib repository. * doc/gnulib-intro.texi: Likewise. * doc/gnulib-readme.texi: Likewise. * doc/gnulib-tool.texi: In the examples and explanations, refer to a sample '.gitignore' file rather than a sample '.cvsignore'. * NEWS: Update. * m4/extensions.m4: While at it, remove a comment mistakenly referring to "CVS Autoconf" rather than "git Autoconf". Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Acked-by: Paul Eggert <eggert@cs.ucla.edu>
Paul Eggert 8e858e6d 2013-01-05T08:03:10 gnulib-tool: fix incompatibility with autopoint 0.18.2 * gnulib-tool: Don't indent AM_GNU_GETTEXT_VERSION line. Problem reported by Tom G. Christensen in <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00053.html>.
Eric Blake 9fc81090 2013-01-01T00:50:58 maint: update all copyright year number ranges Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible 68f693ff 2012-08-26T17:04:56 gnulib-tool: Remove no-op option --no-changelog. * gnulib-tool (func_usage): Don't mention --no-changelog. (do_changelog): Remove variable. Reported by Dmitriy Selyutin <ghostman.sd@gmail.com>.
Bruno Haible 5f8b74c7 2012-08-19T14:13:11 gnulib-tool: Improve coding style. * gnulib-tool (func_emit_tests_Makefile_am): Set perhapsLT, like in func_emit_lib_Makefile_am. Reported and fix suggested by Dmitriy Selyutin <ghostman.sd@gmail.com>.
Bruno Haible ea660f56 2012-08-19T14:08:12 gnulib-tool: Fix indentation. * gnulib-tool (func_import): Fix indentation.
Bruno Haible 9bdf6c8a 2012-08-19T14:06:50 gnulib-tool: Remove old file names from .cvsignore, .gitignore. * gnulib-tool (func_update_ignorelist): Don't use 'join -v 1' command on the list of removed files.
Bruno Haible 7b6e0932 2012-08-15T01:29:28 gnulib-tool: Fix indentation of generated gnulib-comp.m4 file. * gnulib-tool (func_emit_autoconf_snippet): Initialize indentation from argument. Reported and fix suggested by Dmitriy Selyutin <ghostman.sd@gmail.com>.
Bruno Haible cc9d1f29 2012-08-13T12:49:34 gnulib-tool: Fix persistence of --witness-c-macro option. * gnulib-tool (func_import): Fix typo in emit of gl_WITNESS_C_MACRO. Reported by Dmitriy Selyutin <ghostman.sd@gmail.com>.
Bruno Haible dbd91449 2012-07-24T23:35:41 gnulib-tool: Fix handling of inctests variable. * gnulib-tool: Canonicalize $inctests also in 'update' mode. Reported by Nick Bowler <nbowler@elliptictech.com>.
Bruno Haible b283b5d5 2012-06-21T22:45:22 gnulib-tool: Refactor inctests variable. * gnulib-tool: Normalize inctests to 'true' or 'false', not ''. (func_modules_transitive_closure, func_modules_transitive_closure_separately, func_import, func_create_testdir): Update.
Bruno Haible 979fe3bb 2012-06-21T22:25:13 gnulib-tool: --create-[mega]testdir, --[mega]test implies --with-tests. * gnulib-tool: Accept option --without-tests. (func_usage): Document --without-tests option. Rearrange. (inctests): Normalize according to the mode. * NEWS: Mention the change. Suggested by Simon Josefsson.
Bernd Jendrissek c6599399 2012-06-21T01:04:28 Do use readlink if available The main effect of this patch is to make gnulib-tool not spam the terminal with failures from ls. Despite the copious stderr output, files still get linked correctly. gnulib-tool: Use readlink if it is available. * gnulib-tool (func_readlink): Choose function more appropriately. Running under dash, type -p readlink fails because dash doesn't understand -p. That causes gnulib-tool to fall back to ls to read symlinks, despite readlink being available. That, in turn, spams the terminal when func_ln_if_changed's DEST argument doesn't exist. The output from type goes to /dev/null anyway, so asking for -p has no purpose.
Bruno Haible 3a0f424e 2012-05-01T18:02:03 gnulib-tool: Remove transitional code. * gnulib-tool: Don't warn about --import with 0 arguments any more. Reported by Dmitriy Selyutin <ghostman.sd@gmail.com>.
Bruno Haible 40ab1487 2012-04-29T23:45:26 gnulib-tool: Fix list of authors. * gnulib-tool (func_version): Add Paul Eggert to list of authors.
Bruno Haible 1f28fa66 2012-03-24T16:41:21 gnulib-tool: Avoid unintended error output from 'cmp'. * gnulib-tool (func_add_file, func_update_file, func_import): Use "cmp -s", not "cmp > /dev/null".
Stefano Lattarini 334853ee 2012-03-13T10:51:08 gnulib-tool: fix imprecise comments w.r.t. an automake bug It's not just Automake versions < 1.9b that creates an empty pkgdatadir at installation time if pkgdata_DATA is specified to empty; modern automake versions do this as well, at least until automake 1.11.4 (not yet released at the moment of writing, but soon to appear). That behaviour was generally considered a feature rather than a bug, at least until this discussion: <http://lists.gnu.org/archive/html/automake/2012-03/msg00014.html> See also automake bugs #10997 and #11030. * gnulib-tool (func_emit_lib_Makefile_am): Adjust comments. Add reference to relevant automake bug numbers. (func_emit_tests_Makefile_am): Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Bruno Haible 74a0def2 2012-02-19T14:37:26 gnulib-tool: Improve usage message. * gnulib-tool (func_usage): Move doc of --help and --version to the section "Operation modes". * gnulib-tool (func_usage): Document --help and --version.
Simon Josefsson 0fe818e1 2012-02-13T15:44:41 gnulib-tool: Doc fix. * gnulib-tool (Usage): Document --help and --version.
Paul Eggert a4d796fb 2012-02-05T13:42:03 maint: spelling fixes
Bruno Haible 453d5a43 2012-01-10T20:53:57 doc: Mention --with-tests option. * gnulib-tool (func_usage): Suggest --with-tests for --test etc. * doc/gnulib.texi (Extra tests modules): Mention the need to pass --with-tests. Reported by Reuben Thomas.
Jim Meyering 1602f0af 2012-01-01T10:04:58 maint: update all copyright year number ranges Run "make update-copyright".
Bruno Haible c7ceb8a4 2011-12-03T16:19:56 gnulib-tool: Verify that the License field is present and non-empty. * gnulib-tool (func_get_license_raw): New function, extracted from func_get_license. (func_get_license): Use it. Warn if the module is not a test module and has no license. Suggested by Jim Meyering.
Bruno Haible 48bf98f3 2011-11-26T21:08:25 Fix conflict between two instantiations of module 'unistd'. * gnulib-tool (func_emit_autoconf_snippet): Substitute ${include_guard_prefix} also in the autoconf snippet. * m4/getopt.m4 (gl_FUNC_GETOPT_POSIX): Don't set GNULIB_UNISTD_H_GETOPT. * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Don't initialize GNULIB_UNISTD_H_GETOPT. * modules/getopt-posix (configure.ac): Set the GNULIB_${gl_include_guard_prefix}_UNISTD_H_GETOPT variable. * modules/getopt-gnu (configure.ac): Likewise. * modules/unistd (Makefile.am): Change the substitution value of GNULIB_UNISTD_H_GETOPT to depend on the include guard prefix. Reported by Simon Josefsson.
Bruno Haible 3dd7efea 2011-10-08T10:20:58 gnulib-tool: Improve last commit. * gnulib-tool (func_modules_transitive_closure): Simplify code. (func_emit_autoconf_snippets): Instead of invoking func_acceptable, ignore dependencies that are not among the modules list.
Paul Eggert 4f11d6be 2011-10-07T13:59:10 gnulib-tool: don't follow dependencies to avoided modules This fixes a bug that is related to the previous one. * gnulib-tool (func_modules_transitive_closure) (func_emit_autoconf_snippets): Check whether a dependency is acceptable before using it. (--extract-dependencies): Report an error if --avoid is also used, since this combination of options is not yet supported.
Paul Eggert 2d67b863 2011-10-07T13:04:52 gnulib-tool: fix typo that broke Emacs on powerpc-apple-darwin9.8.0. Problem reported by Peter Dyballa in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9696>. * gnulib-tool (func_emit_autoconf_snippets): Quote with "", not '', when echoing "$condition".
Bruno Haible a34348c3 2011-09-30T12:10:27 gnulib-tool: Improve suggestion where to put gl_EARLY invocation. * gnulib-tool (func_import): If the configure.ac has an AC_PROG_CC_STDC invocation, say "right after AC_PROG_CC_STDC", not "right after AC_PROG_CC". Reported by Gary V. Vaughan <gary@gnu.org>.
Paul Eggert c65d51cc 2011-09-26T12:58:27 gnulib: use more-standard license notice wording * gnulib-tool (func_emit_copyright_notice): When emitting a license notice into a file, use the standard wording as suggested by the current information for GNU maintainers, except say "file" rather than "program". The new wording gives a license version number, which addresses an issue raised by Glenn Morris in <http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>. * m4/onceonly.m4: Use that same wording here, too.
Bruno Haible 2b148694 2011-07-31T16:44:55 Add support for Minix with ACK compiler. * m4/gnulib-common.m4 (gl_PROG_AR_RANLIB): New macro. * gnulib-tool (func_import, func_create_testdir): Emit invocation of gl_PROG_AR_RANLIB instead of AC_PROG_RANLIB.
Bruno Haible 7c102f16 2011-06-13T17:44:26 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.
Bruno Haible 6c6ac367 2011-06-13T12:29:46 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.
Bruno Haible 284602e2 2011-06-08T13:23:56 gnulib-tool: Better isolation between different gnulib-tool invocations. * gnulib-tool: New option --witness-c-macro. (witness_c_macro): New variable. (func_emit_lib_Makefile_am): If --witness-c-macro was specified, let AM_CPPFLAGS define it as a C macro. (func_emit_tests_Makefile_am): Likewise. (func_import): Store witness_c_macro setting in gnulib-cache.m4 and read it from there. * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_CONDITION): Define through m4_define, not AC_DEFUN. (gl_MODULE_INDICATOR_SET_VARIABLE_AUX, gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR): New macros. (gl_MODULE_INDICATOR_SET_VARIABLE): Use them. * modules/arpa_inet (Makefile.am): Use sed expression s/.../.../, not s|...|...|, to substitute the values of the GNULIB_* module indicator variables. * modules/dirent (Makefile.am): Likewise. * modules/fcntl-h (Makefile.am): Likewise. * modules/iconv-h (Makefile.am): Likewise. * modules/langinfo (Makefile.am): Likewise. * modules/locale (Makefile.am): Likewise. * modules/math (Makefile.am): Likewise. * modules/netdb (Makefile.am): Likewise. * modules/poll-h (Makefile.am): Likewise. * modules/pty (Makefile.am): Likewise. * modules/search (Makefile.am): Likewise. * modules/signal (Makefile.am): Likewise. * modules/spawn (Makefile.am): Likewise. * modules/stdio (Makefile.am): Likewise. * modules/stdlib (Makefile.am): Likewise. * modules/string (Makefile.am): Likewise. * modules/sys_ioctl (Makefile.am): Likewise. * modules/sys_select (Makefile.am): Likewise. * modules/sys_socket (Makefile.am): Likewise. * modules/sys_stat (Makefile.am): Likewise. * modules/sys_times (Makefile.am): Likewise. * modules/sys_utsname (Makefile.am): Likewise. * modules/sys_wait (Makefile.am): Likewise. * modules/termios (Makefile.am): Likewise. * modules/time (Makefile.am): Likewise. * modules/unistd (Makefile.am): Likewise. * modules/wchar (Makefile.am): Likewise.
Bruno Haible 7c2e03e7 2011-05-29T16:02:32 gnulib-tool: Fix bug in yesterday's commit. * gnulib-tool (func_create_testdir): Don't add gltests to $subdirs twice.
Bruno Haible 0ab583c0 2011-05-29T15:44:42 Allow multiple gnulib generated include files to be combined. * gnulib-tool (func_compute_include_guard_prefix): New function. (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Resolve also ${gl_include_guard_prefix} references. (func_import, func_create_testdir): Invoke func_compute_include_guard_prefix. * lib/arpa_inet.in.h: Use the @GUARD_PREFIX@ placeholder. * lib/ctype.in.h: Likewise. * lib/dirent.in.h: Likewise. * lib/errno.in.h: Likewise. * lib/fcntl.in.h: Likewise. * lib/float.in.h: Likewise. * lib/getopt.in.h: Likewise. * lib/iconv.in.h: Likewise. * lib/langinfo.in.h: Likewise. * lib/locale.in.h: Likewise. * lib/math.in.h: Likewise. * lib/netdb.in.h: Likewise. * lib/netinet_in.in.h: Likewise. * lib/poll.in.h: Likewise. * lib/pthread.in.h: Likewise. * lib/pty.in.h: Likewise. * lib/sched.in.h: Likewise. * lib/se-selinux.in.h: Likewise. * lib/search.in.h: Likewise. * lib/signal.in.h: Likewise. * lib/spawn.in.h: Likewise. * lib/stdarg.in.h: Likewise. * lib/stddef.in.h: Likewise. * lib/stdint.in.h: Likewise. * lib/stdio.in.h: Likewise. * lib/stdlib.in.h: Likewise. * lib/string.in.h: Likewise. * lib/strings.in.h: Likewise. * lib/sys_file.in.h: Likewise. * lib/sys_ioctl.in.h: Likewise. * lib/sys_select.in.h: Likewise. * lib/sys_socket.in.h: Likewise. * lib/sys_stat.in.h: Likewise. * lib/sys_time.in.h: Likewise. * lib/sys_times.in.h: Likewise. * lib/sys_uio.in.h: Likewise. * lib/sys_utsname.in.h: Likewise. * lib/sys_wait.in.h: Likewise. * lib/sysexits.in.h: Likewise. * lib/termios.in.h: Likewise. * lib/time.in.h: Likewise. * lib/unistd.in.h: Likewise. * lib/wchar.in.h: Likewise. * lib/wctype.in.h: Likewise. * modules/arpa_inet (Makefile.am): Substitute @GUARD_PREFIX@. * modules/ctype (Makefile.am): Likewise. * modules/dirent (Makefile.am): Likewise. * modules/errno (Makefile.am): Likewise. * modules/fcntl-h (Makefile.am): Likewise. * modules/float (Makefile.am): Likewise. * modules/getopt-posix (Makefile.am): Likewise. * modules/iconv-h (Makefile.am): Likewise. * modules/langinfo (Makefile.am): Likewise. * modules/locale (Makefile.am): Likewise. * modules/math (Makefile.am): Likewise. * modules/netdb (Makefile.am): Likewise. * modules/netinet_in (Makefile.am): Likewise. * modules/poll-h (Makefile.am): Likewise. * modules/pthread (Makefile.am): Likewise. * modules/pty (Makefile.am): Likewise. * modules/sched (Makefile.am): Likewise. * modules/search (Makefile.am): Likewise. * modules/selinux-h (Makefile.am): Likewise. * modules/signal (Makefile.am): Likewise. * modules/spawn (Makefile.am): Likewise. * modules/stdarg (Makefile.am): Likewise. * modules/stddef (Makefile.am): Likewise. * modules/stdint (Makefile.am): Likewise. * modules/stdio (Makefile.am): Likewise. * modules/stdlib (Makefile.am): Likewise. * modules/string (Makefile.am): Likewise. * modules/strings (Makefile.am): Likewise. * modules/sys_file (Makefile.am): Likewise. * modules/sys_ioctl (Makefile.am): Likewise. * modules/sys_select (Makefile.am): Likewise. * modules/sys_socket (Makefile.am): Likewise. * modules/sys_stat (Makefile.am): Likewise. * modules/sys_time (Makefile.am): Likewise. * modules/sys_times (Makefile.am): Likewise. * modules/sys_uio (Makefile.am): Likewise. * modules/sys_utsname (Makefile.am): Likewise. * modules/sys_wait (Makefile.am): Likewise. * modules/sysexits (Makefile.am): Likewise. * modules/termios (Makefile.am): Likewise. * modules/time (Makefile.am): Likewise. * modules/unistd (Makefile.am): Likewise. * modules/wchar (Makefile.am): Likewise. * modules/wctype-h (Makefile.am): Likewise. * modules/assert-h (Makefile.am): Replace _GL_VERIFY_H specially.
Bruno Haible 41395c18 2011-05-29T01:24:28 gnulib-tool: Alternative structure of testdirs, similar to --import. * gnulib-tool: New option --single-configure. (func_usage): Document it. (single_configure): New variable. (func_modules_transitive_closure_separately, func_modules_transitive_closure_separately, func_determine_use_libtests, func_modules_add_dummy_separately, func_modules_to_filelist_separately): New functions, extracted from func_import. (func_emit_tests_Makefile_am): Handle $single_configure = true case. (func_import): Use the new functions. (func_create_testdir): Set final_modules. Handle $single_configure = true case.
Bruno Haible 0e5f0663 2011-05-28T17:08:17 Finish the conditional dependencies mechanism. * gnulib-tool: New option --no-conditional-dependencies. (func_usage): Document it. Don't mark --conditional-dependencies as experimental. (cond_dependencies): The possible values can now be true, false, empty. (func_modules_transitive_closure, func_emit_autoconf_snippets): Update. (func_import): Store setting in gnulib-cache.m4 and read it from there. * doc/gnulib-tool.texi (Conditional dependencies): New section.
Paul Eggert ddd54c75 2011-05-23T15:02:43 gnulib-tool: fix portability problem with MacOS sed A sed command like "/x/{s/a/b/}" is not portable; a newline is needed before the "}". Problem reported by Leo in <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00717.html>. * gnulib-tool (sed_dependencies_without_conditions):
Bruno Haible 99659bac 2011-05-03T23:32:50 Support for conditional dependencies. * doc/gnulib.texi (Module description): Document the syntax of conditional dependencies. * gnulib-tool: New option --conditional-dependencies. (func_usage): Document it. (cond_dependencies): New variable. (func_get_automake_snippet_conditional, func_get_automake_snippet_unconditional): New functions, extracted from func_get_automake_snippet. (func_get_automake_snippet): Use them. (sed_first_32_chars): New variable. (func_module_shellfunc_name): New function. (func_module_shellvar_name): New function. (func_module_conditional_name): New function. (func_uncond_add_module, func_conddep_add_module, func_cond_module_p, func_cond_module_condition): New functions. (func_modules_transitive_closure): Add support for conditional dependencies. (func_emit_lib_Makefile_am): For a conditional module, enclose the conditional automake snippet in an automake conditional. (func_emit_autoconf_snippets): Emit shell functions that contain the code for conditional modules. (func_import, func_create_testdir): Update specification.
Bruno Haible 58f19434 2011-05-02T13:44:41 gnulib-tool: Refactor. * gnulib-tool (func_emit_autoconf_snippet): New function, extracted from func_emit_autoconf_snippets. (func_emit_autoconf_snippets): Use it.
Bruno Haible 7ec62f74 2011-05-01T15:43:46 gnulib-tool: Reduce code duplication. * gnulib-tool (func_emit_autoconf_snippets): New function. (func_import, func_create_testdir): Use it.
J.T. Conklin 6fbe9796 2011-04-27T08:23:53 Change gnulib-tool to support NetBSD's join For backwards compatibility, the 4.4BSD join used by NetBSD supports a "-a" option as if it was "-a 1 -a 2". Unfortunately, this was done in such a way that "-a 1" and "-a 2" need to be passed as "-a1" or "-a2".
Stefano Lattarini 29a425f1 2011-02-24T12:54:52 gnulib-tool: remove use of bold display in help screen * gnulib-tool (func_usage): Do not use bold display anymore in the help screen. That was just meant to be a temporary emphasis for a backward-incompatible change.
Bruno Haible f9289f00 2011-02-09T20:55:19 gnulib-tool: Make copyright notice adjustment more robust. * gnulib-tool (func_import): In sed_transform_main_lib_file, sed_transform_build_aux_file, sed_transform_testsrelated_lib_file, allow a line break to occur after "GNU" in "GNU [Lesser] General Public License". Reported by Glenn Morris <rgm@gnu.org> via Paul Eggert.
Bruce Korb 4013d14c 2011-02-06T21:11:40 libposix: Revert the unreviewed part of yesterday's big merge. Back out yesterday's big merge from the libposix branch, except for the openat-die.c change that was reviewed and approved by Paul Eggert. Put the ChangeLog entry at the top, to reflect the order of changes in the master branch.
Bruce Korb abac9b73 2011-02-05T08:22:48 libposix: Add _HEADERS primaries to posix modules. Modify gnulib-tool to strip them from generated Makefile.am-s where they are not needed. Also, replace M4 macro prefixes when requested. Finally, omit calls to error() for libposix.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Eric Blake 2bb63bfb 2010-10-05T11:40:11 parse-datetime: better name than get_date * NEWS: Reword the deprecation notice. * modules/get_date: Rename to modules/parse-datetime. * modules/get_date-tests: Rename to modules/parse-datetime-tests. * m4/get_date.m4: Rename to m4/parse-datetime.m4. * lib/get_date.y: Rename to lib/parse-datetime.y. * tests/test-get_date.c: Rename to tests/test-parse-datetime.c. * doc/get_date.texi: Rename to doc/parse-datetime.texi. * doc/getdate.texi: Provide fallback wrapper. * lib/getdate.h: Move guts, and wrap... * lib/parse-datetime.h: ...new file. * lib/parse-datetime.y (get_date): Rename... (parse_datetime): ...to this. * m4/parse-datetime.m4 (gl_GET_DATE): Rename... (gl_PARSE_DATETIME): ...to this. * doc/posix-functions/getdate.texi (get_date): Provide fallback documentation. * modules/getdate (Files): Provide fallback docs and header. (Notice, Depends-on): Update references. * tests/test-parse-datetime.c: Likewise. * DEPENDENCIES: Likewise. * MODULES.html.sh (Date and time <time.h>): Likewise. * doc/parse-datetime.texi (Date input formats) (Authors of parse_datetime): Likewise. * modules/parse-datetime (Files, configure.ac, Makefile.am) (Include): Likewise. * modules/parse-datetime-tests (Files, Makefile.am): Likewise. * gnulib-tool: Likewise. * m4/bison.m4 (gl_BISON): Likewise. Suggested by Bruno Haible. Signed-off-by: Eric Blake <eblake@redhat.com>
Paul Eggert 03e00599 2010-10-05T09:29:28 more ports to Solaris tr, which needs [] around ranges * gnulib-tool: Solaris tr needs [] around ranges. * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise. * tests/test-pipe-filter-gi1.c (main): Likewise. * tests/test-pipe-filter-ii1.c (main): Likewise.
Bruno Haible d51f0698 2010-10-05T02:30:24 gnulib-tool: Synthesize appropriate _LDFLAGS for a libtool library. * gnulib-tool (func_emit_lib_Makefile_am): When preparing for a libtool library, put '-no-undefined' and the link dependencies into _LDFLAGS. Reported by Bruce Korb and Eric Blake.
Bruno Haible cdd44441 2010-10-04T02:23:23 gnulib-tool: Fixes for --create-testdir with --libtool. * gnulib-tool (func_get_automake_snippet): Don't augment EXTRA_lib_SOURCES for the pt_chown module, since pt_chown.o goes into an executable. (func_create_testdir): Handle module 'alloca' like func_import. Reported by Bruce Korb <bruce.korb@gmail.com>.
Bruno Haible 045e6018 2010-10-02T16:00:39 gnulib-tool: In testdirs, use the newest available config.{guess.sub}. * gnulib-tool (func_create_testdir): Use config.guess and config.sub from gnulib, not from Automake.
Bruno Haible a88d2561 2010-09-30T23:29:13 More renaming from 'getdate' to 'get_date'. * doc/get_date.texi: Renamed from doc/getdate.texi. * modules/get_date (Files): Update. * MODULES.html.sh (Date and time <time.h>): Update. * DEPENDENCIES: Update. * gnulib-tool: Update comment. * m4/bison.m4 (gl_BISON): Likewise. * m4/get_date.m4 (gl_GET_DATE): Likewise.
Bruno Haible 92074aac 2010-09-20T02:09:25 gnulib-tool: Fix --help output. * gnulib-tool (func_usage): Fix help message. Reported by Reuben Thomas <rrt@sc3d.org>.
Eric Blake 412cf3c3 2010-09-09T17:06:15 gnulib-tool: work with NetBSD /bin/sh * gnulib-tool (func_cache_var, func_cache_lookup_module) (func_get_description, func_get_comment, func_get_status) (func_get_notice, func_get_applicability, func_get_filelist) (func_get_dependencies, func_get_autoconf_early_snippet) (func_get_autoconf_snippet, func_get_automake_snippet) (func_get_include_directive, func_get_link_directive) (func_get_license, func_get_maintainer, func_import): Avoid shell syntax errors from parsing syntax extensions. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible 779b5db5 2010-09-09T11:39:51 gnulib-tool: Avoid stderr output on IRIX related to 'alias', 'unalias'. * gnulib-tool: Don't fiddle with file descriptors 0, 1, 2. Instead, use a reliable way to determine whether the 'alias' command works.
Bruno Haible fb5456fe 2010-09-08T10:44:26 gnulib-tool: Avoid stderr output on IRIX related to 'alias', 'unalias'. * gnulib-tool: Use stderr redirection around the 'alias' and 'unalias' commands, because some shells ignore redirections when there is an error in the command lookup. Reported by Eric Blake.
Bruno Haible 2ec27500 2010-09-05T11:28:47 gnulib-tool: Highlight the changed options. * gnulib-tool (func_usage): Display the --import, --add-import, --remove-import explanations in bold font.
Bruno Haible 7d583f0f 2010-09-04T20:29:56 gnulib-tool: Help migration from --import to --add-import or --update. * gnulib-tool: Emit a verbose error message when --import is used without any module name.
Bruno Haible 9577606b 2010-09-04T18:39:03 gnulib-tool: Change --import. New options --add/remove-import. * gnulib-tool: New options --add-import, --remove-import. (func_usage): Document them. (have_associative): Define always. (func_import): In import mode, don't merge the specified settings with the cached settings. Implement remove-import mode. * doc/gnulib-tool.texi (Modified imports): Mention the new options. Explain when to use them versus --import. (Simple update): Use --add-import instead of --import. * NEWS: Mention the change.
Bruno Haible b1fc9246 2010-09-04T15:07:47 gnulib-tool: Don't talk about CVS any more. * gnulib-tool (func_usage, func_import): Write "version control" instead of CVS.
Bruno Haible 6bff9bfe 2010-09-04T17:47:30 gnulib-tool: Fix expression that counts directories.
Bruno Haible a3620d8f 2010-09-04T17:38:58 gnulib-tool: Avoid error when run in a package without Makefile.am. * gnulib-tool: When collecting the m4dirs in a package that does not have a Makefile.am, eliminate those directories that contain no gnulib-cache.m4.
Stefano Lattarini 60b4ba66 2010-09-04T11:01:27 Set PATH_SEPARATOR the same way autoconf does. * gnulib-tool (func_gnulib_dir): Determine the value of PATH_SEPARATOR the same way autoconf-generated configure scripts do. * posix-modules: Likewise.
Ralf Wildenhues 6333e133 2010-08-21T07:21:47 Fix gnulib-tool sed script de-commentation for AIX sed. * gnulib-tool (sed_comments): Try indented comments, for AIX 5.3 sed. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Bruno Haible 52cdcbe3 2010-06-13T15:57:16 gnulib-tool: Display specified modules and dependencies differently.
Bruno Haible 29786d01 2010-06-13T14:45:56 gnulib-tool: Align code of func_import and func_create_testdir.
Bruno Haible b426171e 2010-05-02T14:49:23 Fix regression from 2010-04-25.
Bruno Haible f62e9d92 2010-04-25T18:26:49 gnulib-tool: Don't include hairy tests of dependencies in testdirs.
Bruno Haible 694d5e4a 2010-04-25T13:35:31 gnulib-tool: Add --without-*-tests options.
Eric Blake ce601eb9 2010-04-12T17:03:08 gnulib-tool: silence warning on BSD sh FreeBSD /bin/sh issues warnings about commands not found prior to redirecting stderr. * gnulib-tool: Avoid leaking warning about unknown 'declare'. Signed-off-by: Eric Blake <eblake@redhat.com>
Bruno Haible c4816327 2010-04-11T19:21:20 Stricter declaration checking in testdirs.
Bruno Haible 655a3ee5 2010-04-02T20:04:45 gnulib-tool: Ensure that long-running tests are executed last.
Bruno Haible bfc345cf 2010-04-02T19:44:45 gnulib-tool: Ensure the tests in the main directory are executed first.
Bruno Haible 078dac83 2010-04-02T17:09:37 gnulib-tool: Create distributed built sources also for the tests.
Bruno Haible 5f20e745 2010-04-02T16:57:08 gnulib-tool: Obey user's environment variables.
Bruno Haible 91d3c57d 2010-04-02T16:51:12 gnulib-tool: Provide the value of --m4-base to modules.
Bruno Haible e936a81c 2010-03-29T04:21:23 Fix definition of tests witness macro.
Bruno Haible f082e5ae 2010-03-29T03:04:51 Fix definition of tests witness macro.
Bruno Haible 1d19f103 2010-03-28T18:32:36 gnulib-tool: Allow 'foo-tests' module even if there is no module 'foo'.
Bruno Haible 3a2d3d54 2010-03-28T18:01:18 gnulib-tool: Add support for special categories of tests.
Bruno Haible d2308903 2010-03-27T20:52:28 New module description field 'Comment'.
Bruno Haible acaad542 2010-03-27T20:45:57 Addendum to 2010-02-07 commit.
Bruno Haible 33645589 2010-03-27T18:54:30 Avoid side effects from tests-related modules on the compilation of lib.
Bruno Haible feab34ca 2010-03-13T16:11:03 Clarify which options are available for --create-testdir.
Simon Josefsson a6e4beb0 2010-03-12T14:44:11 gnulib-tool (func_import): Explain origin of code.
Bruno Haible 20ada92e 2010-03-12T13:03:12 Fix problem with automake's definition of CXXLINK.
Simon Josefsson e961f4c0 2010-03-09T08:13:02 gnulib-tool (LIBTOOLPATH): Fix cut'n'paste bug.
Bruno Haible 5e296ad2 2010-03-09T00:09:41 gnulib-tool: Add support for --libtool in --create-testdir.
Bruno Haible 94a90dcd 2010-03-07T22:11:21 Exclude lib-ignore module.
Bruno Haible 37539839 2010-03-07T14:27:02 Fix incorrect Makefile.am generation in German locale.