Print this page
make: unifdef for SUNOS4_AND_AFTER (defined)
*** 56,70 ****
void
depvar_add_to_list(Name name, Boolean cmdline)
{
Depvar dv;
- #ifdef SUNOS4_AND_AFTER
dv = ALLOC(Depvar);
- #else
- dv = (Depvar) Malloc(sizeof(struct _Depvar));
- #endif
dv->name = name;
dv->next = NULL;
dv->cmdline = cmdline;
*bpatch = dv;
bpatch = &dv->next;
--- 56,66 ----
*** 85,99 ****
Depvar dv;
for (dv = depvar_list; dv != NULL; dv = dv->next) {
if (name == dv->name) {
#ifdef NSE
- #ifdef SUNOS4_AND_AFTER
if (dv->cmdline) {
- #else
- if (is_true(dv->cmdline)) {
- #endif
nse_dep_cmdmacro(dv->name->string);
}
#endif
variant_deps = true;
break;
--- 81,91 ----
*** 112,126 ****
{
Depvar dv;
for (dv = depvar_list; dv != NULL; dv = dv->next) {
if (name == dv->name) {
- #ifdef SUNOS4_AND_AFTER
if (dv->cmdline) {
- #else
- if (is_true(dv->cmdline)) {
- #endif
nse_rule_cmdmacro(dv->name->string);
}
break;
}
}
--- 104,114 ----