From dd8c9fe3b1682103dcd8b7632fd01872559c7e56 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 12 May 2015 10:12:16 +0200 Subject: [PATCH] build: enable JSON/XML support automatically by default --- NEWS | 2 +- configure.ac | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index b04b99cb..2840326e 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,7 @@ lldpd (0.7.15) * Features: + Optional features can be configured with "auto" to autodetect if - they are usable. + they are usable. This is the default value for JSON and XML support. lldpd (0.7.14) * Features: diff --git a/configure.ac b/configure.ac index 95a8eab4..8265d570 100644 --- a/configure.ac +++ b/configure.ac @@ -191,18 +191,18 @@ lldp_CHECK_SNMP AC_ARG_WITH([xml], AS_HELP_STRING( [--with-xml], - [Enable XML output via libxml2 @<:@default=no@:>@]), + [Enable XML output via libxml2 @<:@default=auto@:>@]), [], - [with_xml=no]) + [with_xml=auto]) lldp_CHECK_XML2 # JSON AC_ARG_WITH([json], AS_HELP_STRING( [--with-json], - [Enable JSON output via janson,json-c,no @<:@default=no@:>@]), + [Enable JSON output via janson or json-c @<:@default=auto@:>@]), [], - [with_json=no]) + [with_json=auto]) if test x"$with_json" = x"yes" -o x"$with_json" = x"auto"; then _with_json="$with_json" with_json=auto -- 2.39.5