]> git.ipfire.org Git - thirdparty/ulogd2.git/commit
build: use `--enable-XYZ` options for output plugins
authorJeremy Sowden <jeremy@azazel.net>
Sun, 9 Jan 2022 11:57:44 +0000 (11:57 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 11 Jan 2022 21:15:26 +0000 (22:15 +0100)
commit794f0385ab60fd8c52ff3ce498c8aac78b58ac20
treefb85a6cad76cf4e9e76391dce0408def69d07aad
parent7ce0dea954b4ba8df362e9aa09fd60cfec78840d
build: use `--enable-XYZ` options for output plugins

Currently, we use `AC_ARG_WITH` for output plugins.  However, this is
not consistent with the input plugins, which use `AC_ARG_ENABLE`, and in
some cases (dbi, mysql, pgsql) the macro calls in configure.ac conflict
with others in acinclude.m4.  Use `AC_ARG_ENABLE` instead and change the
name of the option for the JSON plugin from `jansson` to `json`.

Fixes: 51ba7aec8951 ("Fix automagic support of dbi, pcap and sqlite3")
Fixes: c61c05c2d050 ("configure.ac: Add --without-{mysql,pgsql}")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac