diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 463a70cbbc..7347dac1d5 100644 --- a/configure.ac +++ b/configure.ac @@ -434,6 +434,20 @@ AC_MSG_RESULT([${enable_https}]) AM_CONDITIONAL([ENABLE_HTTPS], [test "${enable_https}" = "yes"]) # ----------------------------------------------------------------------------- +# Exporting engine +AC_MSG_CHECKING([if netdata exporting engine should be used]) +if test "${UV_LIBS}"; then + enable_exporting_engine="yes" + AC_DEFINE([ENABLE_EXPORTING], [1], [netdata exporting engine usability]) + OPTIONAL_UV_CFLAGS="${UV_CFLAGS}" + OPTIONAL_UV_LIBS="${UV_LIBS}" +else + enable_exporting_engine="no" +fi +AC_MSG_RESULT([${enable_exporting_engine}]) +AM_CONDITIONAL([ENABLE_EXPORTING], [test "${enable_exporting_engine}" = "yes"]) + +# ----------------------------------------------------------------------------- # JSON-C test "${enable_jsonc}" = "yes" -a -z "${JSONC_LIBS}" && \ AC_MSG_ERROR([JSON-C required but not found. Try installing 'libjson-c-dev' or 'json-c'.]) |