]> git.ipfire.org Git - thirdparty/systemd.git/commit - Makefile.am
build: colorize gcc only if on tty
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 15 Aug 2014 14:33:03 +0000 (16:33 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 15 Sep 2014 14:08:50 +0000 (16:08 +0200)
commitf44541bc934c6e2b02155559e9eeb17a13a09558
tree25e6ffdd6fd15d5af6cf47ef37fac8e0af48927c
parent20755373b1494f1b718b1ac3a611c6f807905fe6
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.
Makefile.am
configure.ac