diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 13 |
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) |
| 191 | fi | 191 | fi |
| 192 | 192 | ||
| 193 | dnl JSON capabilities (cjson) | ||
| 194 | AC_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 | |||
| 203 | AM_CONDITIONAL([ENALBE_JSON_OUTPUT], [test x$json_output = xtrue]) | ||
| 204 | |||
| 205 | |||
| 193 | dnl INI Parsing | 206 | dnl INI Parsing |
| 194 | AC_ARG_ENABLE(extra-opts, | 207 | AC_ARG_ENABLE(extra-opts, |
| 195 | AC_HELP_STRING([--enable-extra-opts], | 208 | AC_HELP_STRING([--enable-extra-opts], |
