On Wed, Jun 30, 2010 at 9:56 AM, John Calcote <[email protected]> wrote:
> On 6/30/2010 3:41 AM, Wesley Smith wrote:
>>> From the automake manual:
>>>
>> You may only test a single variable in an if statement, possibly
>> negated using ‘!’. The else statement may be omitted. Conditionals may
>> be nested to any depth. You may specify an argument to else in which
>> case it must be the negation of the condition used for the current if.
>> Similarly you may specify the condition that is closed on the endif
>> line:
>>
>>      if DEBUG
>>      DBG = debug
>>      else !DEBUG
>>      DBG =
>>      endif !DEBUG
>>
>>
>> What's the purpose of "specifying the condition that is closed"?  I've
>> never seen this kind of construct before.  Is it a substitute for
>> elseif?
>>
>
> Documentation. There may be several dozen lines of code between the if
> and the else. A reader may be wondering... else what?
>
> John
>
>

Does it matter if the endif condition is COND or !COND?

Reply via email to