]> git.ipfire.org Git - thirdparty/ipset.git/commit
Optionally disable building the kernel module.
authorMathieu Bridon <bochecha@fedoraproject.org>
Mon, 12 Sep 2011 08:03:23 +0000 (16:03 +0800)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 15 Sep 2011 07:02:33 +0000 (09:02 +0200)
commit70fdf030545f00888bcebb5fca8243a6dccca95b
treea48e2716399c54a8de886f5c94794e662ab9d844
parent2d3816a1be59640eb4be7d58771b24bc72de04cd
Optionally disable building the kernel module.

Distributors (like Fedora) might be interested in including the ipset
tools and libs, but they often don't want to build and ship external
kernel modules, especially if those modules are already included in
their kernel packages.

This patch introduces a new --with-kmod configure option that can be
used to conditionally build the kernel module. The module is still built
by default, to preserve compatibility.

A user who wants to build only the user-space part of ipset can do so by
running the following:

    $ ./autogen.sh
    $ configure --with-kmod=no
    $ make
    # make install

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Makefile.am
configure.ac