|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 03/12] use a shell function for _AC_LINK_IFELSE |
Date: | Wed, 22 Oct 2008 13:58:28 -0400 |
User-agent: | Thunderbird 2.0.0.17 (Macintosh/20080914) |
I had left the removal of unneeded subshells (which would indeed jump up when the code is moved to shell functions) for later. But since you're at it this one: > (exit $ac_status); }]) in _AC_RUN_LOG_STDERR and _AC_RUN_LOG could also be changed to an ac_func_set_status shell function that does just "return $1". A candidate for m4sh maybe? Or possibly it can also be replaced simply with "test $ac_status != 0", avoiding the zsh bug (even though anyway the buggy shells will be skipped by the better-shell test). Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |