]> git.pld-linux.org Git - packages/ipset.git/blob - ipset-no_kernel.patch
- Release: 1
[packages/ipset.git] / ipset-no_kernel.patch
1 --- ipset-6.3/configure.ac.orig 2011-04-10 17:25:20.000000000 +0200
2 +++ ipset-6.3/configure.ac      2011-04-15 14:07:22.000000000 +0200
3 @@ -39,27 +39,6 @@
4  else
5         ksourcedir="/lib/modules/$(uname -r)/source"
6  fi
7 -if test ! -e "$ksourcedir/include/linux/netfilter/nfnetlink.h"
8 -then
9 -       AC_MSG_ERROR([Invalid kernel source directory $ksourcedir])
10 -fi
11 -
12 -if test ! -e "$kbuilddir/.config"
13 -then
14 -       AC_MSG_ERROR([The kernel build directory $kbuilddir is not configured])
15 -fi
16 -
17 -AC_PROG_GREP
18 -
19 -if test "X`$GREP '^CONFIG_IP6_NF_IPTABLES=' $kbuilddir/.config`" = "X"
20 -then
21 -       AC_MSG_ERROR([The kernel build directory $kbuilddir is not configured with IP6_NF_IPTABLES support (ip6tables)])
22 -fi
23 -
24 -if test "X`$GREP 'NFNL_SUBSYS_IPSET' $ksourcedir/include/linux/netfilter/nfnetlink.h`" = "X"
25 -then
26 -       AC_MSG_ERROR([The kernel source directory $ksourcedir is not patched with netlink.patch to support ipset])
27 -fi
28  
29  dnl Maximal number of sets supported by the kernel, default 256
30  AC_ARG_WITH([maxsets],
This page took 0.131248 seconds and 3 git commands to generate.