diff options
author | Josh ben Jore <jjore@cpan.org> | 2010-02-01 08:05:13 -0800 |
---|---|---|
committer | Josh ben Jore <jjore@cpan.org> | 2010-02-07 12:42:47 -0800 |
commit | 2c0c170a5682dcc9df1a873339af96740b1b0e52 (patch) | |
tree | 476ae92a552753196c5b5ad6c5b875346ad80538 /Configure | |
parent | 761cea1cfc55c559b6225d4c6b64eb223b1733c3 (diff) | |
download | perl-2c0c170a5682dcc9df1a873339af96740b1b0e52.tar.gz |
[perl #72156]: substitute `less -R' for `less' for groff's new usage
of ANSI escape codes by setting $Config{less} (and thereby
$Config{pager}).
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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." |