[syslog-ng] [PATCH (3.4) 2/2] configure: Add support for --enable-json.

Balazs Scheidler bazsi at balabit.hu
Sat Mar 31 21:42:00 CEST 2012


Hi,

I've applied all four of these patches, but I've combined them into a
single patch, hopefully I haven't broken it.

Thanks Gergely.

On Mon, 2012-03-26 at 17:48 +0200, Gergely Nagy wrote:
> Signed-off-by: Gergely Nagy <algernon at balabit.hu>
> ---
>  configure.in |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/configure.in b/configure.in
> index d1a6ae1..615c3f1 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -174,6 +174,10 @@ AC_ARG_WITH(json,
>                                           Use the JSON implementation specified]
>                ,,with_json="auto")
>  
> +AC_ARG_ENABLE(json,
> +              [  --disable-json          Disable JSON support (default: auto)],
> +              [case "${enableval}" in yes) with_json="auto";; *) with_json="${enableval}";; esac],with_json="auto")
> +
>  AC_ARG_WITH(libesmtp,
>               AC_HELP_STRING([--with-libesmtp=DIR],
>                              [use libesmtp library from (prefix) directory DIR]),,)

-- 
Bazsi




More information about the syslog-ng mailing list