summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-01-24 16:35:45 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-01-24 16:35:45 +0000
commit5b76f66e79f9bc07241a44c0277d4bbebc08ce20 (patch)
treec6157c644e212b4f09af0f8523a9c65c20b6e055
parentcd4e91c65624062b5504c10b2af0a05aefbf4878 (diff)
downloaddbus-python-5b76f66e79f9bc07241a44c0277d4bbebc08ce20.tar.gz
Remove duplicate -Werror machinery
-rw-r--r--configure.ac8
1 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 25afc43..b7aebfa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,14 +172,6 @@ TP_COMPILER_WARNINGS([CFLAGS_WARNINGS], [test] dbus_python_released [= 0],
JH_ADD_CFLAG([-std=c9x])
JH_ADD_CFLAG([-fno-strict-aliasing])
-AC_ARG_ENABLE(Werror,
-AC_HELP_STRING([--enable-Werror],
- [Treat warnings as errors, if the compiler supports it]),
-enable_Werror=$enableval, enable_Werror=no)
-if test "x$enable_Werror" = xyes; then
- JH_ADD_CFLAG([-Werror])
-fi
-
CFLAGS="$CFLAGS $CFLAGS_WARNINGS"
ifelse(dbus_python_released, 1,