From: Jeremy Sowden <jeremy@azazel.net>
To: Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: [ulogd2 PATCH 00/10] Add pkg-config support
Date: Thu, 6 Jan 2022 21:09:27 +0000 [thread overview]
Message-ID: <20220106210937.1676554-1-jeremy@azazel.net> (raw)
A number of third-party libraries have added pkg-config support over the
years. This patch-set updates configure to make use it where it is
available. It also fixes some conflicting option definitions and adds
patches that causes configure to fail if a plugin has been explicitly
requested but the related third-party library is not available.
Patch 1: switch from `--with-blah` to `--enable-blah` for output
plugins.
Patches 2-5: use pkg-config for libdbi, mysql, libpcap and libpq if
available.
Patches 6-10: abort configure when an output plugin has been explicitly
enabled, but the related library is not available.
Jeremy Sowden (10):
build: use `--enable-blah` flags for output plugins
build: use pkg-config for libdbi
build: use pkg-config or upstream M4 for mysql
build: use pkg-config or pcap-config for libpcap
build: use pkg-config for libpq if available
build: if `--enable-dbi` is `yes` abort if DBI is not found
build: if `--enable-mysql` is `yes` abort if MySQL is not found
build: if `--enable-pcap` is `yes` abort if libpcap is not found
build: if `--enable-pgsql` is `yes` abort if libpq is not found
build: if `--enable-sqlite3` is `yes` abort if libsqlite3 is not found
acinclude.m4 | 351 ---------------------------------------
configure.ac | 192 +++++++++++++++++----
output/dbi/Makefile.am | 4 +-
output/pgsql/Makefile.am | 4 +-
4 files changed, 161 insertions(+), 390 deletions(-)
delete mode 100644 acinclude.m4
--
2.34.1
next reply other threads:[~2022-01-06 21:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 21:09 Jeremy Sowden [this message]
2022-01-06 21:09 ` [ulogd2 PATCH 01/10] build: use `--enable-blah` flags for output plugins Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 02/10] build: use pkg-config for libdbi Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 03/10] build: use pkg-config or upstream M4 for mysql Jeremy Sowden
2022-01-06 22:15 ` Jan Engelhardt
2022-01-07 0:56 ` Duncan Roe
2022-01-08 17:05 ` Jeremy Sowden
2022-01-08 20:11 ` Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 04/10] build: use pkg-config or pcap-config for libpcap Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 05/10] build: use pkg-config for libpq if available Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 06/10] build: if `--enable-dbi` is `yes` abort if DBI is not found Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 07/10] build: if `--enable-mysql` is `yes` abort if MySQL " Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 08/10] build: if `--enable-pcap` is `yes` abort if libpcap " Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 09/10] build: if `--enable-pgsql` is `yes` abort if libpq " Jeremy Sowden
2022-01-06 21:09 ` [ulogd2 PATCH 10/10] build: if `--enable-sqlite3` is `yes` abort if libsqlite3 " Jeremy Sowden
-- strict thread matches above, loose matches on Subject: below --
2022-01-09 11:57 [ulogd2 PATCH 00/10] Add pkg-config support Jeremy Sowden
2022-01-10 21:25 ` Pablo Neira Ayuso
2022-01-11 12:44 ` Jeremy Sowden
2022-01-11 21:18 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220106210937.1676554-1-jeremy@azazel.net \
--to=jeremy@azazel.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).