Subject: Re: bug#9848: libtool bootstrap fails with Solaris /bin/sh

From: "Gary V. Vaughan" <[email-masked]>
Date: Sun, 23 Oct 2011 23:31:56 +0700

Hi Bob,

On 23 Oct 2011, at 23:19, Bob Friesenhahn wrote:
> + func_quote_for_eval + : func_quote_for_eval_result=
> + test 0 -gt 0 func_run_hooks_result=
> + set dummy + shift func_options_prep_result=
> + eval func_parse_options + func_parse_options + : func_parse_options_result=
> + test 0 -gt 0 + func_quote_for_eval + : func_quote_for_eval_result=
> + test 0 -gt 0 func_parse_options_result=
> ./bootstrap: bad substitution

Odd.  I took func_quote_for_eval right out of libtool... can you figure out what particular substitution Solaris /bin/sh chokes on?  I guess I broke something when I unrolled the option parsing loop (again, taken directly from libtool) to allow plugging additional parse functions in to the bootstrap execution via bootstrap.conf.

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)