On Feb 15, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
> $ autoconf --trace AC_SUBST:$f:$l:$0:$1
> => configure.in:42:AC_SUBST:prefix
Sounds good to me. But are the `:' separators mandatory, or can we
just choose any expansion to a given macro? For example, we could
make it like this:
autoconf --trace 'AC_SUBST=some-junk $1 some-garbage'
So as to get:
some-junk prefix some-garbage
We could replace the m4trace prefix with define()s of, say, `FILE' and
`LINENO', and leave it up to the user to place FILE or LINENO in the
intended expansion, that, in the example above, would be defined as:
define([AC_SUBST], [some-junk $1 some-garbage])
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me