Hello,
On Wed, Oct 19, 2005 at 09:59:13AM +0200, Ralf Wildenhues wrote:
> Can I assume AC_FOREACH is a stable, public interface?
no. It is declared "obsolete" in Autoconf CVS.
> If not: is there a similar macro I can assume to be public and stable?
I'm not sure. Inside Autoconf tree, I use m4_foreach_w
("w" as "whitespace-sparated" or "words"). But I'm not sure it's the
best possible name.
The definition is
m4_foreach([$1], m4_split(m4_normalize([$2])), [$3])
Paul proposed to use that as a pattern. If you are happy with his
proposal, you can use it.
m4_foreach, m4_split, and m4_normalize are stable; patch documenting
them would be most welcome.
If you are not happy with using the above as a pattern, we can freeze
and document m4_foreach_w, if Paul agrees.
Hope this helps.
Stepan
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf