line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::automake; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
262955
|
use strict; |
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
59
|
|
4
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
45
|
|
5
|
2
|
|
|
2
|
|
39
|
use 5.008001; |
|
2
|
|
|
|
|
6
|
|
6
|
2
|
|
|
2
|
|
8
|
use base qw( Alien::Base ); |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
657
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# ABSTRACT: Build or find automake |
9
|
|
|
|
|
|
|
our $VERSION = '0.18'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
my %helper; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
foreach my $command (qw( automake aclocal )) |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
if($^O eq 'MSWin32') |
21
|
|
|
|
|
|
|
{ |
22
|
|
|
|
|
|
|
$helper{$command} = sub { qq{sh -c "$command "\$*"" --} }; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
else |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
$helper{$command} = sub { $command }; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub alien_helper { |
31
|
1
|
|
|
1
|
1
|
15398
|
return \%helper; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |