[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Replace AC_FOREACH by m4_foreach_w

From: Stepan Kasal
Subject: Replace AC_FOREACH by m4_foreach_w
Date: Tue, 24 May 2005 09:47:28 +0200
User-agent: Mutt/1.4.1i

  let me remind that AC_FOREACH is like m4_foreach, but it operates
on a whitespace separated list.

Some autoconf macros use m4_foreach, some AC_FOREACH, and the difference
is only in the syntax of the list.  Thus I think the different
``namespaces'' are not justified.

So I  moved it to m4sugar, under the name m4_foreach_w.
(I found one place where it can be used within m4sugar, which is another
proof it belongs there.)

Then I replaced all usages of AC_FOREACH and obsolated AC_FOREACH.
I think this is OK, as AC_FOREACH was never documented.

Patch attached; it passed make check.

OK to commit?

Have a nice day,
Stepan Kasal

Attachment: autoconf-20050524-foreach_w.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]