diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-01-20 13:14:00 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-01-20 13:14:00 +0000 |
commit | f82070f9871d281c2802c1624dcf222886b5fb50 (patch) | |
tree | c0e633b0867a4caab39d55b74f8521ecac724520 /extensions/.condition-test | |
parent | 8e707d7c64c53c92a36b6c609b129aba8e51fab7 (diff) |
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 <jengelh@computergmbh.de>
Diffstat (limited to 'extensions/.condition-test')
-rwxr-xr-x | extensions/.condition-test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/.condition-test b/extensions/.condition-test index 20f3bc78..2470a188 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"; |