X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=m4%2Fpprint.m4;fp=m4%2Fpprint.m4;h=9be4a126ee59adfe61e22eef4807014690370863;hp=e55edb6eb9699966f639b1b1fc11789f353bcc6d;hb=2ddc65227cb92cfca4777eaad6dc9abd609cec26;hpb=e5b2784a600fc88369f51d73666bcf56f83ce33f diff --git a/m4/pprint.m4 b/m4/pprint.m4 index e55edb6e..9be4a126 100644 --- a/m4/pprint.m4 +++ b/m4/pprint.m4 @@ -15,7 +15,7 @@ AC_DEFUN([PPRINT_INIT], [ AC_PATH_PROG([pprint_tput], [tput]) AS_IF([test -n "$pprint_tput"], [ - AS_IF([test -n "$PS1" && test `"$pprint_tput" colors` -eq 256 && test -t 1], [ + AS_IF([test -n "$PS1" && test `"$pprint_tput" colors` -ge 8 && test -t 1], [ # interactive shell and colors supported and standard output # file descriptor is opened on a terminal PPRINT_COLOR_TXTBLK="`"$pprint_tput" setaf 0`"