Do not return undef when a variable is recursively defined, this
causes warnings all over the place. Return the empty string instead.
2003-07-02 Alexandre Duret-Lutz <adl@gnu.org>
+ * lib/Automake/Variable.pm (_traverse_variable_recursively_worker):
+ Do not return undef when a variable is recursively defined, this
+ causes warnings all over the place. Return the empty string instead.
+
* lib/am/distdir.am (distcheck): Protect loop of DIST_ARCHIVES
from empty DIST_ARCHIVES.
if (defined $_vars_scanned{$var})
{
err_var $var, "variable `" . $var->name() . "' recursively defined";
- return undef;
+ return "";
}
$_vars_scanned{$var} = 1;