[gnome-color-manager] Remove -Werror by default for development builds



commit e8e121f4fb887d61d191e60da9594858a0474570
Author: Richard Hughes <richard hughsie com>
Date:   Mon Aug 6 07:40:39 2012 +0100

    Remove -Werror by default for development builds

 configure.ac |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 167d63c..504de78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,17 +22,8 @@ YELP_HELP_INIT
 GNOME_COMPILE_WARNINGS(error)
 GNOME_DOC_INIT
 
-dnl ---------------------------------------------------------------------------
-dnl - Use strict options (default enabled for devs, disabled in releases)
-dnl ---------------------------------------------------------------------------
-if test -d ".git"; then
-	default_strict=yes
-else
-	default_strict=no
-fi
-
 AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict],[Enable strict compilation options]), enable_strict=$enableval,
-					enable_strict=$default_strict)
+					enable_strict=no)
 if test x$enable_strict != xno; then
 	if test "$GCC" = "yes"; then
 		CPPFLAGS="$CPPFLAGS -Werror"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]