json-c must be >= 0.11.99
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 23 Aug 2014 22:00:35 +0000 (00:00 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 23 Aug 2014 22:00:35 +0000 (00:00 +0200)
README
README.html
configure.ac

diff --git a/README b/README
index 46d3280..00d93ab 100644 (file)
--- 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)
index 45fd05f..a1942e9 100644 (file)
@@ -579,7 +579,7 @@ library libXNVCtrl (optional)
 </li>\r
 <li>\r
 <p>\r
-library json0 and curl (optional, required for remote monitoring)\r
+library json-c &gt;= 0.11.99 and curl (optional, required for remote monitoring)\r
 </p>\r
 </li>\r
 <li>\r
@@ -681,7 +681,7 @@ have extracted the ATI ADL SDK. Other steps are indentical.</p></div>
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2014-08-18 08:57:11 CEST\r
+Last updated 2014-08-23 13:50:12 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 558ee1d..d40a671 100644 (file)
@@ -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")])