Tue Aug 5 17:49:54 1997 Tom Tromey <tromey@cygnus.com>
+ * automake.in (value_to_list): If variable name contains configure
+ substitution, then just ignore it.
+
* automake.in (variable_defined): Mark variable is seen, even if
only conditionally seen.
local ($varname, $primary);
foreach $varname (keys %contents)
{
- foreach $primary ('_SOURCES', '_LIBADD', '_LDADD', '_LDFLAGS', '_DEPENDENCIES')
+ foreach $primary ('_SOURCES', '_LIBADD', '_LDADD', '_LDFLAGS',
+ '_DEPENDENCIES')
{
if ($varname =~ /$primary$/ && ! $content_seen{$varname})
{
if (/^\$\{([^}]*)\}$/ || /^\$\(([^)]*)\)$/)
{
local ($varname) = $1;
+
+ # If the user uses a losing variable name, just ignore it.
+ # This isn't ideal, but people have requested it.
+ next if ($varname =~ /\@.*\@/);
+
local ($from, $to);
local (@temp_list);
if ($varname =~ /^([^:]*):([^=]*)=(.*)$/)