Re: [PATCH 1/4] Add configure flag to disable NFACCT build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2012-11-03 17:01, Eric Leblond wrote:
>> >+AS_IF([test "x$enable_nfacct" = "xyes"], [
>> >+    PKG_CHECK_MODULES([LIBNETFILTER_ACCT], [libnetfilter_acct >= 1.0.1])
>> >+    AC_DEFINE([BUILD_NFACCT], [1], [Building nfacct module])
>> >+])
>> >+AM_CONDITIONAL([BUILD_NFACCT], [test "x$enable_nfacct" = "xyes"])

>> As far as I remember, AM conditionals do not automatically
>> become C macros. Can you check config.h?
>
>Yeah, that's why I've added AC_DEFINE when the module is built.

I completely missed that. Sorry for the noise.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux