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

Bug#372241: Bug#372179: marked as done (autoconf: AC_CANONICAL_SYSTEM overwrites $@)



Hi Stepan,

* Stepan Kasal wrote on Thu, Jun 15, 2006 at 06:12:51PM CEST:
> > [...] 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.

See here:
http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00065.html

> 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.)

Above change has implicitly made this assumption.  I think it is ok;
we should allow ourselves to change this only when we give the user a
better, documented method to access them (remember that we agreed a
couple of weeks ago not to do this documenting now?).

Cheers,
Ralf



Reply to: