diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-19 19:19:54 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-19 19:19:54 +0100 |
| commit | f7f958eee739ae1a61859c834ec3531de384fe6f (patch) | |
| tree | 9ce0d6c2686d5d304749fbfcb10f227ec36b9aa6 | |
| parent | 119e935b6f810ba2f9d343fa654e13c173ecb8b5 (diff) | |
| download | monitoring-plugins-f7f958eee739ae1a61859c834ec3531de384fe6f.tar.gz | |
Remove cJSON related part of autoconf, it's just not optional right now
| -rw-r--r-- | configure.ac | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac index e9254566..ef3d26e2 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -188,19 +188,6 @@ if test "$enable_libtap" = "yes" ; then | |||
| 188 | AC_SUBST(EXTRA_PLUGIN_TESTS) | 188 | AC_SUBST(EXTRA_PLUGIN_TESTS) |
| 189 | fi | 189 | fi |
| 190 | 190 | ||
| 191 | dnl JSON capabilities (cjson) | ||
| 192 | AC_ARG_ENABLE([json-output], | ||
| 193 | AC_HELP_STRING([--enable-json-output], | ||
| 194 | [Enables switching the output format to JSON (default: yes)]), | ||
| 195 | [case "${enableval}" in | ||
| 196 | yes) json-ouput=true ;; | ||
| 197 | no) json-ouput=false ;; | ||
| 198 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-json-ouput]) ;; | ||
| 199 | esac], [json_output=true]) | ||
| 200 | |||
| 201 | AM_CONDITIONAL([ENALBE_JSON_OUTPUT], [test x$json_output = xtrue]) | ||
| 202 | |||
| 203 | |||
| 204 | dnl INI Parsing | 191 | dnl INI Parsing |
| 205 | AC_ARG_ENABLE(extra-opts, | 192 | AC_ARG_ENABLE(extra-opts, |
| 206 | AS_HELP_STRING([--enable-extra-opts],[Enables parsing of plugins ini config files for extra options (default: no)]), | 193 | AS_HELP_STRING([--enable-extra-opts],[Enables parsing of plugins ini config files for extra options (default: no)]), |
