summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 07bfda1..63b2fa1 100644
--- a/configure.in
+++ b/configure.in
@@ -480,9 +480,12 @@ AC_ARG_ENABLE(debug,
[ --enable-debug enable debugging],,
enable_debug=no)
if test "x$enable_debug" = "xyes"; then
- CFLAGS="$CFLAGS -g -O -Wall"
+ CFLAGS="$CFLAGS -g -O"
fi
+# Warnings are there for a reason
+CFLAGS="$CFLAGS -Wall -Werror"
+
# Use gnome-doc-utils:
GNOME_DOC_INIT([0.9.0])