From 2d3c32a040d3288fd761e2d6c326bf0c2cc56af4 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Tue, 25 Jan 2011 14:28:23 -0700 Subject: [PATCH] Enabled ./install features are now stored in ::ENFEAT. --- bin/auto | 8 ++++++++ doc/CHANGELOG | 2 ++ 2 files changed, 10 insertions(+) diff --git a/bin/auto b/bin/auto index 243bc97..8396a87 100755 --- a/bin/auto +++ b/bin/auto @@ -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>; diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 72b1e74..4367e83 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -3,6 +3,8 @@ Auto IRC Bot 3.0: Change Log 3.0 Indev ================================================================== + * Enabled ./install features are now stored in $Auto::ENFEAT. + * Added --enable-sasl option to ./install for enabling SASL. * Added names() to API::IRC which sends NAMES. * Parse NAME replies (Numeric:353). * Parse Numeric:005 and store PREFIX's data.