summaryrefslogtreecommitdiffstats
path: root/input/sum/Makefile.am
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2012-11-02 18:46:22 +0100
committerEric Leblond <eric@regit.org>2012-11-04 08:56:55 +0100
commitc69f537cef6f26b2bc0876508212781f6bb53fe7 (patch)
treeefc9ba9e08f5a853dbafd6b99396aef071ecd401 /input/sum/Makefile.am
parent19b2d83ff631aaca3fe5e2be895cc7256f209a0b (diff)
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.
Diffstat (limited to 'input/sum/Makefile.am')
-rw-r--r--input/sum/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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