while (<IN>) {
$lineno++;
+ die("Will not install autogenerated header $src") if (/This file was automatically generated by mkproto.pl. DO NOT EDIT/);
+
if (/^#include \"(.*)\"/) {
print OUT "#include <" . rewrite_include("$src:$lineno", $1) . ">\n";
+ } elsif (/^#if _SAMBA_BUILD_ == 4/) {
+ print OUT "#if 1\n";
} else {
print OUT $_;
}
{
my $p2 = findmap($p);
unless ($p2) {
- warn("Unable to map $p");
- next;
+ die("Unable to map $p");
}
print "Installing $p as $includedir/$p2\n";