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
5 ksourcedir="/lib/modules/$(uname -r)/source"
7 -if test ! -e "$ksourcedir/include/linux/netfilter/nfnetlink.h"
9 - AC_MSG_ERROR([Invalid kernel source directory $ksourcedir])
12 -if test ! -e "$kbuilddir/.config"
14 - AC_MSG_ERROR([The kernel build directory $kbuilddir is not configured])
19 -if test "X`$GREP '^CONFIG_IP6_NF_IPTABLES=' $kbuilddir/.config`" = "X"
21 - AC_MSG_ERROR([The kernel build directory $kbuilddir is not configured with IP6_NF_IPTABLES support (ip6tables)])
24 -if test "X`$GREP 'NFNL_SUBSYS_IPSET' $ksourcedir/include/linux/netfilter/nfnetlink.h`" = "X"
26 - AC_MSG_ERROR([The kernel source directory $ksourcedir is not patched with netlink.patch to support ipset])
29 dnl Maximal number of sets supported by the kernel, default 256
30 AC_ARG_WITH([maxsets],