]> git.ipfire.org Git - thirdparty/ipset.git/commit
configure.ac: Better match for ipv6_skip_exthdr() frag_offp arg presence
authorSerhey Popovych <serhe.popovych@gmail.com>
Fri, 29 Nov 2019 09:21:27 +0000 (11:21 +0200)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Mon, 9 Dec 2019 10:00:03 +0000 (11:00 +0100)
commita1ccbae83744041bddf4038323a3428e8a20ef72
tree6f2b47c3392575b3e86b7551e504c716b879d6f4
parentd2263d22746df101cb63c0293e0646fada46263a
configure.ac: Better match for ipv6_skip_exthdr() frag_offp arg presence

On older kernels (i.e. ones before commit 5c3a0fd7d0fc ("ip*.h: Remove
extern from function prototypes") in upstream since v3.13) we fail to
match number of arguments ipv6_skip_exthdr() correctly. Configure
chooses 3 args, while function has actually 4 args.

This happens because on these kernels tab (\t) is used for intendation
between function result type and function name.

Fix by matching either space for kernels with mentioned change or tab
for older kernels to select number of arguments correctly.

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
configure.ac