App-rs
view release on metacpan or search on metacpan
$v = $b->{$v} until ref $v or not $v;
$v;
}
};
xsh({'feed-stdin' => 1}, $b->{'pre-configure'}, 'bash') or die 'pre-configure failed.' if $b->{'pre-configure'};
unless ($b->{'no-configure'}) {
local %ENV = %ENV;
xsh(0, qw/autoreconf -iv/) or die 'autoreconf failed.' unless -e 'configure';
my @p;
if ($s->{bootstrap}) {
$ENV{CPPFLAGS} = "-I$s->{prefix}/include" unless $b->{'no-cppflags'};
$ENV{LDFLAGS} = "-L$s->{prefix}/lib -Wl,-I" . linker($s);
}
push @p, "--prefix=$s->{prefix}";
my $e = $b->{environment};
$ENV{$_} = $e->{$_} for keys %$e;
xsh(0, './configure', @{$b->{switch}}, @p,
{to => *STDERR,
from => *STDOUT,
mode => '>'}, qw/| less --quit-on-intr --RAW-CONTROL-CHARS/) or die 'configure failed.';
}
xsh({'feed-stdin' => 1}, $b->{'post-configure'}, 'bash') or die 'post-configure failed.' if $b->{'post-configure'};
( run in 0.378 second using v1.01-cache-2.11-cpan-8d75d55dd25 )