Print this page
make: unifdef for MAKETOOL and DISTRIBUTED (undefined)
*** 1222,1236 ****
* environment value each time.
*/
if (macro->body.macro.exported) {
static char *env;
- #ifdef DISTRIBUTED
- if (!reading_environment && (value != NULL)) {
- #else
if (!reading_environment && (value != NULL) && value->dollar) {
- #endif
Envvar p;
for (p = envvar; p != NULL; p = p->next) {
if (p->name == name) {
p->value = value;
--- 1222,1232 ----
*** 1244,1259 ****
p->next = envvar;
p->env_string = NULL;
p->already_put = false;
envvar = p;
found_it:;
- #ifdef DISTRIBUTED
- }
- if (reading_environment || (value == NULL) || !value->dollar) {
- #else
} else {
- #endif
length = 2 + strlen(name->string_mb);
if (value != NULL) {
length += strlen(value->string_mb);
}
Property env_prop = maybe_append_prop(name, env_mem_prop);
--- 1240,1250 ----