From: Michal Schmidt Date: Fri, 15 Aug 2014 14:33:03 +0000 (+0200) Subject: build: colorize gcc only if on tty X-Git-Tag: v217~580 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f44541bc934c6e2b02155559e9eeb17a13a09558;hp=f44541bc934c6e2b02155559e9eeb17a13a09558 build: colorize gcc only if on tty Rather than forcing gcc to always produce colorized error messages whether on tty or not, enable automatic colorization by ensuring GCC_COLORS is set to a non-empty string. Doing it this way removes the need for workarounds in ~/.emacs or ~/.vimrc for "M-x compile" or ":make", respectively, to work. ---