From: Jean-Philippe Orsini Date: Sat, 23 Aug 2014 22:00:35 +0000 (+0200) Subject: json-c must be >= 0.11.99 X-Git-Tag: v1.1.1~6 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=2d1edbb65d80732e071d055edc90b4722d25c10c json-c must be >= 0.11.99 --- diff --git a/README b/README index 46d3280..00d93ab 100644 --- a/README +++ b/README @@ -121,7 +121,7 @@ The compilation of +psensor+ requires: * library libnotify (optional) * library libappindicator (optional) * library libXNVCtrl (optional) - * library json0 and curl (optional, required for remote monitoring) + * library json-c >= 0.11.99 and curl (optional, required for remote monitoring) * library unity (>=v3.4.2, optional) * library gtop2 (optional, required for CPU usage) * library atasmart (optional, for disk monitoring) diff --git a/README.html b/README.html index 45fd05f..a1942e9 100644 --- a/README.html +++ b/README.html @@ -579,7 +579,7 @@ library libXNVCtrl (optional)
  • -library json0 and curl (optional, required for remote monitoring) +library json-c >= 0.11.99 and curl (optional, required for remote monitoring)

  • @@ -681,7 +681,7 @@ have extracted the ATI ADL SDK. Other steps are indentical.


    diff --git a/configure.ac b/configure.ac index 558ee1d..d40a671 100644 --- a/configure.ac +++ b/configure.ac @@ -141,13 +141,13 @@ AC_SUBST(CURL_LIBS) # Check JSON, needed for remote monitoring JSON_LIBS= PKG_CHECK_MODULES(JSON, - json-c, + json-c >= 0.11.99, [AC_DEFINE([HAVE_JSON],[1],[Use JSON])], [AC_MSG_WARN("json-c missing")]) if test "$JSON_LIBS" == ""; then PKG_CHECK_MODULES(JSON, - json, + json >= 0.11.99, [AC_DEFINE([HAVE_JSON],[1],[Use JSON]) AC_DEFINE([HAVE_JSON_0],[1],[Use JSON0])], [AC_MSG_WARN("json0 missing")])