Don't use `-Werror' by default.
authorLudovic Courtès <ludo@gnu.org>
Tue, 17 Nov 2009 22:31:45 +0000 (23:31 +0100)
committerLudovic Courtès <ludo@gnu.org>
Tue, 17 Nov 2009 22:42:40 +0000 (23:42 +0100)
* configure.ac (GUILE_ERROR_ON_WARNING): Default to "no".

* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.

* NEWS: Update.

Makefile.am
NEWS
configure.ac

index 6793299..1ee3e80 100644 (file)
@@ -44,6 +44,8 @@ DISTCLEANFILES = check-guile.log
 # `$(PACKAGE)-$(PACKAGE_VERSION)' by default, which is wrong.)
 distdir = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
 
+DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
+
 dist-hook: gen-ChangeLog
 
 clean-local:
diff --git a/NEWS b/NEWS
index 300f6a8..08dc112 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -149,6 +149,10 @@ procedure. Pass the -Warity-mismatch on the `guile-tools compile'
 command line, or add `#:warnings '(arity-mismatch)' to your `compile'
 or `compile-file' invocation.
 
+** Guile is now built without `-Werror' by default
+
+Use the `--enable-error-on-warning' configure option to enable it.
+
 ** And of course, the usual collection of bugfixes
  
 Interested users should see the ChangeLog for more information.
index 66ac35c..476a73c 100644 (file)
@@ -96,7 +96,7 @@ AC_DEFINE_UNQUOTED([HOST_TYPE], ["$host"],
 #
 #--------------------------------------------------------------------
 
-GUILE_ERROR_ON_WARNING="yes"
+GUILE_ERROR_ON_WARNING="no"
 
 AC_ARG_ENABLE(error-on-warning,
   [  --enable-error-on-warning    treat compile warnings as errors],