Bug#372241: Bug#372179: marked as done (autoconf: AC_CANONICAL_SYSTEM overwrites $@)
On Wed, Jun 14, 2006 at 04:41:56PM +0200, Ralf Wildenhues wrote:
> It may be possible to reorder macro invocations so the expansion of
> APR_PARSE_ARGUMENTS comes before any AC_CANONICAL_*?
... but this is only a temporary workaround, of course, because:
> [...] several macros in Autoconf overwrite the positional
> parameters, not just AC_CANONICAL_SYSTEM. For example,
> AC_CHECK_PROG does, so do some others. [...]
I agree that we should document this limitation. I would document
that any Autoconf macro can change the positional parameters.
There is only one question: should we make the commitment that
AC_INIT leaves the parameters untached or not?
(I don't know the answer.)
Have a nice day,