| 88 | } |
| 89 | |
| 90 | void env_write_dep(FILE *f, const char *autoconfig_name) |
| 91 | { |
| 92 | struct env *e, *tmp; |
| 93 | |
| 94 | list_for_each_entry_safe(e, tmp, &env_list, node) { |
| 95 | fprintf(f, "ifneq \"$(%s)\" \"%s\"\n", e->name, e->value); |
| 96 | fprintf(f, "%s: FORCE\n", autoconfig_name); |
| 97 | fprintf(f, "endif\n"); |
| 98 | env_del(e); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | /* |
| 103 | * Built-in functions |
no test coverage detected