Hi Stepan,

* Stepan Kasal wrote on Sat, Jun 04, 2005 at 09:04:17AM CEST:
> On Fri, Jun 03, 2005 at 06:40:49PM +0200, Ralf Corsepius wrote:
> > > If I remove caching from AC_CHECK_PROG and AC_CHECK_TOOL, what
> > > _incompatibility_ would it cause?
> > > Would it break some documented behaviour?
> > Yes, caching. 
> 
> you are right, this is incompatibility.

Yes, I agree with Ralf there.

> But I don't think this would be breaking any documented behaviour,
> as I cannot find any place which says that AC_CHECK_PROGS caches its
> result.  In my quick search, I found only a note that "many checks"
> cache their results.

It _is_ documented, albeit a little implicitly.
  info Autoconf 'Cache Variable Names'
mentions, how the cache names are built, and
  info Autoconf 'Macro Names'
mentions the types, for example `PROG' and `PATH'.
Reading that, plus observing that the corresponding cache names _are_
used would make /me/ innocent user believe they were safe to use.

Regards,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to