Report errors when updating configuration files

This commit is contained in:
cypherpunks 2016-12-15 17:02:30 +00:00 committed by Nick Mathewson
parent a1c0ebc3eb
commit b4c95bb42a
2 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
#!/bin/sh
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
opt="-if"
opt="-i -f -W all,error"
for i in $@; do
case "$i" in
-v)
opt=$opt"v"
opt="${opt} -v"
;;
esac
done

View File

@ -11,7 +11,7 @@ AC_CONFIG_MACRO_DIR([m4])
# "foreign" means we don't follow GNU package layout standards
# "1.11" means we require automake version 1.11 or newer
# "subdir-objects" means put .o files in the same directory as the .c files
AM_INIT_AUTOMAKE([foreign 1.11 subdir-objects])
AM_INIT_AUTOMAKE([foreign 1.11 subdir-objects -Wall -Werror])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS([orconfig.h])