Stylize consistently, add more Emacs mode goodness
This commit is contained in:
parent
90a9bed187
commit
471fd2e4e8
11
autogen.sh
11
autogen.sh
@ -16,20 +16,18 @@ sub sanity_checks($)
|
||||
{
|
||||
my $system = shift;
|
||||
my @path = split (':', $ENV{'PATH'});
|
||||
my %required = (
|
||||
my %required =
|
||||
(
|
||||
'pkg-config' => "pkg-config is required to be installed",
|
||||
'autoconf' => "autoconf is required",
|
||||
'aclocal' => "aclocal is required",
|
||||
# 'knurdle' => 'please knurdle me test'
|
||||
);
|
||||
my $exe_ext = '';
|
||||
$exe_ext = ".exe" if ($system =~ m/CYGWIN/);
|
||||
|
||||
for my $elem (@path) {
|
||||
# print "check $elem\n";
|
||||
for my $app (keys %required) {
|
||||
if (-f "$elem/$app$exe_ext") {
|
||||
# print "removing $app - found in $elem/$app\n";
|
||||
delete $required{$app};
|
||||
}
|
||||
}
|
||||
@ -63,8 +61,7 @@ sub read_args($)
|
||||
print " $opt\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
push @lst, $_;
|
||||
}
|
||||
}
|
||||
@ -149,6 +146,8 @@ if (defined $ENV{NOCONFIGURE}) {
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
# mode: perl
|
||||
# cperl-indent-level: 4
|
||||
# tab-width: 4
|
||||
# indent-tabs-mode: nil
|
||||
# End:
|
||||
|
Loading…
x
Reference in New Issue
Block a user