Stepan Kasal <[EMAIL PROTECTED]> writes:
> 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.
I agree, but wouldn't it be better to remove AC_FOREACH rather than
rename it? The whole idea, as I understand it, was to change the
syntax from white-space separation to m4 lists (which are more reliable).
The problem with AC_FOREACH isn't so much its name, as that it makes it
convenient to support the "wrong" convention.
For example, why not simply remove AC_FOREACH, and replace:
[AC_FOREACH([AC_File], [$1],
[_AC_CONFIG_DEPENDENCY(m4_bpatsubst(AC_File, [:], [,]))])dnl
with:
[m4_foreach([AC_File], m4_split(m4_normalize([$1])),
[_AC_CONFIG_DEPENDENCY(m4_bpatsubst(AC_File, [:], [,]))])dnl
and similarly with all other calls to AC_FOREACH?