mirror of
https://github.com/facebook/zstd.git
synced 2025-07-29 11:21:22 +03:00
2
Makefile
2
Makefile
@ -157,7 +157,7 @@ MKDIR ?= mkdir -p
|
|||||||
|
|
||||||
HAVE_COLORNEVER = $(shell echo a | egrep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
HAVE_COLORNEVER = $(shell echo a | egrep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
||||||
EGREP_OPTIONS ?=
|
EGREP_OPTIONS ?=
|
||||||
ifeq ($HAVE_COLORNEVER, 1)
|
ifeq ($(HAVE_COLORNEVER), 1)
|
||||||
EGREP_OPTIONS += --color=never
|
EGREP_OPTIONS += --color=never
|
||||||
endif
|
endif
|
||||||
EGREP = egrep $(EGREP_OPTIONS)
|
EGREP = egrep $(EGREP_OPTIONS)
|
||||||
|
@ -120,7 +120,7 @@ endif
|
|||||||
|
|
||||||
HAVE_COLORNEVER = $(shell echo a | grep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
HAVE_COLORNEVER = $(shell echo a | grep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
||||||
GREP_OPTIONS ?=
|
GREP_OPTIONS ?=
|
||||||
ifeq ($HAVE_COLORNEVER, 1)
|
ifeq ($(HAVE_COLORNEVER), 1)
|
||||||
GREP_OPTIONS += --color=never
|
GREP_OPTIONS += --color=never
|
||||||
endif
|
endif
|
||||||
GREP = grep $(GREP_OPTIONS)
|
GREP = grep $(GREP_OPTIONS)
|
||||||
|
@ -343,7 +343,7 @@ ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD D
|
|||||||
|
|
||||||
HAVE_COLORNEVER = $(shell echo a | egrep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
HAVE_COLORNEVER = $(shell echo a | egrep --color=never a > /dev/null 2> /dev/null && echo 1 || echo 0)
|
||||||
EGREP_OPTIONS ?=
|
EGREP_OPTIONS ?=
|
||||||
ifeq ($HAVE_COLORNEVER, 1)
|
ifeq ($(HAVE_COLORNEVER), 1)
|
||||||
EGREP_OPTIONS += --color=never
|
EGREP_OPTIONS += --color=never
|
||||||
endif
|
endif
|
||||||
EGREP = egrep $(EGREP_OPTIONS)
|
EGREP = egrep $(EGREP_OPTIONS)
|
||||||
|
Reference in New Issue
Block a user