This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Libtool".
The branch, gary/reredo-test-operand-order has been created at d2dcd0094901ca961a4690647d17f887eb26208f (commit) - Log ----------------------------------------------------------------- commit d2dcd0094901ca961a4690647d17f887eb26208f Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 20:51:13 2012 +0700 tests: simplify some shell code. * tests/fail.at: Simplify. * tests/static.at: Likewise. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit aab804836706faa5538b56f5b4bfe5af6f2b048b Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 20:44:54 2012 +0700 libtool: unroll complex nested compound statements * build-aux/ltmain.m4sh: Use an if statement instead of ugified compound statements. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit a252d59d913c9635845721575695f78ca492757e Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 19:39:35 2012 +0700 libtool: unroll nested if into a single case statement. * build-aux/ltmain.m4sh (func_mode_link): Unroll a hard to understad nested if statement into a more readable single case statement. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit c0228e02d1ccced003b64c2c6efe13fc7cd793b5 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 19:31:49 2012 +0700 libtool: simplify $skipped_export blocks * build-aux/ltmain.m4sh (func_mode_link): Save an if statement with '$skipped_export && { block; }' instead of 'if $skipped_export; then block; fi'. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 2e7ba6d709a77471f5929cd8d347a86cc1fedd2d Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 19:28:54 2012 +0700 libtool: simplify an if statement * build-aux/ltmain.m4sh (func_mode_link): Reverse the branch order for an if statement for readability. * m4/libtool.m4: Likewise. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 9053a05940aa5f697a86b423916365bd0c2cc523 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 19:25:17 2012 +0700 libtool: save an if statement, with a compound statement. * build-aux/ltmain.m4sh (func_mode_link): Simplify. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 59ec249278b51de01288d13fee3ede6f3b3b6ab4 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 19:09:51 2012 +0700 libtool: simplify multiple string tests * build-aux/ltmain.m4sh (func_mode_link): Save test invocations by using 'test x,y = "$a,$b"' instead of 'test x = "$a" && test y = "$b"'. * m4/libtool.m4: Likewise. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 8f0ee8aeeb474f717b073d18febe49351fa05f18 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:52:40 2012 +0700 libtool: fold if into a compound OR statement when more readable * build-aux/ltmain.m4sh (func_mode_link): For readability, use 'test string = "$var" || { stuff; }' in preference to 'if test string != "$var"; then stuff; fi'. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 9a4cac834246b57f8a7c4883be4ad40345521b89 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $rmforce, and simplify * build-aux/ltmain.m4sh (func_mode_uninstall): Save a string comparison by setting $rmforce to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 0d3ae556976d27c6998f31f1a99df91bcd5907af Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $wrappers_required, and simplify * build-aux/ltmain.m4sh (func_mode_link): Save a string comparison by setting $wrappers_required to false or : and using it directly with a ored block rather than an if statement. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit d61e83993b58b935b1700dee1fa802990e76d397 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $linkalldeplibs, and simplify * build-aux/ltmain.m4sh (func_mode_link): Save a string comparison by setting $linkalldeplibs to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 3b802dd319883400f031f64f5e81fe34902d25d8 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $valid_a_lib, and simplify * build-aux/ltmain.m4sh (func_mode_link): Save a string comparison by setting $valid_a_lib to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit de7482d17c1f9f731cbba3ec347903884acf2c65 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $found, and simplify * build-aux/ltmain.m4sh (func_mode_link): Save a string comparison by setting $found to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 934c0382de2f0e5bec53028281e2da6095d50872 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $alldeplibs, and simplify * build-aux/ltmain.m4sh (func_mode_link): Save a string comparison by setting $alldeplibs to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit fd1151fe85235b89ed0023c2d894dd117efaa03c Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $preload, and simplify * build-aux/ltmain.m4sh (func_mode_link): Save a string comparison by setting $preload to false or : and using it directly instead of if statements. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 4e05284e5143fb8d8c19b9e0e50830f90132d7fe Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $my_pic_p, and simplify * build-aux/ltmain.m4sh (func_generate_dlsyms): Save a string comparison by setting $my_pic_p to false or : and using it directly instead of calling if. Adjust all callers. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 7ce429c52729130b360206c61396ffe2f5467134 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $finalize, and simplify * build-aux/ltmain.m4sh (func_mode_install): Save a string comparison by setting $finalize to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 7510fd8bedafad915a10bb7a50e9bd45c9a34f8e Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 18:08:29 2012 +0700 libtool: use false or : for $isdir, and simplify * build-aux/ltmain.m4sh (func_mode_install): Save a string comparison by setting $isdir to false or : and using it directly as the first argument to if. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 4440d6523bf9c668720f9ffa66fb89e91912a504 Author: Peter Rosin <p...@lysator.liu.se> Date: Wed Sep 19 11:53:02 2012 +0200 tests: skip with-pic test when no "real" pic flag is used. * tests/with-pic.at: Windows uses "-DDLL_EXPORT -DPIC" as the pic "flag", but never applies it to static libraries. Cater for this and skip if no "real" pic flag is in use. Signed-off-by: Peter Rosin <p...@lysator.liu.se> commit 0fc275469ef020177d8dff2c041456f6b6155537 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 17:43:05 2012 +0700 syntax-check: fix texinfo formatting flagged by prohibit_undesirable_word_seq. * doc/libtool.text: Fix several misuses of @xref and @pxref so that the prohibit_undesirable_word_seq syntax check passes again. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 692bc68dc9a580647a164d6338ca7e13cb593966 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 17:47:04 2012 +0700 syntax-check: remove useless_braces_in_variable_derefs. * build-aux/general.m4sh: Remove spurious braces around ${ZSH_VERSION} dereference. * build-aux/ltmain.m4sh (func_mode_link): Likewise for ${wl}. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 6cb0d0d771bc1e3be402929b900000ca7a8a16d4 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 17:23:49 2012 +0700 syntax-check: skip prohibit_strncpy. * cfg.mk (local-checks-to-skip): sc_prohibit_strncpy. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit d50e123595d80b5582d0663ad50e3454051c482d Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 17:02:22 2012 +0700 syntax-check: skip prohibit_always_true_header_tests rule. * cfg.mk (local-checks-to-skip): Add sc_prohibit_always_true_header_tests. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit e0f66dc54d2f7906a2513c68d76362be4bcbbef3 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 14:35:55 2012 +0700 Revert "bootstrap: delete unneeded README-release patch" This reverts commit 11cd425e7d47111956381dba28f8c1b34e14653f. These instructions are hard to find for new maintainers, so it's good to keep them to hand with the release notes. And the additional distchecks are important prior to a release. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit ae68608314993e81836257ac1eec449256decd53 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 13:17:46 2012 +0700 maint: remove unused cvsu script. * build-aux/cvsu: Remove. This script is not useful now that Libtool's repository is hosted in git. * Makefile.am (build_scripts): Remove cvsu reference. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit d576fa9da144f2e9ab14337c9590d4abfdea985f Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 13:10:09 2012 +0700 maint: run update-copyright for missing 2011 and 2012 years. See maintain.texi (Copyright Notices) for rules for maintaining the years in copyright notices. * All Files (Copyright): Updated with missing 2011 and 2012. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 3cbc0e26f0a7f0bbea559912c3da920b4ead8e5e Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 13:04:23 2012 +0700 bootstrap: use gnulib update-copyright script. See maintain.texi (Copyright Notices) for rules for maintaining the years in copyright notices. * bootstrap.conf (gnulib_modules): Add update-copyright. * cfg.mk (update-copyright-env): Set environment variables for update-copyright script. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 83d52fd6d2039c048f731133bec0ae8a1bf9382d Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 11:47:22 2012 +0700 bootstrap: update bootstrap script to latest upstream. * bootstrap, build-aux/options-parser: apply upstream fixes and enhancements. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 1e70622d7c127b4dd90b3a5b0650d323ec2305fc Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 11:45:04 2012 +0700 git: don't complain about new parallel tests driver and file droppings. * build-aux/.gitignore: Ignore parallel `test-driver' script. * tests/.gitignore: Ignore `test-driver' .trs file droppings. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 1fcb9bc4e4b7b7166a6f45da633f813faee6e00f Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 11:40:16 2012 +0700 gnulib: update local gnulib patches. * gl/build-aux/announce-gen.diff: Remove hunks adopted upstream. * gl/build-aux/do-release-commit-and-tag.diff: Refresh this patch to match current gnulib. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit bf6aa3082089d12bf4500b469c096263823a75b4 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 11:38:50 2012 +0700 gnulib: update gnulib submodule. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 43acd6749a29f079452cfb70b6c6e1c8f1469128 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Sep 16 11:34:19 2012 +0700 bootstrap: ensure there is a ChangeLog before running automake. Automake refuses to run in GNU-mode unless there is a ChangeLog file in the top-level directory. * bootstrap.conf (libtool_force_changelog): Create a dummy ChangeLog. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 8c6e33197e36463cb7fcf5d575a53c3f414ec4ff Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Dec 11 18:31:56 2011 +0700 libtoolize: improve verbose mode output. * libtoolize (func_require_seen_ltdl) (func_require_seen_libtool): Output success message in verbose mode. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 7db681a2696c75dc6c55261ea8fd11f92e42db2b Author: Peter O'Gorman <pe...@pogma.com> Date: Tue Aug 21 21:06:45 2012 -0500 Add the 'n' to then. * m4/libtool.m4: fix typo. Thanks to Brad Smith for pointing it out. commit 59f8a3a6e1a26d501e5865f7611d8828aac5579c Author: Andreas Schwab <sch...@linux-m68k.org> Date: Tue Aug 21 20:17:04 2012 -0500 Pass through -g* so that debugging information is not dropped * ltmain.m4sh (func_mode_link): Pass through -g*. commit f2a640f7e03e5dcf1510833a0e1e4991032b5f96 Author: David Edelsohn <dje....@gmail.com> Date: Tue Aug 21 20:14:55 2012 -0500 AIX PIC shared library support * m4/libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX. commit 90529a55ef40653051730d3c20203fa2ad5e8f7f Author: Brad Smith <b...@comstyle.com> Date: Tue Aug 21 20:12:01 2012 -0500 Update/simplify OpenBSD support * m4/libtool.m4: Forget about 11 year old releases. commit d702946c65b309c389ae717a4d2d6fe158c3ee5f Author: Peter Rosin <p...@lysator.liu.se> Date: Sun Aug 19 22:14:13 2012 +0200 libtool: quote progpath properly Attempt to handle spaces in paths better. * build-aux/ltmain.m4sh (func_mode_install, func_mode_link): Quote $progpath. * THANKS: Update. commit 8392cd263e847a22b2409c35bf03d7c9e68d2cd0 Author: Mike Frysinger <vap...@gentoo.org> Date: Wed Apr 18 23:14:50 2012 -0500 Handle getconf returning "undefined". * m4/libtool.m4: Check for "undefined" from `getconf`. commit 430e782755bbe8061a5e7f9d856b33e3b7da3ac8 Author: Peter Rosin <p...@lysator.liu.se> Date: Sat Mar 17 20:13:53 2012 +0100 bootstrap: delete unneeded README-release patch * gl/top/README-release.diff: Delete. commit d60b4387c178100b0bd3835c61d0f4771330bf6a Author: Peter O'Gorman <pe...@pogma.com> Date: Fri Mar 16 13:23:13 2012 -0500 Fix typo that caused sys_lib_search_path_spec to be wrong. * m4/libtool.m4: s/lt_fooi/lt_foo/. Reported by Paul Seidler <se...@lavabit.com> commit 47a889a4ca2009e2147fa5b2f95baefe1dca8288 Author: Samuel Thibault <samuel.thiba...@gnu.org> Date: Tue Feb 21 08:51:40 2012 -0600 Improve GNU/Hurd support. * m4/libtool.m4: Add gnu* match where it was missing. commit 8f975a1368594126e37d85511f1f96164e466d93 Author: Titus von Boxberg <ti...@v9g.de> Date: Sun Feb 19 15:33:48 2012 -0600 Accept clang's -stdlib linker flag. build-aux/ltmain.m4sh: Don't drop the -stdlib= flag. commit f8a4b90f9a712f47b7627d2cf96eed74825df91f Author: Juergen Reuter <reu...@t00pcx17094.desy.de> Date: Tue Dec 13 19:18:08 2011 +0100 Enable nagfor fortran compiler support * build-aux/ltmain.m4sh: nagfor compatible version string. * m4/libtool.m4: nagfor support. commit b25625e6b25427dba80051b2924060b1e84ea73e Author: Juergen Reuter <reu...@theoc01.desy.de> Date: Wed Feb 1 01:31:11 2012 +0100 Fixing -shared error message for nagfor compiler. * m4/libtool.m4: Fix -shared. commit 3467227ccb6c99f4c2122b9fb3fa67d54b5bd54b Author: Pavel (Pasha) Shamis <sham...@ornl.gov> Date: Sun Feb 19 14:18:19 2012 -0600 Improve debug error reporting in ltdl. * libltdl/ltdl.c: Print the error message if loading fails. commit 8bfac9e3e82646868907aede4ebe4deb158a2e8a Author: Peter O'Gorman <pe...@pogma.com> Date: Sun Feb 19 14:16:52 2012 -0600 Deleted unneeded gitlog-to-changelog patch * gl/build-aux/gitlog-to-changelog.diff: Delete. commit baffe661910947df0dcd5a5bbd6512fc0bce59b9 Author: Peter Rosin <p...@lysator.liu.se> Date: Mon Jan 30 15:49:05 2012 +0100 cwrapper: avoid surplus strlen calculations. * build-aux/ltmain.m4sh (func_emit_cwrapperexe_src:lt_update_exe_path): Avoid surplus strlen calculations. Signed-off-by: Peter Rosin <p...@lysator.liu.se> commit 822881fe3c69ca474b8e13d60243dd9c1a1c3fea Author: Gary V. Vaughan <g...@gnu.org> Date: Sat Dec 24 08:32:47 2011 +0700 bootstrap: fix Autoconf version typo. * build-aux/options-parses: s/2\.62/2.68/ Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit f7f249a0e6b5093b8752f1ba863345bfcd5a237e Author: Gary V. Vaughan <g...@gnu.org> Date: Sat Dec 24 08:30:12 2011 +0700 gnulib: update gnulib submodule. Among others, this fixes the reference to a local commit. * gnulib: Updated to todays master HEAD revision. * gl/top/README-release.diff: Update to account for changes to gnulib/top/README-release since the last gnulib update. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit c03789b8ee33f136d3bbd7f7a111ad863bb4c7e8 Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Dec 18 20:41:10 2011 +0700 libtool: make fork minimisation compatible with dash and zsh. * build-aub/general.m4sh (lt_HAVE_PLUSEQ_OP): Instead of using $((..)) arithmetic, which causes an error on dash, use a case based bash version check. (lt_HAVE_ARITH_OP, lt_HAVE_XSI_OPS): Also short circuit the feature probing forks and set these automatically when zsh is detected. Reported by Stefano Lattarini. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 78385ffd8af73b927549c3596da67233f2f92f0e Author: Gary V. Vaughan <g...@gnu.org> Date: Sun Dec 18 14:32:40 2011 +0700 bootstrap: adopt autoconf echo normalization code. Dash shipped with Ubutu-11.10 as /bin/sh, among others, still has a crippled echo builtin that mis-handles backslashes. * build-aux/options-parser (bs_echo): Adopt the autoconf echo normalization code to find a suitable replacement for buggy echo commands. Adjust all uses of echo to $bs_echo. * build-aux/extract-trace (func_extract_trace, func_main): Likewise. * bootstrap: To retain some execution speed on platforms with buggy builtin echo, replace most occurrences of `echo' with `$bs_echo' - except where its arguments will obviously never contain backslashes or be overly long. Reported by Reuben Thomas. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 7d25536e80b68042a6d999c11a0c5c9dc948f82e Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 17:01:56 2011 +0700 libtool: minimise forks per invocation under bash. * build-aux/general.m4sh (lt_HAVE_PLUSEQ_OP, lt_HAVE_ARITH_OP) (lt_HAVE_XSI_OPS): Set these without forking a test script when running under bash, to avoid a few unnecessary forks. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 7a2a8f32bb83d6b16db8436b530ec5e88fbd0751 Author: H.J. Lu <hongjiu...@intel.com> Date: Mon Dec 12 21:24:14 2011 -0600 Support x32. * m4/libtool.m4 (_LT_ENABLE_LOCK): Support x32. commit c5dec32e37e90ce46813efe7dfe8c5500cc55bbc Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 21:48:03 2011 +0700 maint: disable prohibit_always-defined_macros syntax check. Aside from Apple grep silently failing to run this test and report violations, libtool still uses non-gnulib versions of dirent.h and argz.h which use the same macros, but are not always-defined. * cfg.mk (local-checks-to-fix): Move sc_prohibit_always-defined_macros from here... (local-checks-to-skip): ...to here. Reported by Peter O'Gorman. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit a2445f0fdbeaa72c18a893714e4437ea01faa08a Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 17:38:13 2011 +0700 tests: s/snippit/snippet/. * tests/demo/foo.h, tests/pdemo/foo.h: Spell `snippet' correctly. Reported by Stefano Lattarini. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 0c953ba5cc71bd1de615df28fbf16e27be62244e Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 17:33:28 2011 +0700 tests: make sure file restore traps are called correctly on AIX. * tests/demo-noinst-link.test (func_save_files): set the restore trap outside a function, otherwise AIX 5.3 /bin/sh will run the trap at the end of the function, instead of when the script exits. * tests/demo-relink.test (func_save_files): Ditto. * tests/depdemo-relink.test (func_save_files): Ditto. Reported by Stefano Lattarini. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit f32a760fbd40796be0b7e3be41226a82db1748d4 Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 17:09:02 2011 +0700 bootstrap: put back missing spaces before parens. * bootstrap (func_require_buildreq_autobuild) (func_require_buildreq_automake): Vi's delete word command is too greedy and also eats trailing whitespace before following non-word-chars. Put back the spaces it ate so that syntax-checks pass once again. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit a80878742dfd0f5127c1ddc5f803fab980eb816a Author: Gary V. Vaughan <g...@gnu.org> Date: Sat Nov 19 22:33:16 2011 +0700 libtoolize: refactor copying filter creation. Prevent the various require_filter functions from becoming too long by factoring common code into new functions. * libtoolize (func_make_relative_dir_filter) (func_make_relative_ltdl_filter): New functions. Generalize and consolidate the various similar snippets for concatenating together the sed scripts for func_copy filtering. (require_filter_Makefile_am, require_filter_aclocal_m4) (require_filter_configure_ac): Simplify. (require_ltdl_relative_aux_dir): Remove. (require_ltdl_relative_macro_dir): Ditto. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit d56683630a6415e59f1be7a6540c4733e9671bd8 Author: Gary V. Vaughan <g...@gnu.org> Date: Sat Nov 19 20:54:43 2011 +0700 maint: pick XSI funcs at runtime, not configure time. Determine, on a function by function basis, what XSI features are available in the shell that is actually running the script, rather than the one that was picked at configure time by the re-execution engine. * m4/libtool.m4 (_LT_PROG_FUNCTION_REPLACE) (_LT_PROG_REPLACE_SHELLFNS): Remove. (_LT_CHECK_SHELL_FEATURES): Remove tests for XSI and += support. * build-aux/general.m4sh (func_append, func_append_quoted) (func_arith, func_len, func_basename, func_dirname) (func_dirname_and_basename, func_stripname): List both enhanced and fallback implementations, and choose one based on whether the enhanced features required by the fastest version are available. * build-aux/getopt.m4sh (func_split_short_opt) (func_split_long_opt): Ditto. * build-aux/ltmain.m4sh (func_lo2o, func_xform): Ditto. * tests/getopt-m4sh.at: Add tests for enhanced and fallback implementations of func_arith, func_len, func_stripname and func_dirname_and_basename. * NEWS: Updated. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit ca821436009a93c2e8f3c5ce07ed23d90bbba49e Author: Gary V. Vaughan <g...@gnu.org> Date: Sat Nov 19 18:01:28 2011 +0700 maint: share useful functions from general.m4sh. * build-aux/ltmain.m4sh (func_append, func_append_quoted) (func_arith, func_len): Removed from here... * build-aux/general.m4sh (func_append, func_append_quoted) (func_arith, func_len): ...and added to here. (func_dirname, func_dirname_and_basename, func_normal_abspath) (func_relative_path): Use func_append. * tests/getopt-m4sh.at (_LT_AT_FALLBACK_FUNC_EXTRACT): Removed. Fallback functions are now in any m4sh generated file automatically. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit c7d7e46fbea7d6249680da71ecda1d84bdec858a Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 15:34:27 2011 +0700 libtoolize: reorder function definitions to keep func_filter_* together. * libtoolize: Restore asciibetical order, so that all the filter function definitions are together. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 156a851bc5d758f2d4d7fd89cef678ae72f35e77 Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 15:26:48 2011 +0700 libtoolize: use _filter as a prefix for better ordering. * libtoolize.m4sh (require_Makefile_am_filter) (require_ltdl_mk_filter, require_aclocal_m4_filter) (require_configure_ac_filter): Rename these functions from this... (require_filter_Makefile_am, require_filter_ltdl_mk) (require_filter_aclocal_m4, require_filter_configure_ac): ...to this, respectively. Adjust all callers. (Makefile_am_filter, ltdl_mk_filter, aclocal_m4_filter) (configure_ac_filter): Rename these global variables from this... (filter_Makefile_am, filter_ltdl_mk, filter_aclocal_m4) (filter_configure_ac): ...to this, respectively. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 87c4cffb19cf5ba8dc088e0ad357e5c3d4be2433 Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 15:14:44 2011 +0700 libtoolize: rename ltdl.mk filter function. * libtoolize.m4sh (require_Makefile_inc_filter): Rename from this... (require_ltdl_mk_filter): ...to this. Adjust all callers. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit c5230035e5df31976285bf36141d89236416230d Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 12:24:00 2011 +0700 bootstrap: escape quotes properly in generated functions. * bootstrap: Although not a real bug, for consistency, be sure to correctly escape single quotes inside a single quoted function generator. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit cb4ed2559e89354ea846a686543206d3445ea5ec Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 12:20:47 2011 +0700 bootstrap: reorder function definitions to keep func_buildreq_* together. * bootstrap: Restore asciibetical order, so that all the buildreq function definitions are together. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 9f3cec5b2ec476bd4fd978c1e23398b25d36cd2f Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 12:15:11 2011 +0700 bootstrap: use _buildreq as a prefix for better ordering. * bootstrap (require_autobuild_buildreq) (require_autoconf_buildreq, require_automake_buildreq) (require_autopoint_buildreq, require_libtoolize_buildreq) (require_patch_buildreq): Rename from these... (require_buildreq_autobuild, require_buildreq_autoconf) (require_buildreq_automake, require_buildreq_autopoint) (require_buildreq_libtoolize, require_buildreq_patch): ...to these, respectively. Adjust all callers. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 5f27eeb0a37f15b32ccb1b97b2ed9022f5df9a60 Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 12:08:16 2011 +0700 bootstrap: ensure consistent function header comments. * bootstrap (require_bootstrap_uptodate) (require_buildtools_uptodate): Use `require_...' in header comment for these functions to be consistent with the rest, rather than `func_require_...'. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 013c91874e974543d2f58843c1e839ba102d6ee0 Author: Gary V. Vaughan <g...@gnu.org> Date: Thu Dec 8 11:54:40 2011 +0700 bootstrap: make sure patch is available to bootstrap if necessary. Make sure we're not lacking any functionality provided by the incumbent gnulib bootstrap script, and where it's easy to do so (like it is here), provide better functionality! * bootstrap (require_patch): Make sure that PATCH expands to the best `patch' command available on the system, honouring overrides in the users environment. (require_patch_buildreq): Automatically add a requirement for a patch command to buildreq when there are diff files in $local_gl_dir. (func_require_buildtools_uptodate): Call require_patch_buildreq before testing build tool versions. (func_gnulib_tool_copy_file): Make sure PATCH is set before using gnulib-tool to copy files. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit 006695fed2e9cd10664c97c69880a82545dde1ef Author: Gary V. Vaughan <g...@gnu.org> Date: Sat Nov 26 09:09:59 2011 +0700 maint: Fix generated ChangeLog typos. * build-aux/git-log-fix: Spell Stefano Lattarini's name correctly. Don't use my home email address for GNU commits. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit ff3b32aed7db925a7390d92ffede055b4c8ccf18 Author: Gary V. Vaughan <g...@gnu.org> Date: Mon Nov 21 18:02:23 2011 +0700 syntax-check: fix violations and implement sc_prohibit_sed_s_comma. I like to name temporary directories that I will remove shortly with two leading commas so that they sort lexicographically at the top of `ls' output. Now, `./configure --prefix=`pwd`/,,inst' works again, for the first time in several years. * cfg.mk (sc_prohibit_sed_s_comma): Comma is too common a character to use routinely as the separator for sed substitutions on file paths and other variables determined by the user, causing bugs like the one I describe above. Make sure we don't accidentally reintroduce any comma separators in future. * Makefile.am, bootstrap, bootstrap.conf, build-aux/extract-trace, build-aux/general.m4sh, build-aux/git-hooks/commit-msg, build-aux/git-log-fix, build-aux/ltmain.m4sh, libtoolize.m4sh, m4/libtool.m4, m4/ltdl.m4, tests/cdemo-undef.test, tests/cmdline_wrap.at, tests/darwin.at, tests/defs.m4sh, tests/getopt-m4sh.at, tests/install.at, tests/libtoolize.at, tests/mdemo/Makefile.am, tests/need_lib_prefix.at, tests/sysroot.at, tests/tagdemo-undef.test, tests/testsuite.at: Try to use `|' as the default separator wherever possible, otherwise something else that doesn't occur in the substitution expression. * NEWS: Updated. Signed-off-by: Gary V. Vaughan <g...@gnu.org> commit d43b40113ec1e8289e48d77f00e8947f2fd98fd4 Author: Gary V. Vaughan <g...@gnu.org> Date: Tue Oct 2 09:40:40 2012 +0700 syntax-check: [REDO] fix violations and implement sc_prohibit_test_const_follows_var. To safely use a non-literal fist argument to 'test', you must always prepend a literal non-'-' character, but often the second operand is a constant that doesn't begin with a '-' already, so always use 'test a = "$b"' instead of the noisy 'test "X$b" = Xa'. * cf.mk (sc_prohibit_test_const_follws_var): New syntax-check rule to ensure we don't reintroduce noisy test operands. bootstrap, build-aux/extract-trace, build-aux/general.m4sh, build-aux/ltmain.m4sh, configure.ac, doc/libtool.texi, libtoolize.m4sh, m4/argz.m4, m4/libtool.m4, m4/ltdl.m4, tests/bindir.at, tests/defs.m4sh, tests/demo-relink.test, tests/demo/configure.ac, tests/depdemo-relink.test, tests/destdir.at, tests/duplicate_conv.at, tests/fail.at, tests/getopt-m4sh.at, tests/help.at, tests/libtoolize.at, tests/link-2.test, tests/link-order2.at, tests/lt_dlopenext.at, tests/mdemo/configure.ac, tests/mdemo2/configure.ac, tests/need_lib_prefix.at, tests/nocase.at, tests/pdemo/configure.ac, tests/pic_flag.at, tests/search-path.at, tests/shlibpath.at, tests/static.at, tests/sysroot.at, tests/tagtrace.test, tests/testsuite.at, tests/with-pic.at: Swap operands to avoid useless noise. Signed-off-by: Gary V. Vaughan <g...@gnu.org> ----------------------------------------------------------------------- hooks/post-receive -- GNU Libtool