From: Florian Forster Date: Thu, 17 Sep 2009 08:12:07 +0000 (+0200) Subject: src/owniptc/Makefile.am: Don't search KERNEL_DIR for headers. X-Git-Tag: collectd-4.7.4~10 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=84014b619d09bd1091724a4086222954e8c2450a src/owniptc/Makefile.am: Don't search KERNEL_DIR for headers. The iptc library is currenly only enabled, if the required headers where found without “-I${KERNEL_DIR}”. Adding it to the CFLAGS when building the shipped version of libiptc just breaks things, for example on “collectd-master-amd64-linux-2.6”: Linux hotdamn 2.6.9-42.ELsmp #1 SMP Tue Aug 15 10:35:26 BST 2006 x86_64 x86_64 x86_64 GNU/Linux --- diff --git a/src/owniptc/Makefile.am b/src/owniptc/Makefile.am index a8ed93cc..d51e9934 100644 --- a/src/owniptc/Makefile.am +++ b/src/owniptc/Makefile.am @@ -8,7 +8,6 @@ endif noinst_LTLIBRARIES = libiptc.la -libiptc_la_CFLAGS = -I$(KERNEL_DIR)/include libiptc_la_SOURCES = libip4tc.c libip6tc.c \ ipt_kernel_headers.h libip6tc.h libiptc.h linux_list.h \ xtables.h libxtc.h