From 0d0ef5c79805e6a7dc95f82c1cb67be09422b9ed Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Sun, 20 Jan 2008 13:14:00 +0000 Subject: Converts the iptables build infrastructure to autotools. - Can build both static and dynamic at the same time - iptables-static will be a multi-binary, semi-static (link against libc but w/o dynamic plugins) - Always build IPv6 modules - consider INSTALL Signed-off-by: Jan Engelhardt --- extensions/.condition-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extensions/.condition-test') diff --git a/extensions/.condition-test b/extensions/.condition-test index 20f3bc7..2470a18 100755 --- a/extensions/.condition-test +++ b/extensions/.condition-test @@ -1,3 +1,4 @@ #!/bin/sh -# True if condition is applied. -[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_condition.h ] && echo condition +[ "$1" == "provides" -o \ +-f "$KERNEL_DIR/include/linux/netfilter_ipv4/ipt_condition.h" ] && \ +echo "condition"; -- cgit v1.2.3