diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2015-11-16 01:15:48 +0200 |
---|---|---|
committer | Alon Bar-Lev <alon.barlev@gmail.com> | 2015-11-16 01:15:50 +0200 |
commit | ce71bf6919b6c1822736d814dd25354a7117f258 (patch) | |
tree | ae53e040642333e26fb9f2deabf9e5d6e453e701 /configure.ac | |
parent | 2d3f9318e603399ea34fd5522de9fa8d47107004 (diff) |
build: move warning to autoconf
all customization/warning/interaction should be at autoconf level
compile time is too late.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ed32a935da..c8a28297d4 100644 --- a/configure.ac +++ b/configure.ac @@ -155,3 +155,6 @@ AC_CONFIG_FILES([ web/Makefile ]) AC_OUTPUT + +test "${with_math}" != "yes" && AC_MSG_WARN([You are building without math. math allows accurate calculations. It should be enabled.]) +test "${with_zlib}" != "yes" && AC_MSG_WARN([You are building without zlib. zlib allows netdata to trasnfer a lot less data with web clients. It should be enabled.]) |