summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-12 16:38:34 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-13 12:56:11 +0100
commit3a76832422b241f3fb8341f4357231efd214f5fe (patch)
tree8eadb503bd697a2a55ae8c09892acae550811a57 /tools
parent13a33ce1628ced2b54370dce06dabc5940efdd34 (diff)
downloadtelepathy-glib-3a76832422b241f3fb8341f4357231efd214f5fe.tar.gz
merge the various "fatal warnings or not?" options
I've kept --disable-Werror (it's from a reusable macro for -Werror), but distributors should now use --disable-fatal-warnings to control all the potentially-fatal checks simultaneously. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/check-coding-style.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check-coding-style.mk b/tools/check-coding-style.mk
index 1c0a60f66..f3f74fa4a 100644
--- a/tools/check-coding-style.mk
+++ b/tools/check-coding-style.mk
@@ -10,7 +10,7 @@ check-coding-style:
sh $(top_srcdir)/tools/check-c-style.sh \
$(addprefix $(srcdir)/,$(check_c_sources)) || fail=1; \
fi;\
- if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
+ if test yes = "$(enable_fatal_warnings)"; then \
exit "$$fail";\
else \
exit 0;\