Hi Eric, * Eric Blake wrote on Thu, Mar 17, 2011 at 05:57:48PM CET: > We have an existing use case that argues for unexpanded (automake's > desire to write tests for dummy packages that use arbitrary names that > happen to match m4 builtins that aren't in the m4_ reserved namespace).
Automake would be happy if only this worked AC_INIT([m4@&t@_d@&t@efine]) but it puts a number of extra dashes in PACKAGE_NAME and elsewhere. I'm a bit cautious about your patch as well; AC_INIT is very widely used, by almost every package using Autoconf. There might be some that rely on the current behavior, at least if it has been that way for a long time. (And at some point in the past, the behavior might have been consistent ...) Expanding user macros here can be useful. Cheers, Ralf
