Paul Eggert wrote:
> > This syntax is not portable in practice, as discussed in the Autoconf
> > manual[1].
> 
> This shouldn't be a issue in configure scripts, since they should 
> arrange to use a good shell.

I confirm: A gnulib testdir created through

  ./gnulib-tool --create-testdir --dir=../testdir \
         --without-tests --conditional-dependencies 
--avoid=libtextstyle-optional

builds fine on Solaris 10, because 'configure' did find a better shell
than /bin/sh (namely, bash) and used that.

So, remember: Shell scripts that use /bin/sh need to make more workarounds
than shell scripts that are able to respawn with a better shell.

Bruno


Reply via email to