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

Gergely Nagy algernon at balabit.hu
Mon Mar 26 17:48:28 CEST 2012


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]),,)
-- 
1.7.9




More information about the syslog-ng mailing list