summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/Configure b/Configure
index 8d93a3316e..d9397bf2ad 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."