Re: [SCM] GNU Libtool branch, master, updated. v2.4.2-141-g4099c12

2011-12-19 Thread Stefano Lattarini
Hi Eric. On 12/19/2011 02:44 PM, Eric Blake wrote: On 12/17/2011 10:22 PM, Gary V. Vaughan wrote: We should try to minimise forks, especially on Windows where they are +# unreasonably slow, so skip the feature probes when bash is being used: +if test set = "${BASH_VERSION+set}"; then +: ${

Re: FYI [PATCH] libtool: minimise forks per invocation under bash.

2011-12-18 Thread Stefano Lattarini
On 12/18/2011 11:07 AM, Gary V. Vaughan wrote: Hi Stefano, On 18 Dec 2011, at 17:02, Stefano Lattarini wrote: On 12/18/2011 10:52 AM, Stefano Lattarini wrote: On 12/18/2011 06:15 AM, Gary V. Vaughan wrote: +# We should try to minimise forks, especially on Windows where they are

Re: FYI [PATCH] libtool: minimise forks per invocation under bash.

2011-12-18 Thread Stefano Lattarini
On 12/18/2011 10:52 AM, Stefano Lattarini wrote: On 12/18/2011 06:15 AM, Gary V. Vaughan wrote: +# We should try to minimise forks, especially on Windows where they are +# unreasonably slow, so skip the feature probes when bash is being used: +if test set = "${BASH_VERSION+set}&q

Re: FYI [PATCH] libtool: minimise forks per invocation under bash.

2011-12-18 Thread Stefano Lattarini
On 12/18/2011 06:15 AM, Gary V. Vaughan wrote: +# We should try to minimise forks, especially on Windows where they are +# unreasonably slow, so skip the feature probes when bash is being used: +if test set = "${BASH_VERSION+set}"; then +: ${lt_HAVE_ARITH_OP="yes"} +: ${lt_HAVE_XSI_OPS="y

Re: [PATCH] libtool: minimise forks per invocation on cygwin and mingw.

2011-12-08 Thread Stefano Lattarini
Hi Eric. On Thursday 08 December 2011, Eric Blake wrote: > > Instead of doing it this way, I'd almost rather see: > > if test "${BASH_VERSION+set}" = set; then > > although if cygwin ever follows debian's lead of using dash for faster > /bin/sh, I'm not sure if there is a reliable forkless way t

Re: [PATCH 01/10] tests: migrate legacy tests/cdemo tests to Autotest.

2011-11-25 Thread Stefano Lattarini
On Friday 25 November 2011, Gary V wrote: > On 25 Nov 2011, at 18:59, Stefano Lattarini wrote: > > On Friday 25 November 2011, Gary V wrote: > >> > >> The best reason I can find for keeping the various demo directories > >> around (despite the fact we alre

Re: [PATCH 01/10] tests: migrate legacy tests/cdemo tests to Autotest.

2011-11-25 Thread Stefano Lattarini
Hi Gary. On Friday 25 November 2011, Gary V wrote: > The best reason I can find for keeping the various demo directories > around (despite the fact we already make use of the much better test > harness of Autotest for all our new test cases) from the last time > I wanted to migrate everything out

Re: [PATCH 02/10] tests: migrate legacy tests/demo tests to Autotest.

2011-11-25 Thread Stefano Lattarini
Only a quick incomplete review ... On Friday 25 November 2011, Gary V wrote: > +{ > +test -n "$objdir" || exit 1 > +$lt_INSTALL -d "$objdir/temp/libs" > +cp -f libhello.la "$objdir/temp" > +cp -f "$objdir"/libhello.* "$objdir/lt-hell$EXEEXT" "$objdir/temp/libs" > +trap "func_re

Re: [PATCH 6/7] syntax-check: fix violations and implement sc_prohibit_test_const_follows_var.

2011-11-22 Thread Stefano Lattarini
On Tuesday 22 November 2011, Eric Blake wrote: > touch =; test -f =; echo $? > This is problematic also with pdksh 5.2.14 on Debian: $ pdksh -c 'touch ./=; test -f =; echo $?' pdksh: test: =: missing second argument 2 and with /bin/sh on OpenBSD 4.6 as well: $ /bin/sh -c 'touch ./=; test

Re: [PATCH 3/7] tests: migrate tests/sh.test checks to syntax-checks.

2011-11-22 Thread Stefano Lattarini
On Tuesday 22 November 2011, Gary V wrote: > Hi Stefano, > > On 22 Nov 2011, at 02:52, Stefano Lattarini wrote: > > Hi Gary. Just a quick nit (I haven't looked at the whole > > series, and not even at the whole patch in fact; sorry). > > No apologies necessary

Re: [PATCH 6/7] syntax-check: fix violations and implement sc_prohibit_test_const_follows_var.

2011-11-22 Thread Stefano Lattarini
[adding bug-autoconf in CC] On Tuesday 22 November 2011, Gary V wrote: > Hi Eric, > > On 22 Nov 2011, at 03:07, Eric Blake wrote: > > > On 11/21/2011 07:47 AM, Gary V. Vaughan wrote: > >> To safely use a non-literal first argument to `test', you must > >> always prepend a literal non-`-' charact

Re: [PATCH 6/7] syntax-check: fix violations and implement sc_prohibit_test_const_follows_var.

2011-11-21 Thread Stefano Lattarini
Hi Gary. Few more random nits... On Monday 21 November 2011, Gary V wrote: > To safely use a non-literal first 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 = "

Re: [PATCH 4/7] syntax-check: fix violations and implement sc_prohibit_bare_basename.

2011-11-21 Thread Stefano Lattarini
Hi Gary. Again, few quick nits here, probably incomplete. On Monday 21 November 2011, Gary V wrote: > * cfg.mk (sc_prohibit_bare_basename, sc_prohibit_basename_with_sed): > Make sure not to go back to using occasional `|$basename' or > `|$dirname' syntax. > * build-aux/general.m4sh, build-aux/git

Re: [PATCH 3/7] tests: migrate tests/sh.test checks to syntax-checks.

2011-11-21 Thread Stefano Lattarini
Hi Gary. Just a quick nit (I haven't looked at the whole series, and not even at the whole patch in fact; sorry). On Monday 21 November 2011, Gary V wrote: > for file > do > - test -f $file || touch $file > + test -f "$file" || touch $file > What's the point of quoting file a

Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check.

2011-11-16 Thread Stefano Lattarini
[adding automake list in CC] Hi Eric. On Wednesday 16 November 2011, Eric Blake wrote: > > > > + - At some point we were supporting some undetermined `broken make', as > > +evidenced by having carried the following code since 2003: > > + > > + ## use @LIBLTDL@ because some broken make

Re: [PATCH 23/25] syntax-check: enable sc_program_name.

2011-11-16 Thread Stefano Lattarini
Hi Gary. On Wednesday 16 November 2011, Gary V wrote: > Hi Stefano, > > Thanks for the review. > > >> > >> # GPL_version: checks for GPLv3, which we don't use > >> -# program_name: libtool has no programs! > >> > > But then, since libtool doesn't offer any "real" program, what is > > the point

Re: [PATCH 23/25] syntax-check: enable sc_program_name.

2011-11-15 Thread Stefano Lattarini
On Tuesday 15 November 2011, Gary V wrote: > * cfg.mk (local-checks-to-skip): Remove sc_program_name > list of disabled checks. > (exclude_file_name_regexp--sc_program_name): Don't check demo > programs for use of set_program_name. > > Signed-off-by: Gary V. Vaughan > --- > cfg.mk |3 +-- >

Re: [PATCH 22/25] syntax-check: enable sc_bindtextdomain.

2011-11-15 Thread Stefano Lattarini
On Tuesday 15 November 2011, Gary V wrote: > * cfg.mk (local-checks-to-skip): Remove sc_bindtextdomain > list of disabled checks. > (exclude_file_name_regexp--sc_program_name): Don't check demo > programs for use of set_program_name. > > Signed-off-by: Gary V. Vaughan > --- > cfg.mk |3 +-- >

Re: [PATCH 22/25] syntax-check: enable sc_bindtextdomain.

2011-11-15 Thread Stefano Lattarini
On Tuesday 15 November 2011, Gary V wrote: > * cfg.mk (local-checks-to-skip): Remove sc_bindtextdomain > list of disabled checks. > (exclude_file_name_regexp--sc_program_name): Don't check demo s|set_program_name|bindtextdomain| here? > programs for use of set_program_name. > And here as well? Re

Re: [PATCH 1/3] maint: rename `libltdl/config' directory to standard `build-aux'.

2011-11-02 Thread Stefano Lattarini
On Wednesday 02 November 2011, Gary V wrote: > Hi Stefano, > > On 1 Nov 2011, at 21:57, Stefano Lattarini wrote: > > Hi Gary, hope you won't mind few nits from an outsider ... > > Absolutely not, any and all feedback is always extremely welcome. Thank you. > &g

Re: [PATCH 2/3] maint: rename `libltdl/m4' directory to standard `m4'.

2011-11-02 Thread Stefano Lattarini
Hi Gary. On Wednesday 02 November 2011, Gary V wrote: > > >> package_revision=`$SHELL $ac_aux_dir/git-version-gen .tarball-version` > >> diff --git a/libltdl/.gitignore b/libltdl/.gitignore > >> index 2f39096..5795dbc 100644 > >> --- a/libltdl/.gitignore > >> +++ b/libltdl/.gitignore > >> @@ -2,5

Re: [PATCH 2/3] maint: rename `libltdl/m4' directory to standard `m4'.

2011-11-01 Thread Stefano Lattarini
On Tuesday 01 November 2011, Gary V wrote: > Similarly to 1/3, full compressed patch attached. 72 hours etc etc. > > * bootstrap.conf (libtool_link_libltdl_subdirs): Add `m4'. > * cfg.mk (exclude_file_name_regexp--sc_prohibit_test_minus_ao): > Adjust path. > * configure.ac (AC_CONFIG_MACRO_DIR): A

Re: [PATCH 1/3] maint: rename `libltdl/config' directory to standard `build-aux'.

2011-11-01 Thread Stefano Lattarini
Hi Gary, hope you won't mind few nits from an outsider ... On Tuesday 01 November 2011, Gary V wrote: > > diff --git a/Makefile.am b/Makefile.am > index d4e25cc..db98870 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -343,9 +343,9 @@ $(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) > #

Re: Make ar-lib support backslashed files in archives. (was [PATCH 0/7] Support for toolchains that are not $host-native.)

2010-09-02 Thread Stefano Lattarini
On Thursday 02 September 2010, Peter Rosin wrote: > It is actually a bug in ar-lib. When you issue > .../ar-lib lib x foo.lib > it runs this loop: > > $AR -NOLOGO -LIST "$archive" | while read member > do > $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? > done > > (w