[syslog-ng] [PATCH] tfjson: Support either json-c or json-glib.

Balazs Scheidler bazsi at balabit.hu
Fri May 13 13:11:47 CEST 2011


Hi,

On Sun, 2011-05-08 at 14:55 +0200, Gergely Nagy wrote:
> Add the ability to build the module with either json-c, or json-glib
> (version 0.12 or later). If both are present, we'll prefer json-c.
> 
> Requested-by: Peter Czanik <czanik at balabit.hu>
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>

Thanks Gergely. I've applied to 3.3, with minor changes:
 
  * make it configure-time configurable with --with-json switch
  * don't depend on gobject unless json-glib is used (g_type_init())

My json-glib implementation is too old, so I couldn't test the glib
based implementation.

-- 
Bazsi




More information about the syslog-ng mailing list