1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Don't use `-Werror' by default.

* configure.ac (GUILE_ERROR_ON_WARNING): Default to "no".

* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.

* NEWS: Update.
This commit is contained in:
Ludovic Courtès 2009-11-17 23:31:45 +01:00
parent 587cd3bfc9
commit 13922e3fa9
3 changed files with 7 additions and 1 deletions

View 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:

4
NEWS
View file

@ -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.

View 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],