configure: Enable colored output for gcc 4.9+
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 9 Mar 2015 01:02:01 +0000 (01:02 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 11 Mar 2015 18:01:36 +0000 (18:01 +0000)
configure

index 0042246..91fa9f2 100755 (executable)
--- a/configure
+++ b/configure
@@ -4486,6 +4486,7 @@ elif enabled gcc; then
     check_cflags -Werror=declaration-after-statement
     check_cflags -Werror=vla
     check_cflags -Werror=format-security
+    check_cflags -fdiagnostics-color=auto
     enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
 elif enabled llvm_gcc; then
     check_cflags -mllvm -stack-alignment=16