summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d08f84c..ca564bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,6 +53,9 @@ m4_foreach_w([WARN],
]
)
+AX_CHECK_COMPILE_FLAG([-fdiagnostics-color=auto],
+ [CFLAGS="${CFLAGS} -fdiagnostics-color=auto"], [], [])
+
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([GTK], [gtk+-3.0])
PKG_CHECK_MODULES([WEBKIT2GTK], [webkit2gtk-4.0])