used.
(cond_stack_endif): Return TRUE if `if' was not used. Do not
display $negate and $cond, they are irrelevant and maybe undefined.
+2003-07-03 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * automake.in (cond_stack_else): Return FALSE if `if' was not
+ used.
+ (cond_stack_endif): Return TRUE if `if' was not used. Do not
+ display $negate and $cond, they are irrelevant and maybe undefined.
+
2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
* lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
if (! @cond_stack)
{
error $where, "else without if";
- return;
+ return FALSE;
}
$cond_stack[$#cond_stack] =
if (! @cond_stack)
{
- error $where, "endif without if: $negate$cond";
- return;
+ error $where, "endif without if";
+ return TRUE;
}
# If $COND is given, check against it.