]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: enable JSON/XML support automatically by default
authorVincent Bernat <vincent@bernat.im>
Tue, 12 May 2015 08:12:16 +0000 (10:12 +0200)
committerVincent Bernat <vincent@bernat.im>
Tue, 12 May 2015 08:12:49 +0000 (10:12 +0200)
NEWS
configure.ac

diff --git a/NEWS b/NEWS
index b04b99cb6e475ef411002442f37450f39fdbceec..2840326e5b1655f14951b785d9e097e3538ae957 100644 (file)
--- 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:
index 95a8eab45d1bd2159dd6385adaae78215be03497..8265d570c159093dcad76a59f2c4b2fb28b4ba88 100644 (file)
@@ -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