2150 |
v = try_variable_definition (0, arg, o_command, 0); |
v = try_variable_definition (0, arg, o_command, 0); |
2151 |
if (v != 0) |
if (v != 0) |
2152 |
{ |
{ |
2153 |
/* It is indeed a variable definition. Record a pointer to |
/* It is indeed a variable definition. If we don't already have this |
2154 |
the variable for later use in define_makeflags. */ |
one, record a pointer to the variable for later use in |
2155 |
struct command_variable *cv |
define_makeflags. */ |
2156 |
= (struct command_variable *) xmalloc (sizeof (*cv)); |
struct command_variable *cv; |
2157 |
cv->variable = v; |
|
2158 |
cv->next = command_variables; |
for (cv = command_variables; cv != 0; cv = cv->next) |
2159 |
command_variables = cv; |
if (cv->variable == v) |
2160 |
|
break; |
2161 |
|
|
2162 |
|
if (! cv) { |
2163 |
|
cv = (struct command_variable *) xmalloc (sizeof (*cv)); |
2164 |
|
cv->variable = v; |
2165 |
|
cv->next = command_variables; |
2166 |
|
command_variables = cv; |
2167 |
|
} |
2168 |
} |
} |
2169 |
else if (! env) |
else if (! env) |
2170 |
{ |
{ |
2915 |
else |
else |
2916 |
printf (_("%s[%u]: Leaving directory `%s'\n"), |
printf (_("%s[%u]: Leaving directory `%s'\n"), |
2917 |
program, makelevel, starting_directory); |
program, makelevel, starting_directory); |
2918 |
|
|
2919 |
|
/* Flush stdout to be sure this comes before any stderr output. */ |
2920 |
|
fflush (stdout); |
2921 |
} |
} |