Re: AC_FOREACH public?

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

 



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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux