bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Zack Weinberg <zackw@panix.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Gnulib bugs <bug-gnulib@gnu.org>,
	Autoconf patches <autoconf-patches@gnu.org>,
	Bruno Haible <bruno@clisp.org>
Subject: Re: AS_IF
Date: Mon, 12 Oct 2020 08:57:50 -0400	[thread overview]
Message-ID: <CAKCAbMhdhPZ27ua=Zn9E5eSHp9J-6sC9P6V1Qn6SFEQ1csFV3w@mail.gmail.com> (raw)
In-Reply-To: <19c35e6d-ea1e-7598-6b8d-ea1d641dc10f@cs.ucla.edu>

On Mon, Oct 12, 2020 at 3:01 AM Paul Eggert <eggert@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


  reply	other threads:[~2020-10-12 12:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29  2:02 grep-3.5 fails to build on Solaris when libsigsegv is installed Bruno Haible
2020-09-29  2:28 ` release process analysis Bruno Haible
2020-09-29  7:00   ` Dagobert Michelsen
2020-09-29 20:56     ` Paul Eggert
2020-09-29 21:10       ` Dagobert Michelsen
2020-09-29 20:56   ` Jeffrey Walton
2020-09-29 22:32     ` Bruno Haible
2020-10-04 23:26 ` grep-3.5 fails to build on Solaris when libsigsegv is installed Paul Eggert
2020-10-04 23:40   ` AS_IF Bruno Haible
2020-10-05  1:50     ` AS_IF Paul Eggert
2020-10-06 21:56       ` AS_IF Bruno Haible
2020-10-07  0:52         ` AS_IF Zack Weinberg
2020-10-12  7:01           ` AS_IF Paul Eggert
2020-10-12 12:57             ` Zack Weinberg [this message]
2020-10-05  8:06   ` grep-3.5 fails to build on Solaris when libsigsegv is installed Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKCAbMhdhPZ27ua=Zn9E5eSHp9J-6sC9P6V1Qn6SFEQ1csFV3w@mail.gmail.com' \
    --to=zackw@panix.com \
    --cc=autoconf-patches@gnu.org \
    --cc=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).