On Mon, 2014-11-03 at 12:09 +0100, Vincent Guittot wrote:
> On 24 October 2014 16:45, Ivan T. Ivanov <iiva...@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.

JSON library probably should not be optional, right?

Regards,
Ivan




_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to