summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-01-03 14:42:55 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-01-03 14:42:55 +0100
commite4fc1dad85ab0a6f3f408a2f74059b826457b4dd (patch)
tree8b779e6237697f1c0a5f657106b073e7ffad8683 /bootstrap.sh
parent97d770d69c3522beab5aec18d135d84b3b5eb449 (diff)
parent654324c756210161c61484f754a1df77aa748a78 (diff)
downloadautomake-e4fc1dad85ab0a6f3f408a2f74059b826457b4dd.tar.gz
Merge branch 'maint'
* maint: build: don't enable 'color-tests' automake option explicitly build: enable all warnings as fatal in our own build system texi: Texinfo sources and CLEANFILES definition should co-exist peacefully tests: make two new test executable runtest: better command line API tests: move runtest.in away from the top-lever directory maint: move more maintainer files in the 'maint/' subdir tests: more significant names for some tests maint: add some of my maintainer-specific scripts texi: deprecate hack about info files in CLEANFILES variables texi: info files can be generated in the builddir
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index cc5ec97dc..7704fc11e 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -104,12 +104,13 @@ $PERL ./gen-testsuite-part > t/testsuite-part.tmp
chmod a-w t/testsuite-part.tmp
mv -f t/testsuite-part.tmp t/testsuite-part.am
-# Run the autotools.
+# Run the autotools. Bail out if any warning is triggered.
# Use '-I' here so that our own *.m4 files in m4/ gets included,
# not copied, in aclocal.m4.
-$PERL ./aclocal.tmp -I m4 --automake-acdir m4 --system-acdir m4/acdir
-$AUTOCONF
-$PERL ./automake.tmp
+$PERL ./aclocal.tmp -Wall -Werror -I m4 \
+ --automake-acdir=m4 --system-acdir=m4/acdir
+$AUTOCONF -Wall -Werror
+$PERL ./automake.tmp -Wall -Werror
# Remove temporary files and directories.
rm -rf aclocal-$APIVERSION automake-$APIVERSION