Code

Makefile: default pager on AIX to "more"
authorJeff King <peff@peff.net>
Thu, 10 Jun 2010 08:59:52 +0000 (04:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jun 2010 16:05:34 +0000 (09:05 -0700)
AIX doesn't ship with "less" by default, and their "more" is
more featureful than average, so the latter is a more
sensible choice.  People who really want less can set the
compile-time option themselves, or users can set $PAGER.

Signed-off-by: Jeff King <peff@peff.net>
Tested-by: Tor Arntsen <tor@spacetec.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 61ad6688a34a2957c074854ba1d1d914b529ea8c..ed4c733c623fc23fc324efe1fa6e58cef63961e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -886,6 +886,7 @@ ifeq ($(uname_S),NetBSD)
        NO_MKSTEMPS = YesPlease
 endif
 ifeq ($(uname_S),AIX)
+       DEFAULT_PAGER = more
        NO_STRCASESTR=YesPlease
        NO_MEMMEM = YesPlease
        NO_MKDTEMP = YesPlease