autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD /bin/sh 'set' bug


From: Paul Eggert
Subject: Re: FreeBSD /bin/sh 'set' bug
Date: Thu, 27 Apr 2006 15:05:12 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

>       * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
>       /bin/sh set unsorted output.
>       * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
>       * tests/local.at

Thanks for catching that.  The change looks fine, except:

>      esac
> -)dnl
> +) | sort dnl

Please put the "| sort" inside the parentheses, instead of outside,
so that _AC_CACHE_DUMP expands to a single command rather than a pipeline.
This won't make a difference for the current uses of _AC_CACHE_DUMP
but will make it a bit more robust in the presence of future uses.  E.g.:

      esac |
      sort
   )dnl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]