On 3 November 2014 13:30, Ivan T. Ivanov iivanov@mm-sol.com wrote:
On Mon, 2014-11-03 at 12:09 +0100, Vincent Guittot wrote:
On 24 October 2014 16:45, Ivan T. Ivanov iivanov@mm-sol.com wrote:
configure.ac | 12 ++++++------ src/rt-app_parse_config.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac index afaedd9..50d6f76 100644 --- a/configure.ac +++ b/configure.ac @@ -24,13 +24,13 @@ AS_IF([test "x$with_deadline" != xno], ])
LIBJSON=
AC_CHECK_LIB([json], [json_object_from_file],
[AC_SUBST([LIBJSON], ["-ljson"])
AC_DEFINE([JSON], [1], [Define if you have libjson])
AC_CHECK_LIB([json-c], [json_object_from_file],
[AC_SUBST([LIBJSON], ["-ljson-c"])
AC_DEFINE([JSON], [1], [Define if you have libjson-c]) ],
[AC_MSG_FAILURE([libjson test failed (use --without-json to disable
or install json-c)])],
[-ljson]
)
[AC_MSG_FAILURE([libjson-c test failed (use --without-json-c to
disable or install json-c)])],
[-ljson-c]
)
Could you explain why you want to change from libjson0 to libjson-c ?
Isn't json-c library which was actually used? json-c was the library against which I was able to compile this in buildroot environment.
Personally, i use libjson0 but I haven't tried buildroot. Do you mean that you haven't been able to use libjson0 with buildroot or just that you have only tried libjson-c ?
JSON library probably should not be optional, right?
yes
Regards, Ivan