build: enable all warnings as fatal in our own build system
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 3 Jan 2013 13:32:54 +0000 (14:32 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 3 Jan 2013 13:36:42 +0000 (14:36 +0100)
commit975a2afb4c7dbb4ec612e7ae38238bea0d805003
tree554b213e00edc404f48a062ac903d2f6863d96f6
parenta790fae9ba74c917af37a735167fe9e1106f4dd7
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>
bootstrap.sh
configure.ac