diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-03 14:32:54 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-03 14:36:42 +0100 |
commit | 975a2afb4c7dbb4ec612e7ae38238bea0d805003 (patch) | |
tree | 554b213e00edc404f48a062ac903d2f6863d96f6 /configure.ac | |
parent | a790fae9ba74c917af37a735167fe9e1106f4dd7 (diff) | |
download | automake-975a2afb4c7dbb4ec612e7ae38238bea0d805003.tar.gz |
build: enable all warnings as fatal in our own build system
Automake should of course be able to bootstrap itself in a
warning-free manner w.r.t. the Autotools. So make any failure
to do so fatal. Not doing so caused the regression fixed by
previous commit 'v1.13.1-22-ga790fae' to go unnoticed.
* configure.ac (AM_INIT_AUTOMAKE): Add '-Werror' and '-Wall'.
* bootstrap.sh: Pass the '-Wall -Werror' options to aclocal,
automake and autoconf invocations.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cea7aaae7..f86af1879 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ AC_SUBST([am_AUTOUPDATE], ["${AUTOUPDATE-autoupdate}"]) dnl We call AC_PROG_CC in an unusual way, and only for use in our dnl testsuite, so also use 'no-dependencies' and 'no-define' among dnl the automake options to avoid bloating and potential problems. -AM_INIT_AUTOMAKE([dist-xz filename-length-max=99 color-tests +AM_INIT_AUTOMAKE([-Wall -Werror dist-xz filename-length-max=99 color-tests no-define no-dependencies]) ## Keep this on a line of its own, since it must be found and processed |