summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0432336b..b12cf6c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,6 +190,19 @@ if test "$enable_libtap" = "yes" ; then
190 AC_SUBST(EXTRA_PLUGIN_TESTS) 190 AC_SUBST(EXTRA_PLUGIN_TESTS)
191fi 191fi
192 192
193dnl JSON capabilities (cjson)
194AC_ARG_ENABLE([json-output],
195 AC_HELP_STRING([--enable-json-output],
196 [Enables switching the output format to JSON (default: yes)]),
197 [case "${enableval}" in
198 yes) json-ouput=true ;;
199 no) json-ouput=false ;;
200 *) AC_MSG_ERROR([bad value ${enableval} for --enable-json-ouput]) ;;
201 esac], [json_output=true])
202
203AM_CONDITIONAL([ENALBE_JSON_OUTPUT], [test x$json_output = xtrue])
204
205
193dnl INI Parsing 206dnl INI Parsing
194AC_ARG_ENABLE(extra-opts, 207AC_ARG_ENABLE(extra-opts,
195 AC_HELP_STRING([--enable-extra-opts], 208 AC_HELP_STRING([--enable-extra-opts],