configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d69305b4bdc66e0592af45d4243f483ca446d7a3
Author:     David Tardon <dtar...@redhat.com>
AuthorDate: Thu Jan 27 18:52:17 2022 +0100
Commit:     David Tardon <dtar...@redhat.com>
CommitDate: Thu Jan 27 18:52:17 2022 +0100

    Do not turn on --enable-werror by default
    
    The help string for the option already says that it is "useful for
    development", which implies it is not a good default.
    
    Change-Id: Ic0f3bb0eaefd146ad0e5e87ff97abd821462f1a5

diff --git a/configure.ac b/configure.ac
index a591f45..6a933b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,9 +87,9 @@ AS_IF([test "x$enable_debug" != "xno"], [
 ])
 
 AC_ARG_ENABLE([werror],
-       [AS_HELP_STRING([--disable-werror], [Treat all warnings as errors, 
useful for development])],
+       [AS_HELP_STRING([--enable-werror], [Treat all warnings as errors, 
useful for development])],
        [enable_werror="$enableval"],
-       [enable_werror=yes]
+       [enable_werror=no]
 )
 AS_IF([test x"$enable_werror" != "xno"], [
        CFLAGS="$CFLAGS -Werror"

Reply via email to