In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/2c0c170a5682dcc9df1a873339af96740b1b0e52?hp=761cea1cfc55c559b6225d4c6b64eb223b1733c3>

- Log -----------------------------------------------------------------
commit 2c0c170a5682dcc9df1a873339af96740b1b0e52
Author: Josh ben Jore <jj...@cpan.org>
Date:   Mon Feb 1 08:05:13 2010 -0800

    [perl #72156]: substitute `less -R' for `less' for groff's new usage
    of ANSI escape codes by setting $Config{less} (and thereby
    $Config{pager}).
-----------------------------------------------------------------------

Summary of changes:
 Configure |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Configure b/Configure
index 8d93a33..d9397bf 100755
--- a/Configure
+++ b/Configure
@@ -2438,6 +2438,15 @@ for file in $trylist; do
                ;;
        esac
 done
+case "$less" in
+'')    ;;
+*)     if $less -R </dev/null >/dev/null; then
+               echo "Substituting less -R for less."
+               less="$less -R"
+               _less=$less
+       fi
+       ;;
+esac
 case "$egrep" in
 egrep)
        echo "Substituting grep for egrep."

--
Perl5 Master Repository

Reply via email to