path: root/src
diff options
authorJan Engelhardt <>2010-10-31 00:44:12 +0200
committerJan Engelhardt <>2010-10-31 00:46:35 +0200
commit39db4adb8932166a2fcb1143f512d2e212e6de8b (patch)
treeb9d5e583ec67c558bc2ab13cfb5be0afd6e780cc /src
parent6ef83f8c7ff52adaa6f50fc9017975a379f4c78e (diff)
build: no need for error message in PKG_CHECK_MODULES
PKG_CHECK_MODULES already produces its own (and more verbose) messsage when a module cannot be found. Mucking around with CFLAGS and LIBS is also not needed since pkgconfig takes care of providing variables, so let's use them in Signed-off-by: Jan Engelhardt <>
Diffstat (limited to 'src')
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ b/src/
index 0e9af2e..a85a56f 100644
--- a/src/
+++ b/src/
@@ -7,8 +7,7 @@ CLEANFILES = read_config_yy.c read_config_lex.c
sbin_PROGRAMS = conntrack conntrackd
conntrack_SOURCES = conntrack.c
-conntrack_LDADD = ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/
+conntrack_LDADD = ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ../extensions/ ${LIBNETFILTER_CONNTRACK_LIBS}
conntrackd_SOURCES = alarm.c main.c run.c hash.c queue.c rbtree.c \
local.c log.c mcast.c udp.c netlink.c vector.c \
@@ -28,6 +27,6 @@ conntrackd_SOURCES = alarm.c main.c run.c hash.c queue.c rbtree.c \
# yacc and lex generate dirty code
read_config_yy.o read_config_lex.o: AM_CFLAGS += -Wno-missing-prototypes -Wno-missing-declarations -Wno-implicit-function-declaration -Wno-nested-externs -Wno-undef -Wno-redundant-decls
EXTRA_DIST = read_config_yy.h