diff options
author | cypherpunks <cypherpunks@torproject.org> | 2016-12-15 17:02:30 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-23 10:35:26 -0500 |
commit | b4c95bb42a85d6c620b694d9eb03803ed3b4de2d (patch) | |
tree | 5d8626f260728687e557afcadf4fed3e7c3fccfd | |
parent | a1c0ebc3ebc49924fa38dd4f60d89204208aacc8 (diff) | |
download | tor-b4c95bb42a85d6c620b694d9eb03803ed3b4de2d.tar.gz tor-b4c95bb42a85d6c620b694d9eb03803ed3b4de2d.zip |
Report errors when updating configuration files
-rwxr-xr-x | autogen.sh | 4 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh index 8c43a9798a..276dd4047c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 diff --git a/configure.ac b/configure.ac index 44f7fe675c..3f64e1e666 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) |