build-sys: enable colored diagnostics if available
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 26 Oct 2013 04:51:05 +0000 (02:51 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 26 Oct 2013 04:54:21 +0000 (02:54 -0200)
configure.ac

index e7416f6..38187a1 100644 (file)
@@ -179,6 +179,7 @@ CC_CHECK_FLAGS_APPEND(with_cflags, [CFLAGS], [\
                       -Wuninitialized \
                       -fno-common \
                       -fdiagnostics-show-option \
+                      -fdiagnostics-color=auto \
                       -fvisibility=hidden \
                       -ffunction-sections \
                       -fdata-sections])