Print this page
make: unifdef for MAKETOOL and DISTRIBUTED (undefined)

@@ -1222,15 +1222,11 @@
          * 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;

@@ -1244,16 +1240,11 @@
                         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);