On Sun, Oct 20, 2013 at 4:01 PM, Paul Eggert <[email protected]> wrote:
> * configure.ac: Don't use unquoted '^' in a pattern, as this
> breaks 'configure' on Solaris 10, whose /bin/sh complains about it,
> which causes 'configure' to exit even before it finds a decent shell.
> Unix 7th edition shell accepted '^' as an alias for '|'.
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 6ce7237..ab7d387 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -43,7 +43,7 @@ fn_grep () {
>    esac
>
>    case $pattern in
> -    [*[].^$\\*[]*]) dnl The outer brackets are for M4.
> +    [*['].^$\*[']*]) dnl The outer brackets are for M4.

Nice one.  Thanks!



Reply via email to