From c69f537cef6f26b2bc0876508212781f6bb53fe7 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Fri, 2 Nov 2012 18:46:22 +0100 Subject: configure: add flag to disable NFACCT build It is now possible to pass the --disable-nfacct flag to disable compilation of NFACCT input plugin. Doing this the build of ulogd is possible on system where nfacct is not available. --- input/sum/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input/sum/Makefile.am') diff --git a/input/sum/Makefile.am b/input/sum/Makefile.am index 33fa849..b6ddb4d 100644 --- a/input/sum/Makefile.am +++ b/input/sum/Makefile.am @@ -1,8 +1,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBNETFILTER_ACCT_CFLAGS) $(LIBMNL_CFLAGS) AM_CFLAGS = ${regular_CFLAGS} - +if BUILD_NFACCT pkglib_LTLIBRARIES = ulogd_inpflow_NFACCT.la - ulogd_inpflow_NFACCT_la_SOURCES = ulogd_inpflow_NFACCT.c ulogd_inpflow_NFACCT_la_LDFLAGS = -avoid-version -module ulogd_inpflow_NFACCT_la_LIBADD = $(LIBMNL_LIBS) $(LIBNETFILTER_ACCT_LIBS) +endif -- cgit v1.2.3