Module: monitoring-plugins
 Branch: master
 Commit: f7f958eee739ae1a61859c834ec3531de384fe6f
 Author: Lorenz Kästle <12514511+rincewinds...@users.noreply.github.com>
   Date: Wed Feb 19 19:19:54 2025 +0100
    URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=f7f958ee

Remove cJSON related part of autoconf, it's just not optional right now

---

 configure.ac | 13 -------------
 1 file changed, 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
        AC_SUBST(EXTRA_PLUGIN_TESTS)
 fi
 
-dnl JSON capabilities (cjson)
-AC_ARG_ENABLE([json-output],
-       AC_HELP_STRING([--enable-json-output],
-               [Enables switching the output format to JSON (default: yes)]),
-                [case "${enableval}" in
-                       yes) json-ouput=true ;;
-                       no)  json-ouput=false ;;
-                       *) AC_MSG_ERROR([bad value ${enableval} for 
--enable-json-ouput]) ;;
-                esac], [json_output=true])
-
-AM_CONDITIONAL([ENALBE_JSON_OUTPUT], [test x$json_output = xtrue])
-
-
 dnl INI Parsing
 AC_ARG_ENABLE(extra-opts,
   AS_HELP_STRING([--enable-extra-opts],[Enables parsing of plugins ini config 
files for extra options (default: no)]),

Reply via email to