From: Vincent Bernat Date: Mon, 21 Jul 2014 16:01:49 +0000 (+0200) Subject: configure: if --with-json, default to jansson implementation X-Git-Tag: 0.7.10~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71542b4ec7342785089727b85d80eed131004d34;p=thirdparty%2Flldpd.git configure: if --with-json, default to jansson implementation --- diff --git a/configure.ac b/configure.ac index b29a5033..a85d2d15 100644 --- a/configure.ac +++ b/configure.ac @@ -193,6 +193,9 @@ AC_ARG_WITH([json], [--with-json], [Enable JSON output via janson,json-c,no @<:@default=no@:>@] )) +if test x"$with_json" = x"yes"; then + with_json=jansson +fi if test x"$with_json" = x"jansson"; then lldp_CHECK_JANSSON elif test x"$with_json" = x"json-c"; then