From 2d1edbb65d80732e071d055edc90b4722d25c10c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sun, 24 Aug 2014 00:00:35 +0200 Subject: [PATCH] json-c must be >= 0.11.99 --- README | 2 +- README.html | 4 ++-- configure.ac | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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")]) -- 2.7.4