Enabled ./install features are now stored in ::ENFEAT.

This commit is contained in:
Elijah Perrault committed 2011-01-25 14:28:23 -07:00
1 parent 13d6add750
commit 2d3c32a040
2 files changed
+10

No files matched your search

+8
View File
@@ -49,6 +49,14 @@ if ($BFOS[0] ne $^O."\n") {
}
undef @BFOS;
# Check build features.
our $ENFEAT;
open(my $BFFEAT, q{<}, "$Bin/../build/feat") or println "Cannot start: Broken build." and exit;
my @BFFEAT = <$BFFEAT>;
close $BFFEAT;
$ENFEAT = substr($BFFEAT[0], 0, length($BFFEAT[0]) - 1);
undef @BFFEAT;
# Check build Perl version.
open(my $BFPERL, q{<}, "$Bin/../build/perl") or println "Cannot start: Broken build." and exit;
my @BFPERL = <$BFPERL>;