From: Lennart Poettering Date: Thu, 11 Jul 2013 23:15:52 +0000 (+0200) Subject: build-sys: don't enable color gcc on dumb terminals X-Git-Tag: v206~125 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=cd3069559a09b4e4f85a6f02aa8f0521f48359ca build-sys: don't enable color gcc on dumb terminals Guys, we know that emacs is the best editor on earth, but unfortunately its "M-x compile" terminal cannot do colors (well, it does its own highlighting of the output anyway), and it will inform the programs it calls about this with TERM=dumb, and gcc should check for that. But you guys turned that off. Not cool. Let's turn it on again. --- diff --git a/configure.ac b/configure.ac index 1e196f730..802009efc 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -ffast-math \ -fno-common \ -fdiagnostics-show-option \ - -fdiagnostics-color \ + -fdiagnostics-color=auto \ -fno-strict-aliasing \ -fvisibility=hidden \ -ffunction-sections \