From 60c9d4838ff4c9c9af890d6f5a167a9c091067d2 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 24 Apr 2013 13:19:44 +0200 Subject: build: don't use -Werror in AM_INIT_AUTOMAKE Doing so prevents bootstrapping with bleeding-edge autotools, because of harmless deprecation warnings (that are not planned to become hard errors for at least a few years to come). And unfortunately, options in AM_INIT_AUTOMAKE take precedence over those given on the command line (this is a long-time wart of automake). * configure.ac (AM_INIT_AUTOMAKE): Drop '-Werror' option. Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index dc837d6..f078469 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ AM_CONDITIONAL([ENABLE_MERGE], [test "$enableval" != no]) AM_CONDITIONAL([ALPHA_VERSION], [[echo "$PACKAGE_VERSION" | grep -- "-[0-9a-f][0-9a-f]*\\(-dirty\\)\\?$" >/dev/null]]) -AM_INIT_AUTOMAKE([1.11.2 -Wall -Werror gnu dist-bzip2 dist-xz color-tests parallel-tests]) +AM_INIT_AUTOMAKE([1.11.2 -Wall gnu dist-bzip2 dist-xz color-tests parallel-tests]) AM_SILENT_RULES([yes]) AC_CONFIG_HEADER([config.h:config.hin]) -- cgit v1.2.1