From 80077787f8f21da1efd8dc27a4c5767ab47a1df6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 9 Oct 2018 00:03:28 +0200 Subject: src: remove json support We have better json support in libnftables these days. Signed-off-by: Pablo Neira Ayuso --- configure.ac | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index dbb723d..d05532d 100644 --- a/configure.ac +++ b/configure.ac @@ -15,13 +15,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) dnl Dependencies PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3]) -AC_ARG_WITH([json-parsing], - AS_HELP_STRING([--with-json-parsing], [JSON parsing support])) - -AS_IF([test "x$with_json_parsing" = "xyes"], - [PKG_CHECK_MODULES([LIBJSON], [jansson >= 2.3])], - [with_json_parsing="no"] -) AC_PROG_CC AM_PROG_CC_C_O AC_EXEEXT @@ -35,9 +28,6 @@ esac regular_CPPFLAGS="-D_FILE_OFFSET_BITS=64 -D_REENTRANT" -AS_IF([test "x$with_json_parsing" = "xyes"], [ - regular_CPPFLAGS="$regular_CPPFLAGS -DJSON_PARSING" -]) regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \ -Wmissing-prototypes -Wshadow -Wstrict-prototypes \ -Wformat=2 -Wwrite-strings -pipe" @@ -45,7 +35,3 @@ AC_SUBST([regular_CPPFLAGS]) AC_SUBST([regular_CFLAGS]) AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libnftnl/Makefile include/linux/Makefile include/linux/netfilter/Makefile examples/Makefile tests/Makefile libnftnl.pc doxygen.cfg]) AC_OUTPUT - -echo " -libnftnl configuration: - JSON support: ${with_json_parsing}" -- cgit v1.2.3