]> git.0d.be Git - empathy.git/commitdiff
enable coding style checks by default
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 May 2009 13:06:22 +0000 (14:06 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 18 May 2009 14:08:37 +0000 (15:08 +0100)
configure.ac

index 48e41bb5aaeb8f8e2164fe6777f2561d79575fdd..195589190031ea497120e4d93e94d3f46b8c48d4 100644 (file)
@@ -301,6 +301,15 @@ fi
 
 AM_CONDITIONAL(HAVE_PYTHON, test "x$have_python" = "xyes")
 
+# -----------------------------------------------------------
+# Coding style checks
+# -----------------------------------------------------------
+AC_ARG_ENABLE(coding-style-checks,
+  AC_HELP_STRING([--disable-coding-style-checks],
+                 [don't check coding style using grep]),
+    [ENABLE_CODING_STYLE_CHECKS=$enableval], [ENABLE_CODING_STYLE_CHECKS=yes])
+
+AC_SUBST([ENABLE_CODING_STYLE_CHECKS])
 # -----------------------------------------------------------
 
 SHAVE_INIT(.)