From fb6209a30fd576cd740eefe0a3ad88d65d2bb2b7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 29 Jan 2008 13:32:07 +0000 Subject: Give preference to iptables header files Have the header files in the iptables source tree take precedence over those from the kernel source. Otherwise, building the current iptables from subversion just fails with kernels < 2.6.25. Signed-off-by: Jan Engelhardt --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 17c78a7c..a0f33c62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,10 @@ # -*- Makefile -*- AUTOMAKE_OPTIONS = foreign subdir-objects -AM_CFLAGS = ${regular_CFLAGS} -I${top_srcdir}/include + +regular_CFLAGS := @regular_CFLAGS@ +kinclude_CFLAGS := @kinclude_CFLAGS@ +AM_CFLAGS = ${regular_CFLAGS} -I${top_srcdir}/include ${kinclude_CFLAGS} SUBDIRS := extensions if ENABLE_DEVEL SUBDIRS += libipq -- cgit v1.2.3