]> git.proxmox.com Git - mirror_qemu.git/commit - configure
net: add mmsghdr struct check for L2TPV3
authorGonglei <arei.gonglei@huawei.com>
Tue, 1 Jul 2014 12:58:08 +0000 (20:58 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Jul 2014 16:42:23 +0000 (17:42 +0100)
commit015a33bd05b7fd69f400d4e0e4a9925af9292548
treea1ac8883dc8ccff13eb6e129880f0aab7e2d87a6
parent596742db3341390dfd386ec434165e0118cfc0f8
net: add mmsghdr struct check for L2TPV3

The mmsghdr struct is only introduced in Linux 2.6.32; add a
configure check for it and disable L2TPV3 on hosts which are
too old to provide it, rather than simply failing to compile.

Reported-by: chenliang <chenliang88@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1404219488-11196-1-git-send-email-arei.gonglei@huawei.com
[PMM: cleaned up commit message and corrected kernel version number]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
configure
net/Makefile.objs
net/net.c