Bug#372241: Bug#372179: marked as done (autoconf: AC_CANONICAL_SYSTEM overwrites $@)
- To: bug-autoconf@gnu.org, Tollef Fog Heen <tfheen@err.no>, James Vega <jamessan@debian.org>, 372241@bugs.debian.org, Ben Pfaff <blp@cs.stanford.edu>
- Subject: Bug#372241: Bug#372179: marked as done (autoconf: AC_CANONICAL_SYSTEM overwrites $@)
- From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
- Date: Thu, 15 Jun 2006 18:34:04 +0200
- Message-id: <[🔎] 20060615163404.GC1961@iam.uni-bonn.de>
- Mail-followup-to: bug-autoconf@gnu.org, Tollef Fog Heen <tfheen@err.no>, James Vega <jamessan@debian.org>, 372241@bugs.debian.org, Ben Pfaff <blp@cs.stanford.edu>
- Reply-to: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>, 372241@bugs.debian.org
- In-reply-to: <[🔎] 20060615161251.GB13444@camelia.ucw.cz>
- References: <87wtbjg90f.fsf@thosu.err.no> <[🔎] 20060608180930.GE5522@abydos.adm.naquadah.org> <handler.372179.D372241.115029181020466.ackdone@bugs.debian.org> <20060614144156.GI27521@iam.uni-bonn.de> <[🔎] 20060615161251.GB13444@camelia.ucw.cz>
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: