On Mon, Oct 12, 2020 at 3:01 AM Paul Eggert <egg...@cs.ucla.edu> wrote: > On 10/6/20 5:52 PM, Zack Weinberg wrote: > > I'm not sure we should say AS_IF/CASE > > are equivalent to plain shell if/case inside an AC_DEFUN; they do do > > more than just make the m4 expansion stack not be empty. > > Yes, that goes a bit too far. I installed the attached doc patch to Savannah > Autoconf master to try to clarify things a bit. I developed this patch before > seeing Bruno's, but it should address the same issues (plus a few more, like > portability of Posix case syntax).
Looks good, thanks. > AS_FOR is kind of a mess. I wouldn't document it the way it is. Perhaps it > could > be cleaned up in some future Autoconf version. Oh, yeah, I see what you mean now. I didn't actually read the definition of AS_FOR before writing that NEWS entry. zw