From: Eric Leblond <eric@regit.org>
To: Victor Julien <victor@inliniac.net>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [Ulog2 PATCH] Exec libmnl config check only if nfacct is enabled
Date: Sun, 12 May 2013 11:58:10 +0200 [thread overview]
Message-ID: <1368352690.22387.23.camel@ice-age.regit.org> (raw)
In-Reply-To: <1365179294-24481-1-git-send-email-victor@inliniac.net>
[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]
Hello,
Le vendredi 05 avril 2013 à 18:28 +0200, Victor Julien a écrit :
> In case nfacct is not enabled in ulogd2, libmnl is not used. So it shouldn't
> be a hard global dependency, but instead only a dependency in case nfacct is
> enabled.
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index c94704b..54a08aa 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -49,7 +49,6 @@ AC_SUBST([regular_CFLAGS])
>
> dnl Check for the right nfnetlink version
> PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 1.0.1])
> -PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
> AC_ARG_ENABLE(nflog,
> AS_HELP_STRING([--enable-nflog], [Enable nflog module [default=yes]]),,[enable_nflog=yes])
> AS_IF([test "x$enable_nflog" = "xyes"], [
> @@ -67,6 +66,7 @@ AM_CONDITIONAL([BUILD_NFCT], [test "x$enable_nfct" = "xyes"])
> AC_ARG_ENABLE(nfacct,
> AS_HELP_STRING([--enable-nfacct], [Enable nfacct module [default=yes]]),,[enable_nfacct=yes])
> AS_IF([test "x$enable_nfacct" = "xyes"], [
> + PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
> PKG_CHECK_MODULES([LIBNETFILTER_ACCT], [libnetfilter_acct >= 1.0.1])
> AC_DEFINE([BUILD_NFACCT], [1], [Building nfacct module])
> ])
It seems fine to me. Applied to my tree. I will pushed it soon.
PS: sorry for the delay
BR,
--
Eric
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
prev parent reply other threads:[~2013-05-12 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 16:28 [Ulog2 PATCH] Exec libmnl config check only if nfacct is enabled Victor Julien
2013-05-12 9:58 ` Eric Leblond [this message]
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=1368352690.22387.23.camel@ice-age.regit.org \
--to=eric@regit.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=victor@inliniac.net \
/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).