open CF, $ARGV[2] or die "Unable to open $ARGV[2]";
my %options = ();
while (<CF>) {
- /^(CONFIG_\w+)=1/ || next;
+ /^(CONFIG_\w+)=[^0]/ || next;
$options{$1} = 1;
}
close CF;
$empty && next;
$empty = 1;
} else { $empty = 0; }
- print OUT;
+ if (/^#pipe\s+(.+)/) {
+ print OUT `$1`;
+ } else {
+ print OUT;
+ }
}
}
@ifs && die "Unterminated #ifdef";