configure: add --enable-warnings=distcheck

This disables -Werror everywhere but "Linux".
The heuristic is rather crude.
This commit is contained in:
John Hood
2015-09-22 03:50:25 -04:00
parent 5959342ac7
commit 29112b410a
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ SUBDIRS = src scripts man conf
EXTRA_DIST = autogen.sh ocb-license.html README.md COPYING.iOS
BUILT_SOURCES = version.h
CLANG_SCAN_BUILD = scan-build
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-compile-warnings=error --enable-examples
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-compile-warnings=distcheck --enable-examples
.PHONY: VERSION