bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] avoid new AC_REQUIRE expanded-before-required warnings


From: Ralf Wildenhues
Subject: Re: [PATCH] avoid new AC_REQUIRE expanded-before-required warnings
Date: Mon, 16 Nov 2009 23:39:28 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

* Eric Blake wrote on Mon, Nov 16, 2009 at 07:57:34PM CET:
> Many 
> gnulib macros are one-shot, in that they take no arguments, perform a single 
> idempotent check

that does not rely on when in the configure script the check is
performed, so it could just as well be performed at most any point
earlier than the check that requires it,
(this is important!)

> , and set appropriate shell variables and a cache variable, 
> such that repeating the check would not discover anything different (with the 
> cache variable, the repeated check will not cost much time, but the repeated 
> expansion does cost space in the configure file); so those are good 
> candidates 
> for AC_DEFUN_ONCE.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]