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>
Thu, 10 Jun 2010 14:56:11 +0000 (07:56 -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 d5d6565c86242a10e5f0c10365375d2b8ba990c4..b0cecaabb276ffbdd34402a5f2312f1c16e81235 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -898,6 +898,7 @@ ifeq ($(uname_S),NetBSD)
        HAVE_PATHS_H = YesPlease
 endif
 ifeq ($(uname_S),AIX)
+       DEFAULT_PAGER = more
        NO_STRCASESTR=YesPlease
        NO_MEMMEM = YesPlease
        NO_MKDTEMP = YesPlease