This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Conditional Library Compilation
- From: Alexandre Duret-Lutz <adl at src dot lip6 dot fr>
- To: "Drummonds, Scott B" <scott dot b dot drummonds at intel dot com>
- Cc: automake at gnu dot org
- Date: Thu, 05 Feb 2004 22:54:05 +0100
- Subject: Re: Conditional Library Compilation
- References: <92E67798C43ECE4691CCEE09662D2698BBD928@scsmsx402.sc.intel.com>
>>> "sbd" == Drummonds, Scott B <scott.b.drummonds@intel.com> writes:
>> That shouldn't matter: $(xxx) are not evaluated when they appear
>> on the rhs of a `=', they are recursively expansed later when
>> used in a rule.
sbd> Are you sure this is right?
Yes, but only in normal conditions, when all variables
definitions occur before the rule definitions. Automake ensures
this... provided it can recognize variable definitions (and as
you now know, 1.4 does not recognize indented variable
definitions).
--
Alexandre Duret-Lutz