[netfilter-cvslog] r7520 - trunk/iptables/extensions

kaber at trash.net kaber at trash.net
Mon May 12 18:11:23 CEST 2008


Author: kaber at trash.net
Date: 2008-05-12 18:11:23 +0200 (Mon, 12 May 2008)
New Revision: 7520

Modified:
   trunk/iptables/extensions/GNUmakefile.in
Log:
[patch] iptables out-of-tree build directory

Reported by: Henrik Nordstrom

When xtables.h is not already found in /usr/include, compilation
would fail when ${top_srcdir} != ${top_builddir}.


Modified: trunk/iptables/extensions/GNUmakefile.in
===================================================================
--- trunk/iptables/extensions/GNUmakefile.in	2008-05-02 01:15:13 UTC (rev 7519)
+++ trunk/iptables/extensions/GNUmakefile.in	2008-05-12 16:11:23 UTC (rev 7520)
@@ -1,5 +1,7 @@
 # -*- Makefile -*-
 
+top_builddir := @top_builddir@
+builddir     := @builddir@
 top_srcdir  := @top_srcdir@
 srcdir      := @srcdir@
 ksourcedir  := @ksourcedir@
@@ -16,7 +18,7 @@
 regular_CFLAGS := @regular_CFLAGS@
 kinclude_CFLAGS := @kinclude_CFLAGS@
 
-AM_CFLAGS      := ${regular_CFLAGS} -I${top_srcdir}/include ${kinclude_CFLAGS}
+AM_CFLAGS      := ${regular_CFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CFLAGS}
 AM_DEPFLAGS     = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
 
 ifeq (${V},)




More information about the netfilter-cvslog mailing list